-
Notifications
You must be signed in to change notification settings - Fork 708
[css-contain-3] Pseudo elements and shadow DOM #5984 #6711 #7019
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
Conversation
Per resolution for issues w3c#5984 and w3c#6711: w3c#5984 (comment) w3c#6711 (comment)
css-contain-3/Overview.bs
Outdated
the <a>shadow-including inclusive ancestors</a> of the <a>ultimate | ||
originating element</a>. | ||
|
||
It follows that: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This following section seems like it could be in a note, rather than part of the normative text?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
css-contain-3/Overview.bs
Outdated
past other elements for the purpose of inheritance and rendering | ||
* Multiple pseudo elements do not allow pseudo elements to be query | ||
containers for other pseudo elements. E.g., the host, but not the part() | ||
can be the query container for ''::before'' in ''host::part()::before'' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ''foo''
syntax is meant for auto-linking 'CSS definition types except property and descriptor'. I'm not sure if that includes the pseudo-elements above, but I don't think it includes example selectors. Probably better to use <code>
in these cases?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works for the pseudo elements. I've left some as auto-linking, but <code>
when it talks about parts of the example selector.
Pseudo element and shadow dom behavior resolved and spec changed[1]. [1] w3c/csswg-drafts#7019 Bug: 1269192, 1217976 Change-Id: Ie2b8ee1b35d7464581a53201c1b16d29c49baae4
Pseudo element and shadow dom behavior resolved and spec changed[1]. [1] w3c/csswg-drafts#7019 Bug: 1269192, 1217976 Change-Id: Ie2b8ee1b35d7464581a53201c1b16d29c49baae4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3440660 Commit-Queue: Rune Lillesveen <futhark@chromium.org> Auto-Submit: Rune Lillesveen <futhark@chromium.org> Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org> Cr-Commit-Position: refs/heads/main@{#967991}
Pseudo element and shadow dom behavior resolved and spec changed[1]. [1] w3c/csswg-drafts#7019 Bug: 1269192, 1217976 Change-Id: Ie2b8ee1b35d7464581a53201c1b16d29c49baae4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3440660 Commit-Queue: Rune Lillesveen <futhark@chromium.org> Auto-Submit: Rune Lillesveen <futhark@chromium.org> Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org> Cr-Commit-Position: refs/heads/main@{#967991}
Pseudo element and shadow dom behavior resolved and spec changed[1]. [1] w3c/csswg-drafts#7019 Bug: 1269192, 1217976 Change-Id: Ie2b8ee1b35d7464581a53201c1b16d29c49baae4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3440660 Commit-Queue: Rune Lillesveen <futhark@chromium.org> Auto-Submit: Rune Lillesveen <futhark@chromium.org> Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org> Cr-Commit-Position: refs/heads/main@{#967991}
Pseudo element and shadow dom behavior resolved and spec changed[1]. [1] w3c/csswg-drafts#7019 Bug: 1269192, 1217976 Change-Id: Ie2b8ee1b35d7464581a53201c1b16d29c49baae4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3440660 Commit-Queue: Rune Lillesveen <futhark@chromium.org> Auto-Submit: Rune Lillesveen <futhark@chromium.org> Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org> Cr-Commit-Position: refs/heads/main@{#967991}
…ive, a=testonly Automatic update from web-platform-tests [@container] Make tentative tests normative Pseudo element and shadow dom behavior resolved and spec changed[1]. [1] w3c/csswg-drafts#7019 Bug: 1269192, 1217976 Change-Id: Ie2b8ee1b35d7464581a53201c1b16d29c49baae4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3440660 Commit-Queue: Rune Lillesveen <futhark@chromium.org> Auto-Submit: Rune Lillesveen <futhark@chromium.org> Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org> Cr-Commit-Position: refs/heads/main@{#967991} -- wpt-commits: 974633788f17c1a1ecf963a9b4c0ea979da00aa8 wpt-pr: 32731
Pseudo element and shadow dom behavior resolved and spec changed[1]. [1] w3c/csswg-drafts#7019 Bug: 1269192, 1217976 Change-Id: Ie2b8ee1b35d7464581a53201c1b16d29c49baae4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3440660 Commit-Queue: Rune Lillesveen <futhark@chromium.org> Auto-Submit: Rune Lillesveen <futhark@chromium.org> Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org> Cr-Commit-Position: refs/heads/main@{#967991}
…ive, a=testonly Automatic update from web-platform-tests [@container] Make tentative tests normative Pseudo element and shadow dom behavior resolved and spec changed[1]. [1] w3c/csswg-drafts#7019 Bug: 1269192, 1217976 Change-Id: Ie2b8ee1b35d7464581a53201c1b16d29c49baae4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3440660 Commit-Queue: Rune Lillesveen <futhark@chromium.org> Auto-Submit: Rune Lillesveen <futhark@chromium.org> Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org> Cr-Commit-Position: refs/heads/main@{#967991} -- wpt-commits: 974633788f17c1a1ecf963a9b4c0ea979da00aa8 wpt-pr: 32731
…ive, a=testonly Automatic update from web-platform-tests [@container] Make tentative tests normative Pseudo element and shadow dom behavior resolved and spec changed[1]. [1] w3c/csswg-drafts#7019 Bug: 1269192, 1217976 Change-Id: Ie2b8ee1b35d7464581a53201c1b16d29c49baae4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3440660 Commit-Queue: Rune Lillesveen <futhark@chromium.org> Auto-Submit: Rune Lillesveen <futhark@chromium.org> Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org> Cr-Commit-Position: refs/heads/main@{#967991} -- wpt-commits: 974633788f17c1a1ecf963a9b4c0ea979da00aa8 wpt-pr: 32731
…ive, a=testonly Automatic update from web-platform-tests [@container] Make tentative tests normative Pseudo element and shadow dom behavior resolved and spec changed[1]. [1] w3c/csswg-drafts#7019 Bug: 1269192, 1217976 Change-Id: Ie2b8ee1b35d7464581a53201c1b16d29c49baae4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3440660 Commit-Queue: Rune Lillesveen <futhark@chromium.org> Auto-Submit: Rune Lillesveen <futhark@chromium.org> Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org> Cr-Commit-Position: refs/heads/main@{#967991} -- wpt-commits: 974633788f17c1a1ecf963a9b4c0ea979da00aa8 wpt-pr: 32731
Per resolution for issues #5984 and #6711:
#5984 (comment)
#6711 (comment)
Test coverage:
https://wpt.live/css/css-contain/container-queries/pseudo-elements-001.html
https://wpt.live/css/css-contain/container-queries/pseudo-elements-002.tentative.html
https://wpt.live/css/css-contain/container-queries/pseudo-elements-003.tentative.html
https://wpt.live/css/css-contain/container-queries/container-for-shadow-dom.tentative.html