mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-03 14:28:39 +09:00
Revert "Issue #3024 - First pass support for :host and :host-context"
This reverts commit 4cc56c2cb6.
This commit is contained in:
parent
d4eac725fd
commit
ecdf4bfb29
12 changed files with 34 additions and 358 deletions
|
|
@ -5641,7 +5641,6 @@ CSSParserImpl::ParseTypeOrUniversalSelector(int32_t& aDataMask,
|
|||
aSelector.SetTag(mToken.mIdent);
|
||||
}
|
||||
else if (mToken.IsSymbol('*')) { // universal selector
|
||||
aSelector.SetHasExplicitUniversal();
|
||||
aDataMask |= SEL_MASK_ELEM;
|
||||
// don't set tag
|
||||
}
|
||||
|
|
@ -5653,7 +5652,6 @@ CSSParserImpl::ParseTypeOrUniversalSelector(int32_t& aDataMask,
|
|||
}
|
||||
else { // was universal element selector
|
||||
SetDefaultNamespaceOnSelector(aSelector);
|
||||
aSelector.SetHasExplicitUniversal();
|
||||
aDataMask |= SEL_MASK_ELEM;
|
||||
// don't set any tag in the selector
|
||||
}
|
||||
|
|
@ -6099,8 +6097,7 @@ CSSParserImpl::ParsePseudoSelector(int32_t& aDataMask,
|
|||
CSSPseudoClassType::negation == pseudoClassType ||
|
||||
nsCSSPseudoClasses::HasStringArg(pseudoClassType) ||
|
||||
nsCSSPseudoClasses::HasNthPairArg(pseudoClassType) ||
|
||||
nsCSSPseudoClasses::HasSelectorListArg(pseudoClassType)) &&
|
||||
!nsCSSPseudoClasses::HasOptionalSelectorListArg(pseudoClassType)) {
|
||||
nsCSSPseudoClasses::HasSelectorListArg(pseudoClassType))) {
|
||||
// There are no other function pseudos
|
||||
REPORT_UNEXPECTED_TOKEN(PEPseudoSelNonFunc);
|
||||
UngetToken();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue