Khushal Sagar

Results 88 comments of Khushal Sagar

> I guess we're talking about doing something different than that for view transitions Yes. getBoundingClientRect will force style/layout for a node which is "not relevant to the user" and...

> I propose that we only update the styles once per frame, around rAF timing. +1. In fact we should do after step 14 of [update the rendering](https://html.spec.whatwg.org/multipage/webappapis.html#update-the-rendering) loop. This...

We had an offline discussion about this today, driven by ongoing implementation work. I'm adding a summary of the discussion and the updated proposal: ### Caching computed values for capture...

> when the stylesheet is updated to represent the changed source element does not have a precedent Conceptually generating style for these elements is similar to computing the layout for...

Summarizing an offline discussion: 1. It's ok to synchronously generate the UA stylesheet for the pseudo DOM when the developer callback is done and before resolving the ready promise. This...

Adding Agenda+ to resolve on the third one: Proposed Resolution: UA styles on the pseudo-DOM stay in sync with author DOM for any developer observable API after the ready promise...

This LGTM. I'm hoping the spec text can lean on ongoing work for viewport sizes, particularly [large viewport size](https://drafts.csswg.org/css-values-4/#large-viewport-size). @bramus FYI.

Here is the short **proposed resolution**: Use "snapshot viewport" for root element snapshot and UA CSS to size and position [::page-transition](https://drafts.csswg.org/css-view-transitions-1/#selectordef-page-transition) at snapshot viewport.

Should we rename the API to `document.transition()` or `document.transitionView()` for parallel with the web animations API?

All promises on [ViewTransition](https://drafts.csswg.org/css-view-transitions-1/#viewtransition) are guaranteed to resolve asynchronously after calling createTransition. So it's guaranteed to not be resolved immediately when you call createTransition. "What I have to yield for...