diff options
author | Alan Jeffrey <ajeffrey@mozilla.com> | 2015-11-06 09:48:32 -0600 |
---|---|---|
committer | Alan Jeffrey <ajeffrey@mozilla.com> | 2015-11-06 17:23:16 -0600 |
commit | 64a50bcf5640fe202e37e7b93c4932e27ce08c98 (patch) | |
tree | eb7163f0a9441c73026ef126cc550011eae48bb9 /components/script/dom/document.rs | |
parent | 4aa6a76f5714fa945f1883ae2d658750cc91d6e3 (diff) | |
download | servo-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