4 ms·
> 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 c
by pcwalton 9y ago
> 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.
- whowouldathunk 9y agoNot sure how Servo works, but what happens if a list viewport gets bigger and you need to display more list items?
- pcwalton 9y agoThe newly visible list items are already laid out, so we just display them.