mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Don't inherit all properties for pre-computed pseudos if there are no matching rules.
This commit is contained in:
parent
6a9e2fd7fb
commit
3e0e2bcd2c
3 changed files with 27 additions and 27 deletions
|
@ -394,7 +394,7 @@ pub trait ThreadSafeLayoutElement: Clone + Copy + Sized + Debug +
|
|||
&context.default_computed_values,
|
||||
false);
|
||||
data.styles_mut().pseudos
|
||||
.insert(style_pseudo.clone(), new_style.unwrap());
|
||||
.insert(style_pseudo.clone(), new_style);
|
||||
}
|
||||
}
|
||||
PseudoElementCascadeType::Lazy => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue