Re: [csswg-drafts] [css-content] Implementing content:none on elements is not web-compatible (#6503)

> The [current spec](https://drafts.csswg.org/css-content/#valdef-content-none) says:
> 
> > `none`
> 
> >    On elements, this inhibits the children of the element from being rendered as children of this element, as if the element was empty.
> 
> 
> 
> We implemented that in Gecko ([bug 1699964](https://bugzilla.mozilla.org/show_bug.cgi?id=1699964)) but sadly it broke a bunch of sites so we had to disable it for now ([bug 1719239](https://bugzilla.mozilla.org/show_bug.cgi?id=1719239)).
> 
> 
> 
> So the spec needs to say that `none` has no effect on elements (what all UAs currently implement AFAIK).
> 
> If we want to retain this feature, then we need a new keyword for it (`children-none` or whatever).
> 
> 
> 
> CC @emilio 



-- 
GitHub Notification of comment by ellenmartin22
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6503#issuecomment-971357414 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 17 November 2021 08:40:27 UTC