Bug 272573

Summary: Implement case sensitive modifier (s) in attribute selector
Product: WebKit Reporter: Karl Dubost <karlcow>
Component: CSSAssignee: Antti Koivisto <koivisto>
Status: RESOLVED FIXED    
Severity: Normal CC: koivisto, webkit-bug-importer
Priority: P2 Keywords: BrowserCompat, InRadar, WPTImpact
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
URL: http://wpt.live/css/selectors/attribute-selectors/attribute-case/cssom.html

Karl Dubost
Reported 2024-04-11 23:14:32 PDT
While the case insensitive attribute selector parameter is working such as in ol[type="i" i], the case sensitive version is not working such as in: ol[type="i" 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('[foo="bar" s]', 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
Attachments
Radar WebKit Bug Importer
Comment 1 2024-04-11 23:14:47 PDT
Karl Dubost
Comment 4 2024-04-12 02:16:55 PDT
Antti Koivisto
Comment 5 2026-05-14 01:14:18 PDT
EWS
Comment 6 2026-05-14 04:00:58 PDT
Committed 313234@main (ff2f768ad68a): <https://commits.webkit.org/313234@main> Reviewed commits have been landed. Closing PR #64914 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.