mirror of
https://github.com/servo/servo.git
synced 2025-07-16 11:53:39 +01:00
Invalidation should check all restyle hints.
This commit is contained in:
parent
7f4cb1861b
commit
a646b9d559
1 changed files with 1 additions and 1 deletions
|
@ -3859,7 +3859,7 @@ pub extern "C" fn Servo_HasPendingRestyleAncestor(element: RawGeckoElementBorrow
|
||||||
let mut element = Some(GeckoElement(element));
|
let mut element = Some(GeckoElement(element));
|
||||||
while let Some(e) = element {
|
while let Some(e) = element {
|
||||||
if let Some(data) = e.borrow_data() {
|
if let Some(data) = e.borrow_data() {
|
||||||
if data.restyle.hint.has_non_animation_invalidations() {
|
if !data.restyle.hint.is_empty() {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue