After bug 1356141, the setup of animation-only dirty bit should have matched to normal dirty bit's one (Though they don't match in post traversal due to throttled animation flush). An unset_animation_only_dirty_descendants call removed in this patch cleared dirty bits which are needed for post traversal if there is a second animation-only traversal and if there is no need to restyle for the second animation-only traversal. The reftest in this patch fails without either this fix or the fix for bug 1367975. See [Gecko bug 1384435 comment 12](https://bugzilla.mozilla.org/show_bug.cgi?id=1384435#c12) for more detail what's going on at that time. MozReview-Commit-ID: Dw24Vgoabmd
33 lines
609 B
HTML
33 lines
609 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<style>
|
|
.container {
|
|
visibility: visible;
|
|
transition: visibility .2s;
|
|
}
|
|
|
|
.hidden {
|
|
visibility: hidden;
|
|
}
|
|
</style>
|
|
<div id="tooltip" class="container hidden">
|
|
<div>
|
|
<div>
|
|
<strong>Text</strong>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
window.addEventListener("load", () => {
|
|
requestIdleCallback(() => {
|
|
tooltip.classList.remove("hidden");
|
|
requestAnimationFrame(() => {
|
|
requestAnimationFrame(() => {
|
|
tooltip.style.zIndex = 2;
|
|
document.documentElement.classList.remove("reftest-wait");
|
|
});
|
|
});
|
|
});
|
|
});
|
|
</script>
|