- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 11 Aug 2021 16:11:37 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `content:none`, and agreed to the following: * `RESOLVED: spec content:none as having no effect on elements` <details><summary>The full IRC log of that discussion</summary> <fantasai> Topic: content:none<br> <Rossen_> github: https://github.com/w3c/csswg-drafts/issues/6503<br> <fantasai> emilio: We implemented it, broke tons of sites<br> <fantasai> emilio: We should at least fix the spec to say that content:none has no effect on non-pseudo elements<br> <fantasai> emilio: It's a bummer because 'content' does have effects on some elements<br> <fantasai> emilio: We could add another value to the content property to represent that behavior<br> <fantasai> Rossen_: how broken?<br> <fantasai> emilio: content:none suppresses boxes for children of element<br> <fantasai> emilio: sites were specifying it on a bunch of stuff using e.g. * { content:none; }<br> <fantasai> emilio: initial value is normal<br> <fantasai> florian: I wouldn't have expected it to be Web-compatible, has been a no-op for a long time, so mistakenly applied in lots of places<br> <fantasai> emilio: any objection to change the spec to match reality?<br> <fantasai> emilio: other question is should we add a new value<br> <Rossen_> q?<br> <Rossen_> ack fantasai<br> <florian> fantasai: we should spec it<br> <florian> fantasai: if we need a new keyword, I'd suggest "empty"<br> <florian> fantasai: not too sure what the use cases are though<br> <fantasai> Rossen_: any other comments?<br> <fantasai> emilio: not sure we should even add the keyword, we implemented for completeness<br> <rachelandrew> it would be interesting to see if authors have use cases<br> <fantasai> ??: I think there could be some interesting cases for having the box but not its contents<br> <bradk> That was me<br> <astearns> s/??/bradk/<br> <TabAtkins> we can just leave the discussion out of this issue for now, and open a fresh issue arguing for adding this new keyword<br> <fantasai> emilio: also interesting question about interaction with content-visibility:hidden<br> <TabAtkins> no reason to tie it to this discussion<br> <astearns> +1 to new issue for use cases<br> <fantasai> bradk: maybe ask authors<br> <emilio> +1<br> <fantasai> Rossen_: ok, let's deal with that in a separate issue<br> <fantasai> RESOLVED: spec content:none as having no effect on elements<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6503#issuecomment-896958909 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 11 August 2021 16:11:38 UTC