I know it in the spec stylesheets but why was this made like this?
EDIT:
If anyone is wondering what I am talking about read more from the spec stylesheets
After May 2025 this styling is removed.
To fix this follow Moziilla’s web docs. It shows how to consistently size headings for old browsers.
I’ve never experienced H2 to be larger than H1 in such usage, but rather the same size. Are you sure there aren’t any CSS affecting your result?
From a stackoverflow reply:
Thank you!