News for hackers. Stuff that matters.
Re:60 FPS Animations with CSS3 by whowouldathunk on Monday July 10, 2017 @01:34PM (#14738017)
Which thread are you going to do that work on?

It's complicated because layout changes can cause new elements to be created. Elements can be really expensive to create.

Re:60 FPS Animations with CSS3 by pcwalton on Monday July 10, 2017 @02:25PM (#14738417)
> Which thread are you going to do that work on?

The layout thread.

> It's complicated because layout changes can cause new elements to be created. Elements can be really expensive to create.

Huh? No, they can't. In rare cases, layout changes can cause new render objects to be created (line breaks), but that's not elements.

Re:60 FPS Animations with CSS3 by whowouldathunk on Monday July 10, 2017 @02:31PM (#14738461)
Not sure how Servo works, but what happens if a list viewport gets bigger and you need to display more list items?
Re:60 FPS Animations with CSS3 by pcwalton on Monday July 10, 2017 @03:19PM (#14738816)
The newly visible list items are already laid out, so we just display them.
Re:60 FPS Animations with CSS3 by westoncb on Monday July 10, 2017 @02:05PM (#14738258)
That's the kind of thing that would cause a rejection: elements are gong to be created, so this can't be converted to compositing stage operations instead.

Dunno which thread—just an idea.