It is fun when some browsers style things differently based on the presence of an HTML comment between two text nodes.
It is fun when some browsers style things differently based on the presence of an HTML comment between two text nodes. 3 comments
@AmeliaBR Text-decoration :) There are some wpt tests, but they're not covering all the issues; I need to find time to update them with what I stumbled upon. @kizu another fun fact, chrome styles <h1> smaller when it is inside an <article>, <section>, <aside>, or <nav>. |
@kizu Ooohhh, that's interesting (/worrisome). What specifically are we talking about? Different whitespace collapsing or text wrapping? Or are some browsers treating the text nodes on either side as separate objects for flex/grid layout on the parent?