<?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>254682</bug_id>
          
          <creation_ts>2023-03-29 12:52:12 -0700</creation_ts>
          <short_desc>[css-conditional] Some pseudo-elements should be known in @supports selector()</short_desc>
          <delta_ts>2023-03-29 19:42:00 -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>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>241847</dup_id>
          
          <bug_file_loc>https://wpt.fyi/results/css/css-conditional/at-supports-047.html?label=master&amp;label=experimental&amp;aligned&amp;q=css%2Fcss-conditional%2Fat-supports-047.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Nguyen (:ntim)">ntim</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jh718.park</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1945082</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2023-03-29 12:52:12 -0700</bug_when>
    <thetext>See LayoutTests/imported/w3c/web-platform-tests/css/css-conditional/at-supports-047.html

We fail to parse `@supports selector(input::placeholder)`

http://wpt.live/css/css-conditional/at-supports-047.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1945089</commentid>
    <comment_count>1</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2023-03-29 13:20:23 -0700</bug_when>
    <thetext>So we reject ::placeholder/::file-selector-button (which do fall under CSSSelector::PseudoElementWebKitCustom) in:

https://searchfox.org/wubkat/rev/4c1d077ec985eb840a20e5ffb65eb2b73fb89d31/Source/WebCore/css/parser/CSSSelectorParser.cpp#182

We probably shouldn&apos;t do this. Joonghun, do you have some context around this?

Do we want to reject PseudoElementWebKitCustomLegacyPrefixed instead? or simply stop rejecting anything that&apos;s parsable?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1945227</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2023-03-29 19:31:46 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 241847 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1945230</commentid>
    <comment_count>3</comment_count>
    <who name="Joonghun Park">jh718.park</who>
    <bug_when>2023-03-29 19:42:00 -0700</bug_when>
    <thetext>(In reply to Tim Nguyen (:ntim) from comment #1)
&gt; So we reject ::placeholder/::file-selector-button (which do fall under
&gt; CSSSelector::PseudoElementWebKitCustom) in:
&gt; 
&gt; https://searchfox.org/wubkat/rev/4c1d077ec985eb840a20e5ffb65eb2b73fb89d31/
&gt; Source/WebCore/css/parser/CSSSelectorParser.cpp#182
&gt; 
&gt; We probably shouldn&apos;t do this. Joonghun, do you have some context around
&gt; this?
&gt; 
&gt; Do we want to reject PseudoElementWebKitCustomLegacyPrefixed instead? or
&gt; simply stop rejecting anything that&apos;s parsable?

It seems that I need to look into the related codes in detail to recall.
I will check on it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>