Bug 258688
| Summary: | [css-nesting] Keep invalid selector with nesting selector in forgiving selector list | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Matthieu Dubet <m_dubet> |
| Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Matthieu Dubet
From the spec:
"If a <forgiving-selector-list> has an item that contains the nesting selector but is invalid, that item is preserved exactly as-is rather than being discarded. (This does not change the matching behavior of the selector—an invalid selector still fails to match anything—just the serialization of the selector.)"
This is tested in WPT : https://wpt.fyi/results/css/css-nesting/nest-containing-forgiving.html?label=experimental&label=master&aligned
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/111861948>
Matthieu Dubet
Pull request: https://github.com/WebKit/WebKit/pull/16314
EWS
Committed 266762@main (7f6950788ad1): <https://commits.webkit.org/266762@main>
Reviewed commits have been landed. Closing PR #16314 and removing active labels.