urlyman, I’ve been avoiding
display:contents
because of all the problems people like @aardrian and @eric have written about.But, coincident with this post yesterday – https://mastodon.social/@urlyman/112449897977897437 – I actually had a need to use it for a non-public facing thing.
HOWEVER…
TIL that in Firefox it completely breaks the anchoring effect of an id attribute attached to an element.
Put differently, a link to an element with
display: contents
DOES NOT WORK 🤦♂️
Add comment