mirror of
https://github.com/servo/servo.git
synced 2025-10-12 22:40:19 +01:00
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 --> |
||
---|---|---|
.. | ||
atoms | ||
bluetooth | ||
bluetooth_traits | ||
canvas | ||
canvas_traits | ||
compositing | ||
config | ||
constellation | ||
debugger | ||
deny_public_fields | ||
devtools | ||
devtools_traits | ||
dom_struct | ||
domobject_derive | ||
geometry | ||
gfx | ||
gfx_traits | ||
jstraceable_derive | ||
layout | ||
layout_thread | ||
layout_traits | ||
msg | ||
net | ||
net_traits | ||
profile | ||
profile_traits | ||
rand | ||
range | ||
remutex | ||
script | ||
script_layout_interface | ||
script_plugins | ||
script_traits | ||
selectors | ||
servo | ||
style | ||
style_traits | ||
url | ||
webdriver_server | ||
webvr | ||
webvr_traits |