Open jamesnw opened 1 week ago
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.
https://github.com/oddbird/css-anchor-positioning/pull/207
Related:
https://github.com/oddbird/css-anchor-positioning/issues/103#issuecomment-2197293946
https://github.com/w3c/csswg-drafts/issues/10419
[ ] Unskip test from 5ab4ea406916fbe44edcca66c312fa863bf698d0
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.
https://github.com/oddbird/css-anchor-positioning/pull/207
Related:
https://github.com/oddbird/css-anchor-positioning/issues/103#issuecomment-2197293946
https://github.com/w3c/csswg-drafts/issues/10419
https://github.com/oddbird/css-anchor-positioning/pull/207
[ ] Unskip test from 5ab4ea406916fbe44edcca66c312fa863bf698d0