mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 15:58:39 +09:00
Issue #2828 - Part 3: Refactor selector matching and rule cascade data into separate files/classes
This commit is contained in:
parent
7b51aa7ca1
commit
03f29e75ec
20 changed files with 4432 additions and 4171 deletions
|
|
@ -1373,10 +1373,10 @@ nsStyleSet::ResolveStyleFor(Element* aElement,
|
|||
}
|
||||
|
||||
uint32_t flags = eDoAnimation;
|
||||
if (nsCSSRuleProcessor::IsLink(aElement)) {
|
||||
if (nsCSSRuleUtils::IsLink(aElement)) {
|
||||
flags |= eIsLink;
|
||||
}
|
||||
if (nsCSSRuleProcessor::GetContentState(aElement, aTreeMatchContext).
|
||||
if (nsCSSRuleUtils::GetContentState(aElement, aTreeMatchContext).
|
||||
HasState(NS_EVENT_STATE_VISITED)) {
|
||||
flags |= eIsVisitedLink;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue