mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Do not set dirty out-of-doc nodes
This commit is contained in:
parent
e66438de48
commit
d7b6a6f509
5 changed files with 15 additions and 3 deletions
|
@ -568,7 +568,7 @@ impl Node {
|
|||
|
||||
// FIXME(emilio): This and the function below should move to Element.
|
||||
pub fn note_dirty_descendants(&self) {
|
||||
debug_assert!(self.is_connected());
|
||||
debug_assert!(self.is_in_doc());
|
||||
|
||||
for ancestor in self.shadow_including_inclusive_ancestors() {
|
||||
if ancestor.get_flag(NodeFlags::HAS_DIRTY_DESCENDANTS) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue