-
Notifications
You must be signed in to change notification settings - Fork 659
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-shadow-parts][css-view-transitions] Are view transition pseudo-elements allowed after ::part()? #10806
Comments
It should probably behave the same way as adding a view transition pseudo-element after a normal element, e.g. parse but not match anything |
Scoped VTs will allow the VT pseudo-els to be used on elements other than the root, so it'll eventually make sense to be able to use them on ::part(). For now, I indeed think that we should allow them to exist but just not match anything. |
OK, sounds like making no change is the right path here, then. |
Based on the discussion in w3c/csswg-drafts#10806 and also in w3c/csswg-drafts#10787, I think the conclusion from #10806 applies to pseudo-classes as well, and I should reverse my earlier decision to disallow the :active-view-transition pseudo-classes after ::part(), even though today it is not possible for them to match. This makes that change behind the CSSPartAllowsMoreSelectorsAfter flag (status:experimental), which also contains other related changes. This matches WebKit's current implementation of those pseudo-classes. Bug: 40623497 Change-Id: I591fe30bb9e6c3a0953df318919f60dd6962d4a1
Based on the discussion in w3c/csswg-drafts#10806 and also in w3c/csswg-drafts#10787, I think the conclusion from #10806 applies to pseudo-classes as well, and I should reverse my earlier decision to disallow the :active-view-transition pseudo-classes after ::part(), even though today it is not possible for them to match. This makes that change behind the CSSPartAllowsMoreSelectorsAfter flag (status:experimental), which also contains other related changes. This matches WebKit's current implementation of those pseudo-classes. Bug: 40623497 Change-Id: I591fe30bb9e6c3a0953df318919f60dd6962d4a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5839421 Reviewed-by: Rune Lillesveen <futhark@chromium.org> Commit-Queue: David Baron <dbaron@chromium.org> Cr-Commit-Position: refs/heads/main@{#1351997}
Based on the discussion in w3c/csswg-drafts#10806 and also in w3c/csswg-drafts#10787, I think the conclusion from #10806 applies to pseudo-classes as well, and I should reverse my earlier decision to disallow the :active-view-transition pseudo-classes after ::part(), even though today it is not possible for them to match. This makes that change behind the CSSPartAllowsMoreSelectorsAfter flag (status:experimental), which also contains other related changes. This matches WebKit's current implementation of those pseudo-classes. Bug: 40623497 Change-Id: I591fe30bb9e6c3a0953df318919f60dd6962d4a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5839421 Reviewed-by: Rune Lillesveen <futhark@chromium.org> Commit-Queue: David Baron <dbaron@chromium.org> Cr-Commit-Position: refs/heads/main@{#1351997}
Based on the discussion in w3c/csswg-drafts#10806 and also in w3c/csswg-drafts#10787, I think the conclusion from #10806 applies to pseudo-classes as well, and I should reverse my earlier decision to disallow the :active-view-transition pseudo-classes after ::part(), even though today it is not possible for them to match. This makes that change behind the CSSPartAllowsMoreSelectorsAfter flag (status:experimental), which also contains other related changes. This matches WebKit's current implementation of those pseudo-classes. Bug: 40623497 Change-Id: I591fe30bb9e6c3a0953df318919f60dd6962d4a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5839421 Reviewed-by: Rune Lillesveen <futhark@chromium.org> Commit-Queue: David Baron <dbaron@chromium.org> Cr-Commit-Position: refs/heads/main@{#1351997}
…sses after ::part()., a=testonly Automatic update from web-platform-tests Allow :active-view-transition pseudo-classes after ::part(). Based on the discussion in w3c/csswg-drafts#10806 and also in w3c/csswg-drafts#10787, I think the conclusion from #10806 applies to pseudo-classes as well, and I should reverse my earlier decision to disallow the :active-view-transition pseudo-classes after ::part(), even though today it is not possible for them to match. This makes that change behind the CSSPartAllowsMoreSelectorsAfter flag (status:experimental), which also contains other related changes. This matches WebKit's current implementation of those pseudo-classes. Bug: 40623497 Change-Id: I591fe30bb9e6c3a0953df318919f60dd6962d4a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5839421 Reviewed-by: Rune Lillesveen <futhark@chromium.org> Commit-Queue: David Baron <dbaron@chromium.org> Cr-Commit-Position: refs/heads/main@{#1351997} -- wpt-commits: a75813a805d96b9ef5236a2b31fe877967dc881a wpt-pr: 48013
…sses after ::part()., a=testonly Automatic update from web-platform-tests Allow :active-view-transition pseudo-classes after ::part(). Based on the discussion in w3c/csswg-drafts#10806 and also in w3c/csswg-drafts#10787, I think the conclusion from #10806 applies to pseudo-classes as well, and I should reverse my earlier decision to disallow the :active-view-transition pseudo-classes after ::part(), even though today it is not possible for them to match. This makes that change behind the CSSPartAllowsMoreSelectorsAfter flag (status:experimental), which also contains other related changes. This matches WebKit's current implementation of those pseudo-classes. Bug: 40623497 Change-Id: I591fe30bb9e6c3a0953df318919f60dd6962d4a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5839421 Reviewed-by: Rune Lillesveen <futharkchromium.org> Commit-Queue: David Baron <dbaronchromium.org> Cr-Commit-Position: refs/heads/main{#1351997} -- wpt-commits: a75813a805d96b9ef5236a2b31fe877967dc881a wpt-pr: 48013 UltraBlame original commit: c38fc2e2446120b0a73631d83718dc055830e074
…sses after ::part()., a=testonly Automatic update from web-platform-tests Allow :active-view-transition pseudo-classes after ::part(). Based on the discussion in w3c/csswg-drafts#10806 and also in w3c/csswg-drafts#10787, I think the conclusion from #10806 applies to pseudo-classes as well, and I should reverse my earlier decision to disallow the :active-view-transition pseudo-classes after ::part(), even though today it is not possible for them to match. This makes that change behind the CSSPartAllowsMoreSelectorsAfter flag (status:experimental), which also contains other related changes. This matches WebKit's current implementation of those pseudo-classes. Bug: 40623497 Change-Id: I591fe30bb9e6c3a0953df318919f60dd6962d4a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5839421 Reviewed-by: Rune Lillesveen <futharkchromium.org> Commit-Queue: David Baron <dbaronchromium.org> Cr-Commit-Position: refs/heads/main{#1351997} -- wpt-commits: a75813a805d96b9ef5236a2b31fe877967dc881a wpt-pr: 48013 UltraBlame original commit: c38fc2e2446120b0a73631d83718dc055830e074
…sses after ::part()., a=testonly Automatic update from web-platform-tests Allow :active-view-transition pseudo-classes after ::part(). Based on the discussion in w3c/csswg-drafts#10806 and also in w3c/csswg-drafts#10787, I think the conclusion from #10806 applies to pseudo-classes as well, and I should reverse my earlier decision to disallow the :active-view-transition pseudo-classes after ::part(), even though today it is not possible for them to match. This makes that change behind the CSSPartAllowsMoreSelectorsAfter flag (status:experimental), which also contains other related changes. This matches WebKit's current implementation of those pseudo-classes. Bug: 40623497 Change-Id: I591fe30bb9e6c3a0953df318919f60dd6962d4a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5839421 Reviewed-by: Rune Lillesveen <futharkchromium.org> Commit-Queue: David Baron <dbaronchromium.org> Cr-Commit-Position: refs/heads/main{#1351997} -- wpt-commits: a75813a805d96b9ef5236a2b31fe877967dc881a wpt-pr: 48013 UltraBlame original commit: c38fc2e2446120b0a73631d83718dc055830e074
…sses after ::part()., a=testonly Automatic update from web-platform-tests Allow :active-view-transition pseudo-classes after ::part(). Based on the discussion in w3c/csswg-drafts#10806 and also in w3c/csswg-drafts#10787, I think the conclusion from #10806 applies to pseudo-classes as well, and I should reverse my earlier decision to disallow the :active-view-transition pseudo-classes after ::part(), even though today it is not possible for them to match. This makes that change behind the CSSPartAllowsMoreSelectorsAfter flag (status:experimental), which also contains other related changes. This matches WebKit's current implementation of those pseudo-classes. Bug: 40623497 Change-Id: I591fe30bb9e6c3a0953df318919f60dd6962d4a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5839421 Reviewed-by: Rune Lillesveen <futhark@chromium.org> Commit-Queue: David Baron <dbaron@chromium.org> Cr-Commit-Position: refs/heads/main@{#1351997} -- wpt-commits: a75813a805d96b9ef5236a2b31fe877967dc881a wpt-pr: 48013
…sses after ::part()., a=testonly Automatic update from web-platform-tests Allow :active-view-transition pseudo-classes after ::part(). Based on the discussion in w3c/csswg-drafts#10806 and also in w3c/csswg-drafts#10787, I think the conclusion from #10806 applies to pseudo-classes as well, and I should reverse my earlier decision to disallow the :active-view-transition pseudo-classes after ::part(), even though today it is not possible for them to match. This makes that change behind the CSSPartAllowsMoreSelectorsAfter flag (status:experimental), which also contains other related changes. This matches WebKit's current implementation of those pseudo-classes. Bug: 40623497 Change-Id: I591fe30bb9e6c3a0953df318919f60dd6962d4a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5839421 Reviewed-by: Rune Lillesveen <futhark@chromium.org> Commit-Queue: David Baron <dbaron@chromium.org> Cr-Commit-Position: refs/heads/main@{#1351997} -- wpt-commits: a75813a805d96b9ef5236a2b31fe877967dc881a wpt-pr: 48013
My understanding of the view transition pseudo-elements is that they are all pseudo-elements on the root element. This means they don't really make sense to be allowed after
::part()
, despite that the::part
spec says that all pseudo-elements are allowed after::part()
.If we agree in #10786 that the rules on what is allowed after
::part()
are a parse-time restriction, then we probably need to decide whether the view transition pseudo-elements should be allowed. My current inclination is that they probably shouldn't be since they could never match, but I don't have a strong opinion.The text was updated successfully, but these errors were encountered: