Bug 232942
| Summary: | Add support for `content: none` on elements | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Antoine Quint <graouts> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | karlcow, sam, sebastianzartner, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar, WPTImpact |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://wpt.live/results/css/css-content/content-none-select-1.html | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=232932 | ||
Antoine Quint
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/85502418>
Karl Dubost
This test is failing because of this.
https://wpt.fyi/results/css/css-content/content-none-select-1.html
https://wpt.live/results/css/css-content/content-none-select-1.html
Karl Dubost
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