If it were cold, and there was no petrol vapour above the petrol, then the match would just drop into the liquid petrol, and, as it would be submerged and starved of oxygen, it would go out.
However, if it was warmer, and there was enough petrol vapour in the air above the liquid petrol, then the match would ignite the petrol vapour, and it would go boom.
Comments