mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
When inserting a node that was already dirtied, the dirtying logic would short circuit: "This node is already dirty? Great! Then its parents must be HAS_DIRTY_DESCENDANTS, too! Let's skip that step." This isn't appropriate when nodes move around the tree. In that case, the node may be marked HAS_CHANGED, but ancestors may not yet have the HAS_DIRTY_DESCENDANTS flag set. This patch adds a `content_and_heritage_changed` hook in the document, to deal with these cases appropriately. |
||
---|---|---|
.. | ||
canvas | ||
compositing | ||
devtools | ||
devtools_traits | ||
gfx | ||
layout | ||
layout_traits | ||
msg | ||
net | ||
plugins | ||
script | ||
script_traits | ||
servo | ||
style | ||
util |