aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/document.rs
diff options
context:
space:
mode:
authorAlan Jeffrey <ajeffrey@mozilla.com>2015-11-06 09:48:32 -0600
committerAlan Jeffrey <ajeffrey@mozilla.com>2015-11-06 17:23:16 -0600
commit64a50bcf5640fe202e37e7b93c4932e27ce08c98 (patch)
treeeb7163f0a9441c73026ef126cc550011eae48bb9 /components/script/dom/document.rs
parent4aa6a76f5714fa945f1883ae2d658750cc91d6e3 (diff)
downloadservo-64a50bcf5640fe202e37e7b93c4932e27ce08c98.tar.gz
servo-64a50bcf5640fe202e37e7b93c4932e27ce08c98.zip
Added versioning to DOM nodes.
There is now an inclusive_descendants_version field of each node, which increases each time the node, or any of its descendants, is dirtied. This can be used for cache invalidation, by caching a version number and comparting the current version number against the cached version number.
Diffstat (limited to 'components/script/dom/document.rs')
0 files changed, 0 insertions, 0 deletions