diff options
author | J. Ryan Stinnett <jryans@gmail.com> | 2017-07-07 16:54:22 -0500 |
---|---|---|
committer | J. Ryan Stinnett <jryans@gmail.com> | 2017-07-10 13:28:12 -0500 |
commit | 3463a9c2109eab06b023fcd4909b9802c9e34e30 (patch) | |
tree | 09c01582eafd497a77f49c95ed2a17b309bd8c43 /components/script/dom/cssstylevalue.rs | |
parent | 2278a3f9811cdb643f7b06c1c2f8c3772e3794e5 (diff) | |
download | servo-3463a9c2109eab06b023fcd4909b9802c9e34e30.tar.gz servo-3463a9c2109eab06b023fcd4909b9802c9e34e30.zip |
Pass through visited style for after change
When a transition update is needed during restyling, `get_after_change_style` is
called to re-cascade without transition rules, and this style is then used for
primary styling instead of the style just computed.
`get_after_change_style` used to ignore visited styles, so this meant that if a
transition update was needed, visited styles were effectively dropped.
To fix the crash here, we pass through the existing visited styles when
re-cascading as part of `get_after_change_style`.
MozReview-Commit-ID: 4HBQAdeJ38B
Diffstat (limited to 'components/script/dom/cssstylevalue.rs')
0 files changed, 0 insertions, 0 deletions