mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
implement basic infra for ResizeObserver (#31108)
This commit is contained in:
parent
3c1c395dfc
commit
3d78d60619
29 changed files with 706 additions and 4 deletions
|
@ -2110,6 +2110,8 @@ impl Node {
|
|||
MutationObserver::queue_a_mutation_record(parent, mutation);
|
||||
}
|
||||
node.owner_doc().remove_script_and_layout_blocker();
|
||||
|
||||
ScriptThread::note_rendering_opportunity(window_from_node(parent).pipeline_id());
|
||||
}
|
||||
|
||||
/// <https://dom.spec.whatwg.org/#concept-node-replace-all>
|
||||
|
@ -2233,6 +2235,7 @@ impl Node {
|
|||
MutationObserver::queue_a_mutation_record(parent, mutation);
|
||||
}
|
||||
parent.owner_doc().remove_script_and_layout_blocker();
|
||||
ScriptThread::note_rendering_opportunity(window_from_node(parent).pipeline_id());
|
||||
}
|
||||
|
||||
/// <https://dom.spec.whatwg.org/#concept-node-clone>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue