Open Bug 940359 Opened 11 years ago Updated 2 years ago

Animations on <body> are not layerized

Categories

(Core :: Layout, defect, P4)

defect

Tracking

()

REOPENED

People

(Reporter: nical, Unassigned)

References

Details

(Keywords: perf)

...or so it seems. This web page consumes a lot of CPU and paint flashes like crazy: http://omgchange.com the html looks like: <body class="blink"> <blink> OMG ASUTRALIS!! </blink> </body> If I change it and wrap the text in a div which has the blink class, the animation is layerzed properly and CPU usage comes back normal. <body> <div class="blink"> <blink> OMG ASUTRALIS!! </blink> </div> </body> I don't know if there's a good reason to apply animations directly on <body> and if a lot of web authors do that. It's probably not worth spending time on, but chrome does layerize this page and isn't showing the high CPU usage.
Keywords: perf
Priority: -- → P4
Just moving the class="blink" from <body> to <blink> also behaves correctly in Gecko.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
Can we layerize changes to body properly? Because that's a bug we -should- fix and this bug should be re-open. If the real problem was something else then this should be resolved as invalid.
Flags: needinfo?(nical.bugzilla)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.