Re: [csswg-drafts] Define concepts of batching and flushing of style and layout information (#5115)

> So, in particular, I think some document in the CSS working group needs to define the idea that certain sets of changes can be buffered up rather than being executed immediately, and then it needs to export definitions that other specs can link to for something like flush style and flush layout. This can then allow other APIs to say when they do these things, and also allow various other things that send notifications (like resize events, IntersectionObserver, or ResizeObserver) to specify more clearly whether the notifications are triggered by any layout, or only by the primary layout within the update the rendering steps.

My worry about an architecture like this, compared to the current one, is that it makes it easy for specs to forget to include the "flush style" and "flush layout" steps. (Whereas now they are implicit.) On the other hand, I am neither a spec or implementation domain expert on style and layout.

Do you think everyone writing specs that would need to include these steps will have the necessary domain knowledge to know that they should insert these calls?

GitHub Notification of comment by domenic
Please view or discuss this issue at using your GitHub account

Received on Wednesday, 27 May 2020 14:13:43 UTC