mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
stylo: Support :hover and :active quirk
This commit is contained in:
parent
ff17af064b
commit
15fe48f3f6
15 changed files with 229 additions and 73 deletions
|
@ -1021,7 +1021,8 @@ pub trait MatchMethods : TElement {
|
|||
let mut matching_context =
|
||||
MatchingContext::new_for_visited(MatchingMode::Normal,
|
||||
Some(bloom_filter),
|
||||
visited_handling);
|
||||
visited_handling,
|
||||
context.shared.quirks_mode);
|
||||
|
||||
{
|
||||
let smil_override = data.get_smil_override();
|
||||
|
@ -1117,7 +1118,8 @@ pub trait MatchMethods : TElement {
|
|||
let mut matching_context =
|
||||
MatchingContext::new_for_visited(MatchingMode::ForStatelessPseudoElement,
|
||||
Some(bloom_filter),
|
||||
visited_handling);
|
||||
visited_handling,
|
||||
context.shared.quirks_mode);
|
||||
|
||||
// Compute rule nodes for eagerly-cascaded pseudo-elements.
|
||||
let mut matches_different_pseudos = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue