diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-04-26 01:47:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-26 01:47:00 -0500 |
commit | e5762cb6953b5e202e8733e39e8267c4b67a9622 (patch) | |
tree | 6b563334304ac7a0ad8ecfa49c9717301d2d9262 /components/layout_thread/lib.rs | |
parent | 2eff661ebb2737979b80367ada3ac99d73a06fc4 (diff) | |
parent | 0d0c2701ffe5a0d94aa7468284e7d5c4369b3f6a (diff) | |
download | servo-e5762cb6953b5e202e8733e39e8267c4b67a9622.tar.gz servo-e5762cb6953b5e202e8733e39e8267c4b67a9622.zip |
Auto merge of #16613 - birtles:clear-animation-dirty-bit, r=hiikezoe
Clear animation-only dirty descendants bit on display:none descendants
PR for [Gecko bug 1359658](https://bugzilla.mozilla.org/show_bug.cgi?id=1359658)
When an element has a display:none ancestor we don't traverse it during
restyle. However, at the end of restyling we expect the tree to be free
of dirty bits. We currently take special care to clear the regular
(non-animation) dirty bit on nodes in display:none subtrees in order to
preserve this invariant. This patch applies the same handling to the
animation-only dirty descendants bit.
---
- [X] `./mach build -d` just keeps crashing because mozjs calls sed.exe in a way that breaks it
- [X] `./mach test-tidy` does not report any errors
- [X] There are tests for these changes on the Gecko side
<!-- 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/16613)
<!-- Reviewable:end -->
Diffstat (limited to 'components/layout_thread/lib.rs')
0 files changed, 0 insertions, 0 deletions