diff options
author | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-10-25 13:13:23 +0200 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2017-10-25 16:06:56 +0200 |
commit | 05beeee268d2c30d070649644beb21036ad1b230 (patch) | |
tree | f822e7fb4e846d14751ff57a73ba7a08e13a4b84 /components/script_layout_interface/wrapper_traits.rs | |
parent | 6449c00fc95c2aebe5b8322a70018d3664941d77 (diff) | |
download | servo-05beeee268d2c30d070649644beb21036ad1b230.tar.gz servo-05beeee268d2c30d070649644beb21036ad1b230.zip |
style: Fix detection of animations to avoid style flushing in getComputedStyle.
This fixes multiple things:
* EffectCompositor was using the light tree instead of the flat tree.
* When we insert an element inside the document, we may not style it right away
(we mark it for lazy frame construction with the NODE_NEEDS_FRAME). Since we
trigger animations and transitions from the traversal, we can't skip flushing
if we call getComputedStyle on any of those.
Bug: 1406750
Reviewed-by: hiro
MozReview-Commit-ID: DpAhmLH3uJ2
Diffstat (limited to 'components/script_layout_interface/wrapper_traits.rs')
0 files changed, 0 insertions, 0 deletions