Skip to content

[css-anchor-positioning-1] Clarify that an element can anchor to another within the same skipped contents#10583

Merged
tabatkins merged 2 commits into
mainfrom
chrishtr-patch-1
Jul 17, 2024
Merged

[css-anchor-positioning-1] Clarify that an element can anchor to another within the same skipped contents#10583
tabatkins merged 2 commits into
mainfrom
chrishtr-patch-1

Conversation

@chrishtr
Copy link
Copy Markdown
Contributor

The complicated wording indicates that you have to have exactly the same "leaf" skipped contents. IOW, anchors can't flow across an element that skips its contents to something outside, but two things in a skipped subtree without intervening skipped-causing elements can anchor to each other.

This change allows browsers to avoid layout of skipped content when starting to skip subtrees.

@chrishtr chrishtr requested a review from tabatkins July 17, 2024 00:00
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Jul 17, 2024
The solution is described in this document:
https://docs.google.com/document/d/1xYfuf2qp1rHRP22zBKvSl4MIPx8fTnefmgYlSOhkArs/edit?tab=t.0

Spec edit: w3c/csswg-drafts#10583

Bug: 333443429

Change-Id: I04ec19ec091da7c1ef0889b60f601b190874236f
@tabatkins tabatkins merged commit 704c501 into main Jul 17, 2024
@tabatkins tabatkins deleted the chrishtr-patch-1 branch July 17, 2024 17:08
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Jul 17, 2024
The solution is described in this document:
https://docs.google.com/document/d/1xYfuf2qp1rHRP22zBKvSl4MIPx8fTnefmgYlSOhkArs/edit?tab=t.0

Spec edit: w3c/csswg-drafts#10583

Bug: 333443429

Change-Id: I04ec19ec091da7c1ef0889b60f601b190874236f
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Jul 17, 2024
The solution is described in this document:
https://docs.google.com/document/d/1xYfuf2qp1rHRP22zBKvSl4MIPx8fTnefmgYlSOhkArs/edit?tab=t.0

Spec edit: w3c/csswg-drafts#10583

Bug: 333443429

Change-Id: I04ec19ec091da7c1ef0889b60f601b190874236f
aarongable pushed a commit to chromium/chromium that referenced this pull request Jul 18, 2024
The solution is described in this document:
https://docs.google.com/document/d/1xYfuf2qp1rHRP22zBKvSl4MIPx8fTnefmgYlSOhkArs/edit?tab=t.0

Spec edit: w3c/csswg-drafts#10583


Bug: 333443429

Change-Id: I04ec19ec091da7c1ef0889b60f601b190874236f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5671067
Reviewed-by: Vladimir Levin <vmpstr@chromium.org>
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1329246}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Jul 18, 2024
The solution is described in this document:
https://docs.google.com/document/d/1xYfuf2qp1rHRP22zBKvSl4MIPx8fTnefmgYlSOhkArs/edit?tab=t.0

Spec edit: w3c/csswg-drafts#10583

Bug: 333443429

Change-Id: I04ec19ec091da7c1ef0889b60f601b190874236f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5671067
Reviewed-by: Vladimir Levin <vmpstr@chromium.org>
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1329246}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Jul 18, 2024
The solution is described in this document:
https://docs.google.com/document/d/1xYfuf2qp1rHRP22zBKvSl4MIPx8fTnefmgYlSOhkArs/edit?tab=t.0

Spec edit: w3c/csswg-drafts#10583

Bug: 333443429

Change-Id: I04ec19ec091da7c1ef0889b60f601b190874236f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5671067
Reviewed-by: Vladimir Levin <vmpstr@chromium.org>
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1329246}
sadym-chromium pushed a commit to web-platform-tests/wpt that referenced this pull request Jul 18, 2024
The solution is described in this document:
https://docs.google.com/document/d/1xYfuf2qp1rHRP22zBKvSl4MIPx8fTnefmgYlSOhkArs/edit?tab=t.0

Spec edit: w3c/csswg-drafts#10583

Bug: 333443429

Change-Id: I04ec19ec091da7c1ef0889b60f601b190874236f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5671067
Reviewed-by: Vladimir Levin <vmpstr@chromium.org>
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1329246}
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Jul 19, 2024
… positioning, a=testonly

Automatic update from web-platform-tests
Integrate content-visibility with anchor positioning

The solution is described in this document:
https://docs.google.com/document/d/1xYfuf2qp1rHRP22zBKvSl4MIPx8fTnefmgYlSOhkArs/edit?tab=t.0

Spec edit: w3c/csswg-drafts#10583

Bug: 333443429

Change-Id: I04ec19ec091da7c1ef0889b60f601b190874236f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5671067
Reviewed-by: Vladimir Levin <vmpstr@chromium.org>
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1329246}

--

wpt-commits: 689374032a3e9d122bcbabda79a782f794554441
wpt-pr: 47170
marcoscaceres pushed a commit to web-platform-tests/wpt that referenced this pull request Jul 22, 2024
The solution is described in this document:
https://docs.google.com/document/d/1xYfuf2qp1rHRP22zBKvSl4MIPx8fTnefmgYlSOhkArs/edit?tab=t.0

Spec edit: w3c/csswg-drafts#10583

Bug: 333443429

Change-Id: I04ec19ec091da7c1ef0889b60f601b190874236f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5671067
Reviewed-by: Vladimir Levin <vmpstr@chromium.org>
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1329246}
jwidar pushed a commit to jwidar/LatencyZeroGithub that referenced this pull request Sep 16, 2025
… positioning, a=testonly

Automatic update from web-platform-tests
Integrate content-visibility with anchor positioning

The solution is described in this document:
https://docs.google.com/document/d/1xYfuf2qp1rHRP22zBKvSl4MIPx8fTnefmgYlSOhkArs/edit?tab=t.0

Spec edit: w3c/csswg-drafts#10583

Bug: 333443429

Change-Id: I04ec19ec091da7c1ef0889b60f601b190874236f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5671067
Reviewed-by: Vladimir Levin <vmpstr@chromium.org>
Commit-Queue: Chris Harrelson <chrishtr@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1329246}

--

wpt-commits: 689374032a3e9d122bcbabda79a782f794554441
wpt-pr: 47170
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.

2 participants