mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Make the skip-applying-damage stuff Gecko-only.
This commit is contained in:
parent
d8234fef82
commit
ac2be54470
1 changed files with 1 additions and 1 deletions
|
@ -373,7 +373,7 @@ trait PrivateMatchMethods: TElement {
|
||||||
// for followup work to make the optimization here more optimal by considering
|
// for followup work to make the optimization here more optimal by considering
|
||||||
// each bit individually.
|
// each bit individually.
|
||||||
let skip_applying_damage =
|
let skip_applying_damage =
|
||||||
restyle.reconstructed_self_or_ancestor();
|
cfg!(feature = "gecko") && restyle.reconstructed_self_or_ancestor();
|
||||||
|
|
||||||
let difference =
|
let difference =
|
||||||
self.compute_style_difference(old_values, new_values, pseudo);
|
self.compute_style_difference(old_values, new_values, pseudo);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue