-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1773941 [wpt PR 34385] - Apply the resolution of csswg issue #695…
…2 : disallow nesting :has(), a=testonly Automatic update from web-platform-tests Apply the resolution of csswg issue #6952 : disallow nesting :has() Remove nesting :has() cases from the existing wpt tests and add a tentative wpt test to check disallowing nesting :has() inside :has(). w3c/csswg-drafts#6952 (comment) Bug: 669058, 1334631 Change-Id: I549ee9d5b1ca17d22f7f8982d0e9ff96df6937df Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3697654 Commit-Queue: Byungwoo Lee <blee@igalia.com> Reviewed-by: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/main@{#1013385} -- wpt-commits: 74410eadebedbb07ed1ce8031243ac2f7493bf19 wpt-pr: 34385
- Loading branch information
1 parent
c09c93f
commit f01f692
Showing
4 changed files
with
13 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...form/tests/css/selectors/parsing/parse-has-disallow-nesting-has-inside-has.tentative.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!DOCTYPE html> | ||
<meta charset="utf-8"> | ||
<title>CSS Selectors: The relational pseudo-class (disallow nesting :has() inside :has())</title> | ||
<link rel="author" title="Byungwoo Lee" href="mailto:blee@igalia.com"> | ||
<link rel="help" href="https://drafts.csswg.org/selectors-4/#has-pseudo"> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
<script src="/css/support/parsing-testcommon.js"></script> | ||
<script> | ||
test_valid_selector('.a:has(.b:has(.c))', '.a:has()'); | ||
test_valid_selector('.a:has(.b:has(.c), .d)', '.a:has(.d)'); | ||
test_valid_selector('.a:has(.b:is(.c:has(.d) .e))', '.a:has(.b:is())'); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters