-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge :has() forgiving selector parsing tests into a single test (#43168
- Loading branch information
Showing
2 changed files
with
4 additions
and
18 deletions.
There are no files selected for viewing
8 changes: 4 additions & 4 deletions
8
...low-nesting-has-inside-has.tentative.html → ...parsing/parse-has-forgiving-selector.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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
<!DOCTYPE html> | ||
<meta charset="utf-8"> | ||
<title>CSS Selectors: The relational pseudo-class (disallow nesting :has() inside :has(), but serialize back unchanged)</title> | ||
<title>CSS Selectors: The relational pseudo-class (forgiving selector parsing)</title> | ||
<link rel="author" title="Steinar H. Gunderson" href="mailto:sesse@chromium.org"> | ||
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/8356"> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
<script src="/css/support/parsing-testcommon.js"></script> | ||
<script> | ||
// These are split out from the non-tentative version of the test | ||
// because they depend on changes to serialization of :is() and :where() | ||
// that have not been standardized yet. | ||
// disallow nesting :has() inside :has(), but serialize back unchanged | ||
test_valid_forgiving_selector(':has(:is(:has(*)))'); | ||
test_valid_forgiving_selector(':has(:where(:has(*)))'); | ||
// serialize :is() back unchanged | ||
test_valid_forgiving_selector(':has(:is(.a, 123))'); | ||
</script> |
This file was deleted.
Oops, something went wrong.