> How would it handle the common failure mode I'd really like to address, > where a page does: > > 1) Modify style. > 2) Ask for layout data. > 3) Modify style. > 4) Ask for layout data. > > At step 4, will we just need to wait for the layout from step 2 to complete > before we can start the new restyling pass?
Yes, but since layout runs in parallel and is pretty fast, I'd think the common case was that it would be done by the time it got the second request. I would think it would not be all that much harder to actually stop layout before it was complete too, so this case would be handled, but that leaves you with changes to the tree which haven't produced display lists. My guess is that it will be hard to know whether another synchronous query is coming and which mode should be engaged. jack. _______________________________________________ dev-servo mailing list dev-servo@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-servo