mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-03 22:38:41 +09:00
Issue #1592 - Part 3: Ensure only tree-abiding pseudo-elements will follow ::slotted()
This commit is contained in:
parent
77ad970db6
commit
92b31dd255
7 changed files with 92 additions and 28 deletions
|
|
@ -1393,6 +1393,7 @@ static inline bool ActiveHoverQuirkMatches(nsCSSSelector* aSelector,
|
|||
if (aSelector->HasTagSelector() || aSelector->mAttrList ||
|
||||
aSelector->mIDList || aSelector->mClassList ||
|
||||
aSelector->IsPseudoElement() ||
|
||||
aSelector->IsHybridPseudoElement() ||
|
||||
// Having this quirk means that some selectors will no longer match,
|
||||
// so it's better to return false when we aren't sure (i.e., the
|
||||
// flags are unknown).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue