<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>232942</bug_id>
          
          <creation_ts>2021-11-10 06:45:10 -0800</creation_ts>
          <short_desc>Add support for `content: none` on elements</short_desc>
          <delta_ts>2025-06-11 20:07:14 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=232932</see_also>
          <bug_file_loc>https://wpt.live/results/css/css-content/content-none-select-1.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, WPTImpact</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Antoine Quint">graouts</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>karlcow</cc>
    
    <cc>sam</cc>
    
    <cc>sebastianzartner</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1813583</commentid>
    <comment_count>0</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2021-11-10 06:45:10 -0800</bug_when>
    <thetext>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:

&gt; 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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1815913</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-11-17 06:46:23 -0800</bug_when>
    <thetext>&lt;rdar://problem/85502418&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2123172</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2025-06-11 19:56:40 -0700</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2123174</commentid>
    <comment_count>3</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2025-06-11 20:07:14 -0700</bug_when>
    <thetext>data:text/html,&lt;select class=&quot;&quot; style=&quot;content:none;&quot;&gt;&lt;option&gt;FAIL&lt;/option&gt;&lt;option&gt;FAIL&lt;/option&gt;&lt;/select&gt;

FAIL should disappear.

Safari, Chrome: FAIL visible
Firefox: FAIL NOT visible</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>