WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
272573
Implement case sensitive modifier (s) in attribute selector
https://bugs.webkit.org/show_bug.cgi?id=272573
Summary
Implement case sensitive modifier (s) in attribute selector
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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-04-11 23:14:47 PDT
<
rdar://problem/126331481
>
Karl Dubost
Comment 2
2024-04-11 23:15:43 PDT
https://searchfox.org/wubkat/rev/8ce70fa03821ea1c7a19a3913730ffe6b8a522ed/Source/WebCore/css/CSSStyleRule.cpp#231
Karl Dubost
Comment 3
2024-04-12 00:53:58 PDT
https://searchfox.org/wubkat/rev/8ce70fa03821ea1c7a19a3913730ffe6b8a522ed/Source/WebCore/css/parser/CSSSelectorParser.cpp#972-981
Karl Dubost
Comment 4
2024-04-12 02:16:55 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/27188
Antti Koivisto
Comment 5
2026-05-14 01:14:18 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/64914
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.
Top of Page
Format For Printing
XML
Clone This Bug