<?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>272573</bug_id>
          
          <creation_ts>2024-04-11 23:14:32 -0700</creation_ts>
          <short_desc>Implement case sensitive modifier (s) in attribute selector</short_desc>
          <delta_ts>2026-05-14 04:01: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>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://wpt.live/css/selectors/attribute-selectors/attribute-case/cssom.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar, WPTImpact</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Karl Dubost">karlcow</reporter>
          <assigned_to name="Antti Koivisto">koivisto</assigned_to>
          <cc>koivisto</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2028003</commentid>
    <comment_count>0</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2024-04-11 23:14:32 -0700</bug_when>
    <thetext>While the case insensitive attribute selector parameter is working such as in ol[type=&quot;i&quot; i], 
the case sensitive version is not working such as in:

  ol[type=&quot;i&quot; s] {
    list-style-type: lower-alpha;
    background: lime;
  }

This creates for example SyntaxError in the code when using insertRule on a newly created stylesheet.

sheet.insertRule(&apos;[foo=&quot;bar&quot; s]&apos;, 0) will FAIL. 

See 
http://wpt.live/css/selectors/attribute-selectors/attribute-case/cssom.html
http://wpt.fyi/css/selectors/attribute-selectors/attribute-case/cssom.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2028004</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-04-11 23:14:47 -0700</bug_when>
    <thetext>&lt;rdar://problem/126331481&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2028007</commentid>
    <comment_count>2</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2024-04-11 23:15:43 -0700</bug_when>
    <thetext>https://searchfox.org/wubkat/rev/8ce70fa03821ea1c7a19a3913730ffe6b8a522ed/Source/WebCore/css/CSSStyleRule.cpp#231</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2028022</commentid>
    <comment_count>3</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2024-04-12 00:53:58 -0700</bug_when>
    <thetext>https://searchfox.org/wubkat/rev/8ce70fa03821ea1c7a19a3913730ffe6b8a522ed/Source/WebCore/css/parser/CSSSelectorParser.cpp#972-981</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2028032</commentid>
    <comment_count>4</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2024-04-12 02:16:55 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/27188</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2210821</commentid>
    <comment_count>5</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2026-05-14 01:14:18 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/64914</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2210853</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2026-05-14 04:00:58 -0700</bug_when>
    <thetext>Committed 313234@main (ff2f768ad68a): &lt;https://commits.webkit.org/313234@main&gt;

Reviewed commits have been landed. Closing PR #64914 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>