Do not apply nsChangeHint_RepaintFrame for background color animations on the root element (and the body) (or run the background color animations on the compositor)
Categories
(Core :: DOM: Animation, defect)
Tracking
()
People
(Reporter: hiro, Unassigned)
References
Details
We basically run background color animations on the compositor thread, but it's only for nsDisplayBackgroundColor display items, not for nsDisplayCanvasBackgroundColor nor for nsDisplaySolidColor (I am not sure which one is used for the root element).
So background color animations on the root element don't run on the compositor, then unfortunately we misbehave in AddLayerChangesForAnimation that even if there is no change hint differences we forcibly apply nsChangeHint_RepaintFrame, thus we repeatedly receive MozAfterPaint events in the wpt reftest harness (bug 1701128).
We should avoid it, or run the background color on the compositor as well as other elements.
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Comment 1•3 years ago
|
||
This will be fixed by D115774 (which is for bug 1699890). Once it landed I am going to close this bug as a dup of bug 1699890.
Reporter | ||
Updated•3 years ago
|
Description
•