Bug 232942 - Add support for `content: none` on elements
Summary: Add support for `content: none` on elements
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-11-10 06:45 PST by Antoine Quint
Modified: 2023-05-01 23:49 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>