DioxusLabs/taffy

Add tests for negative margins

Aberta

#475 aberto em 1 de mai. de 2023

 (1 comentário) (0 reação) (0 responsável)Rust (192 forks)github user discovery
good first issuetesting

Métricas do repositório

Stars
 (3.189 estrelas)
Métricas de merge de PR
 (Mesclagem média 15h 41m) (25 fundiu PRs em 30d)

Description

What problem does this solve or what need does it fill?

CSS supports negative margins, and Taffy also support setting a negative value for a margin style. However Taffy currently doesn't have any tests for negative margins (and I suspect we don't lay them out correctly either, although we won't know until we have tests)

What solution would you like?

  • Add generated tests for negative margins (for flexbox, grid, and leaf layout modes)
  • Fix any bugs

Guia do colaborador