-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid crashing trying to invalidate from pseudo-element in :has intro…
…duced through nesting. Differential Revision: https://phabricator.services.mozilla.com/D233532 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1940212 gecko-commit: 44f971223b3786a3f9fac7043d1274f4e65b4990 gecko-reviewers: firefox-style-system-reviewers, emilio
- Loading branch information
1 parent
5f69cd7
commit c840faf
Showing
3 changed files
with
27 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<!DOCTYPE html> | ||
<link rel="author" title="David Shin" href="mailto:[email protected]"> | ||
<link rel="help" href="https://drafts.csswg.org/selectors/#relational"> | ||
<link rel="help" href="https://drafts.csswg.org/css-nesting-1/#nest-selector"> | ||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1940212"> | ||
<style> | ||
::marker {:has(&){}} | ||
</style> | ||
<p>Test</p> |
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,9 @@ | ||
<!DOCTYPE html> | ||
<link rel="author" title="David Shin" href="mailto:[email protected]"> | ||
<link rel="help" href="https://drafts.csswg.org/selectors/#relational"> | ||
<link rel="help" href="https://drafts.csswg.org/css-nesting-1/#nest-selector"> | ||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1940212"> | ||
<style> | ||
::part(foo) {:has(&){}} | ||
</style> | ||
<p>Test</p> |
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,9 @@ | ||
<!DOCTYPE html> | ||
<link rel="author" title="David Shin" href="mailto:[email protected]"> | ||
<link rel="help" href="https://drafts.csswg.org/selectors/#relational"> | ||
<link rel="help" href="https://drafts.csswg.org/css-nesting-1/#nest-selector"> | ||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1940212"> | ||
<style> | ||
::slotted(p) {:has(&){}} | ||
</style> | ||
<p>Test</p> |