oddbird/css-anchor-positioning

Use Layout/Box tree order instead of DOM Tree order

Aberta

#209 aberto em 28 de jun. de 2024

 (0 comentário) (0 reação) (0 responsável)TypeScript (18 forks)auto 404
anchor-position-1enhancementgood first issueα alpha

Métricas do repositório

Stars
 (489 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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:

Guia do colaborador