diff options
author | J. Ryan Stinnett <jryans@gmail.com> | 2017-05-18 18:21:44 -0500 |
---|---|---|
committer | J. Ryan Stinnett <jryans@gmail.com> | 2017-05-24 18:08:09 -0500 |
commit | 47c8574c54eb4616ff506acf085e560764f2c828 (patch) | |
tree | 1e4bd701bb2fe853e387a6f81f3ba78c7cd52fdb /components/script/dom/bindings/codegen/parser/tests/test_namespace.py | |
parent | 582ce1f6e46989d278580d7f09a95f695164d876 (diff) | |
download | servo-47c8574c54eb4616ff506acf085e560764f2c828.tar.gz servo-47c8574c54eb4616ff506acf085e560764f2c828.zip |
Style sharing cache for visited
The style sharing cache stores the regular `ComputedValues`, so it would also
have the visited values as well for anything inserted into the cache (since they
are nested inside). Unlike all other element states, a change in state of
unvisited vs. visited does not change the style system's output, since we have
already computed both possible outputs up front.
We change the element state checks when looking for style sharing cache hits to
ignore visitedness, since that's handled by the two separate sets of values.
MozReview-Commit-ID: Dt8uK8gSQSP
Diffstat (limited to 'components/script/dom/bindings/codegen/parser/tests/test_namespace.py')
0 files changed, 0 insertions, 0 deletions