-
Notifications
You must be signed in to change notification settings - Fork 661
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
[css-view-transition-2] view-transition-class
and tree-scoping
#10529
Comments
Thinking about this again, I think the right approach here would be that The only "quirk" about this is that the shadow DOM can define |
@nt1m @vmpstr @fantasai @khushalsagar any objections here? I think this is a non-controversial fix. |
I guess it would be consistent with the name, which is fine. |
@astearns ok to do an offline resolution on this one? |
@noamr more comments and/or thumbs-ups would be good for an async resolution. Add a proposed resolution and the |
Proposed resolution: |
SGTM. So both |
The CSSWG will automatically accept this resolution one week from now if no objections are raised here. Anyone can add an emoji to this comment to express support. If you do not support this resolution, please add a new comment. Proposed resolution: view-transition-class is a tree-scoped name. |
RESOLVED: view-transition-class is a tree-scoped name |
Parse view-transition-class a s CSSScopedNameList, and match with the document tree-scoped when capturing the old+new element. CSSWG resolution: w3c/csswg-drafts#10529 (comment) Bug: 358159341 Change-Id: Ib40816b8358bb9390a427bc4ea456d86f6060eab Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5776943 Reviewed-by: Khushal Sagar <khushalsagar@chromium.org> Commit-Queue: Noam Rosenthal <nrosenthal@chromium.org> Cr-Commit-Position: refs/heads/main@{#1340430}
Parse view-transition-class a s CSSScopedNameList, and match with the document tree-scoped when capturing the old+new element. CSSWG resolution: w3c/csswg-drafts#10529 (comment) Bug: 358159341 Change-Id: Ib40816b8358bb9390a427bc4ea456d86f6060eab Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5776943 Reviewed-by: Khushal Sagar <khushalsagar@chromium.org> Commit-Queue: Noam Rosenthal <nrosenthal@chromium.org> Cr-Commit-Position: refs/heads/main@{#1340430}
Parse view-transition-class a s CSSScopedNameList, and match with the document tree-scoped when capturing the old+new element. CSSWG resolution: w3c/csswg-drafts#10529 (comment) Bug: 358159341 Change-Id: Ib40816b8358bb9390a427bc4ea456d86f6060eab Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5776943 Reviewed-by: Khushal Sagar <khushalsagar@chromium.org> Commit-Queue: Noam Rosenthal <nrosenthal@chromium.org> Cr-Commit-Position: refs/heads/main@{#1340430}
…oped name, a=testonly Automatic update from web-platform-tests Make CSS view-transition-class a tree-scoped name Parse view-transition-class a s CSSScopedNameList, and match with the document tree-scoped when capturing the old+new element. CSSWG resolution: w3c/csswg-drafts#10529 (comment) Bug: 358159341 Change-Id: Ib40816b8358bb9390a427bc4ea456d86f6060eab Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5776943 Reviewed-by: Khushal Sagar <khushalsagar@chromium.org> Commit-Queue: Noam Rosenthal <nrosenthal@chromium.org> Cr-Commit-Position: refs/heads/main@{#1340430} -- wpt-commits: c88a90be14eeb523b2941c994e605da1feb61e77 wpt-pr: 47568
…oped name, a=testonly Automatic update from web-platform-tests Make CSS view-transition-class a tree-scoped name Parse view-transition-class a s CSSScopedNameList, and match with the document tree-scoped when capturing the old+new element. CSSWG resolution: w3c/csswg-drafts#10529 (comment) Bug: 358159341 Change-Id: Ib40816b8358bb9390a427bc4ea456d86f6060eab Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5776943 Reviewed-by: Khushal Sagar <khushalsagar@chromium.org> Commit-Queue: Noam Rosenthal <nrosenthal@chromium.org> Cr-Commit-Position: refs/heads/main@{#1340430} -- wpt-commits: c88a90be14eeb523b2941c994e605da1feb61e77 wpt-pr: 47568
…oped name, a=testonly Automatic update from web-platform-tests Make CSS view-transition-class a tree-scoped name Parse view-transition-class a s CSSScopedNameList, and match with the document tree-scoped when capturing the old+new element. CSSWG resolution: w3c/csswg-drafts#10529 (comment) Bug: 358159341 Change-Id: Ib40816b8358bb9390a427bc4ea456d86f6060eab Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5776943 Reviewed-by: Khushal Sagar <khushalsagar@chromium.org> Commit-Queue: Noam Rosenthal <nrosenthal@chromium.org> Cr-Commit-Position: refs/heads/main@{#1340430} -- wpt-commits: c88a90be14eeb523b2941c994e605da1feb61e77 wpt-pr: 47568
…oped name, a=testonly Automatic update from web-platform-tests Make CSS view-transition-class a tree-scoped name Parse view-transition-class a s CSSScopedNameList, and match with the document tree-scoped when capturing the old+new element. CSSWG resolution: w3c/csswg-drafts#10529 (comment) Bug: 358159341 Change-Id: Ib40816b8358bb9390a427bc4ea456d86f6060eab Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5776943 Reviewed-by: Khushal Sagar <khushalsagarchromium.org> Commit-Queue: Noam Rosenthal <nrosenthalchromium.org> Cr-Commit-Position: refs/heads/main{#1340430} -- wpt-commits: c88a90be14eeb523b2941c994e605da1feb61e77 wpt-pr: 47568 UltraBlame original commit: 26eb8cfa4b79e31b94b703759edb04a4658ec2e5
…oped name, a=testonly Automatic update from web-platform-tests Make CSS view-transition-class a tree-scoped name Parse view-transition-class a s CSSScopedNameList, and match with the document tree-scoped when capturing the old+new element. CSSWG resolution: w3c/csswg-drafts#10529 (comment) Bug: 358159341 Change-Id: Ib40816b8358bb9390a427bc4ea456d86f6060eab Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5776943 Reviewed-by: Khushal Sagar <khushalsagarchromium.org> Commit-Queue: Noam Rosenthal <nrosenthalchromium.org> Cr-Commit-Position: refs/heads/main{#1340430} -- wpt-commits: c88a90be14eeb523b2941c994e605da1feb61e77 wpt-pr: 47568 UltraBlame original commit: 26eb8cfa4b79e31b94b703759edb04a4658ec2e5
Following up on #10145, we should determine whether elements can define a
view-transition-class
inside shadow DOM that gets matched to a corresponding class in the pseudo-element (e.g. if the element is a::part
)..Based on https://drafts.csswg.org/css-scoping-1/#shadow-names, I think it makes sense to allow that, as a
view-transition-class
is similar to giving an element afont-family
that's defined in the root inside a@font-face
.The text was updated successfully, but these errors were encountered: