Email or username:

Password:

Forgot your password?
Roma Komarov

It is fun when some browsers style things differently based on the presence of an HTML comment between two text nodes.

3 comments
Amelia Bellamy-Royds

@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?

Roma Komarov

@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.

Mike-麥-Mai-v1.618 😎

@kizu another fun fact, chrome styles <h1> smaller when it is inside an <article>, <section>, <aside>, or <nav>.

Go Up