github web-platform-tests/wpt merge_pr_47815

latest releases: merge_pr_49470, epochs/three_hourly/2024-12-03_06H, epochs/six_hourly/2024-12-03_06H...
4 months ago

Remove misleading code claiming to allow :has() after pseudo-elements.

This code doesn't do what it says, since the (correct) code in
CSSSelectorParser::ConsumeRelativeSelectorList forbids this exact case.
Thus the code is confusing and it should be removed.

This removes the misleading code behind the (status: experimental)
CSSPartAllowsMoreSelectorsAfter flag (keeping it with other related
changes).

This is expected to have no behavior change.

Bug: 40623497
Change-Id: If92c0698805c8519fb01d023173c887197622386
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5813941
Commit-Queue: David Baron dbaron@chromium.org
Reviewed-by: Rune Lillesveen futhark@chromium.org
Cr-Commit-Position: refs/heads/main@{#1347349}

Don't miss a new wpt release

NewReleases is sending notifications on new releases.