Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add md file for rough scoped transitions design #194

Merged
merged 11 commits into from
Sep 23, 2022
Merged

Conversation

khushalsagar
Copy link
Collaborator

No description provided.

scoped-transitions.md Show resolved Hide resolved
scoped-transitions.md Outdated Show resolved Hide resolved
scoped-transitions.md Show resolved Hide resolved
scoped-transitions.md Outdated Show resolved Hide resolved

The algorithm for executing the transition is as follows:

1. At the next rendering opportunity after `createTransition`, the browser saves the painted output and geometry information for each tagged element under scoped-transition-root. The details are described in [7.3.4](https://drafts.csswg.org/css-shared-element-transitions-1/#perform-an-outgoing-capture-algorithm) except transforms are computed relative to the element. An async task is used to dispatch the `updateDOM` callback after this step.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this the part that also describes render blocking? If we need an element level render blocking, I think we need to mention this explicitly, since it's one of the more complicated parts of the proposal

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Step 2 describes render blocking and totally agreed that its a complicated part of the proposal. :) Please feel free to suggest any additions to the next step to make this clearer.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "Suppressing rendering" now pulls this discussion out separately too.

@jakearchibald jakearchibald merged commit b9f55fc into main Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants