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

Use Layout/Box tree order instead of DOM Tree order #209

Open
1 task
jamesnw opened this issue Jun 28, 2024 · 0 comments
Open
1 task

Use Layout/Box tree order instead of DOM Tree order #209

jamesnw opened this issue Jun 28, 2024 · 0 comments
Labels
α alpha anchor-position-1 Feature as specified in https://drafts.csswg.org/css-anchor-position-1 enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@jamesnw
Copy link
Contributor

jamesnw commented Jun 28, 2024

Per @mfreed7- " What matters is that the anchor element gets laid out first, and the anchored/positioned element gets laid out after that."

DOM and Layout/Box tree order are quite similar, but aren't identical. For a counter example, see https://github.com/web-platform-tests/wpt/blob/master/css/css-anchor-position/anchor-position-top-layer-005.html.

#207

Related:

@jamesnw jamesnw added enhancement New feature or request anchor-position-1 Feature as specified in https://drafts.csswg.org/css-anchor-position-1 α alpha labels Jun 28, 2024
@jamesnw jamesnw added this to the v1.0 milestone Jun 28, 2024
@jgerigmeyer jgerigmeyer added the good first issue Good for newcomers label Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
α alpha anchor-position-1 Feature as specified in https://drafts.csswg.org/css-anchor-position-1 enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants