mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Introduce VirtualMethods::children_changed() This virtual method mimics the behaviour of mutation observers and make it more viable than the older child_inserted(), which didn't cover removed nodes and was called as many times as there were inserted nodes. A few other shortcomings where remove_child() was called directly instead of Node::remove() were also fixed while at it. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6660) <!-- Reviewable:end --> |
||
---|---|---|
.. | ||
codegen | ||
callback.rs | ||
cell.rs | ||
conversions.rs | ||
error.rs | ||
global.rs | ||
js.rs | ||
mod.rs | ||
num.rs | ||
proxyhandler.rs | ||
refcounted.rs | ||
str.rs | ||
structuredclone.rs | ||
trace.rs | ||
utils.rs |