[css-content] Implement 'content: none' for elements
Categories
(Core :: Layout, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox91 | --- | fixed |
People
(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete)
Attachments
(2 files)
https://drafts.csswg.org/css-content/#valdef-content-none
On elements, this inhibits the children of the element from being rendered as children of this element, as if the element was empty.
...
In neither case does it prevent any pseudo-elements which have this element or pseudo-element as an originating element from being generated.
Assignee | ||
Comment 1•4 years ago
|
||
Depends on D111707
Comment 2•4 years ago
|
||
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:mats, could you have a look please?
For more information, please visit auto_nag documentation.
Updated•4 years ago
|
Comment 3•4 years ago
|
||
Once landed, this should be documented at https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Experimental_features#css.
Sebastian
Assignee | ||
Comment 4•4 years ago
|
||
Comment 7•4 years ago
|
||
bugherder |
Comment 9•4 years ago
|
||
Comment 10•4 years ago
|
||
Comment 11•4 years ago
|
||
bugherder |
Comment 12•4 years ago
|
||
Once the PRs are merged this will be added to Experimental features and to BCD.
Assignee | ||
Comment 13•4 years ago
|
||
FYI, this feature was disabled in bug 1719239 due to web-compat issues.
Filed spec issue: https://github.com/w3c/csswg-drafts/issues/6503
Description
•