Bug 272573
| Summary: | Implement case sensitive modifier (s) in attribute selector | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Karl Dubost <karlcow> |
| Component: | CSS | Assignee: | 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
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
<rdar://problem/126331481>
Karl Dubost
https://searchfox.org/wubkat/rev/8ce70fa03821ea1c7a19a3913730ffe6b8a522ed/Source/WebCore/css/CSSStyleRule.cpp#231
Karl Dubost
https://searchfox.org/wubkat/rev/8ce70fa03821ea1c7a19a3913730ffe6b8a522ed/Source/WebCore/css/parser/CSSSelectorParser.cpp#972-981
Karl Dubost
Pull request: https://github.com/WebKit/WebKit/pull/27188
Antti Koivisto
Pull request: https://github.com/WebKit/WebKit/pull/64914
EWS
Committed 313234@main (ff2f768ad68a): <https://commits.webkit.org/313234@main>
Reviewed commits have been landed. Closing PR #64914 and removing active labels.