mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Make note_dirty_descendants jump around shadow roots
This commit is contained in:
parent
ea69bbc75b
commit
4740ce53a0
1 changed files with 1 additions and 1 deletions
|
@ -560,7 +560,7 @@ impl Node {
|
|||
pub fn note_dirty_descendants(&self) {
|
||||
debug_assert!(self.is_connected());
|
||||
|
||||
for ancestor in self.inclusive_ancestors() {
|
||||
for ancestor in self.shadow_including_inclusive_ancestors() {
|
||||
if ancestor.get_flag(NodeFlags::HAS_DIRTY_DESCENDANTS) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue