NEW232942
Add support for `content: none` on elements
https://bugs.webkit.org/show_bug.cgi?id=232942
Summary Add support for `content: none` on elements
Antoine Quint
Reported 2021-11-10 06:45:10 PST
The CSS Generated Content Module Level 3 spec introduces the notion of `content: none` on elements, see 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. We should implement this behavior which Firefox 91 and up support behind a flag.
Attachments
Radar WebKit Bug Importer
Comment 1 2021-11-17 06:46:23 PST
Karl Dubost
Comment 3 2025-06-11 20:07:14 PDT
data:text/html,<select class="" style="content:none;"><option>FAIL</option><option>FAIL</option></select> FAIL should disappear. Safari, Chrome: FAIL visible Firefox: FAIL NOT visible
Note You need to log in before you can comment on or make changes to this bug.