News for hackers. Stuff that matters.
Re:A sewing page that never closed its font size HTML tags by tdeck on Thursday August 05, 2021 @01:16AM (#28070143)
It's because some browsers close the currently open heading tag when they encounter a new one (since these tags can't be nested) and others do not. Since the text size is applied as an H3 style and is relative to the parent, the nesting of these tags (or not) determines whether the effect of the style is cumulative.
Re:A sewing page that never closed its font size HTML tags by gpvos on Tuesday August 17, 2021 @02:45PM (#28213372)
If I understand the other arguments correctly, IE also saw them as nested, but defined the text size of h[1-6] elements as absolute, not relative.