diff options
author | J. Ryan Stinnett <jryans@gmail.com> | 2017-05-04 18:54:20 -0500 |
---|---|---|
committer | J. Ryan Stinnett <jryans@gmail.com> | 2017-05-24 18:07:44 -0500 |
commit | a7882cfeb9e5ecb7fdc2d91f9c6ddae42d730660 (patch) | |
tree | 9506314ec281716912a9b85ec7d067b412b307bf /components/script/dom/bindings/codegen/parser/tests/test_enum.py | |
parent | e3a256803d4e5b8dbd8a65252ea45c05784aeef9 (diff) | |
download | servo-a7882cfeb9e5ecb7fdc2d91f9c6ddae42d730660.tar.gz servo-a7882cfeb9e5ecb7fdc2d91f9c6ddae42d730660.zip |
Match and cascade visited styles
To support visited styles, we match and cascade a separate set of styles any
time we notice that an element has a relevant link.
The visited rules and values are held in `ComputedStyle` alongside the
regular rules and values, which simplifies supporting various APIs like
`cascade_primary_and_pseudos` which expect easy access to previously matched
rules.
To simplify passing the additional values around, an additional reference to the
visited `ComputedValues` is placed inside the regular `ComputedValues`.
MozReview-Commit-ID: 2ebbjcfkfWf
Diffstat (limited to 'components/script/dom/bindings/codegen/parser/tests/test_enum.py')
0 files changed, 0 insertions, 0 deletions