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
<rdar://problem/111861948>
Pull request: https://github.com/WebKit/WebKit/pull/16314
Committed 266762@main (7f6950788ad1): <https://commits.webkit.org/266762@main> Reviewed commits have been landed. Closing PR #16314 and removing active labels.