aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_layout_interface/message.rs
diff options
context:
space:
mode:
authorJ. Ryan Stinnett <jryans@gmail.com>2017-07-07 16:54:22 -0500
committerJ. Ryan Stinnett <jryans@gmail.com>2017-07-10 13:28:12 -0500
commit3463a9c2109eab06b023fcd4909b9802c9e34e30 (patch)
tree09c01582eafd497a77f49c95ed2a17b309bd8c43 /components/script_layout_interface/message.rs
parent2278a3f9811cdb643f7b06c1c2f8c3772e3794e5 (diff)
downloadservo-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_layout_interface/message.rs')
0 files changed, 0 insertions, 0 deletions