diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-10-25 10:28:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-25 10:28:18 -0500 |
commit | 6035b75d399fbc9a8037743bb5199f3e1475333a (patch) | |
tree | 1b8849e3e5c784e6367c317631ebf265e4ee1cb9 /components/script | |
parent | a69e33366e4333f1de3502e5d706d79f4f843b00 (diff) | |
parent | 05beeee268d2c30d070649644beb21036ad1b230 (diff) | |
download | servo-6035b75d399fbc9a8037743bb5199f3e1475333a.tar.gz servo-6035b75d399fbc9a8037743bb5199f3e1475333a.zip |
Auto merge of #19016 - emilio:animation-avoid-flush-not-quite, r=hiro
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
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19016)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script')
0 files changed, 0 insertions, 0 deletions