Closed Bug 823239 Opened 12 years ago Closed 12 years ago

CSS Earth demo causing over invalidation

Categories

(Core :: Layout, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: BenWa, Unassigned)

References

()

Details

It looks like we should be able to just animate layers on this page but we don't. Paint flashing shows that we redraw all the layers each frame.

https://developer.mozilla.org/en-US/demos/detail/css3-up-and-running/
The page is animating background-position on both the page (body) background, and the globe image. We don't current handle this without repainting.

Using a sliding transform animation here would fix both of those cases.

The moon is also animated by changing the following properties: margin-left, margin-top, width, height, z-index. All of which trigger repainting.

Again, most of this could be implemented using transforms.
Is this something we want to handle soon-ish or should we resolve the bug as INVALID/WONTFIX?
Fixing these would be a lot of work, and I believe most authors are already using animated transforms to move content without repainting.

Without additional evidence to the contrary, I think we shouldn't worry about this for the time being.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.