@yetzt I saw a video on this site at one point. IIRC it worked in all the browsers because back then the default heading styles were fixed font sizes and they assumed the heading ended at the end of the line. More recent browsers apparently do them relative to the previous size so you have the rapid expansion.
@peter