They use different energy arrangements, but ignition and safety controls may still require electricity. Do not assume the hob can be lit by an alternative method.
What the observation means
A gas flame and an electric oven are not useful direct tests of each other's supply. The exact cooker instructions determine what is permitted during an outage.
A useful next step
Follow the manual and avoid improvised lighting procedures. After power returns, check ordinary clock and timer requirements. Report which functions remain affected. A gas smell or failed ignition needs the appropriate gas-safety response, not repeated attempts while waiting for the display to recover.
Manuals and supporting guidance
Model-specific instructions take priority. These references support the practical principles discussed here; they do not diagnose your appliance.