Bug 232942

Summary: Add support for `content: none` on elements
Product: WebKit Reporter: Antoine Quint <graouts>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: sebastianzartner, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=232932

Description Antoine Quint 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.
Comment 1 Radar WebKit Bug Importer 2021-11-17 06:46:23 PST
<rdar://problem/85502418>