DioxusLabs/taffy

Add tests for negative margins

Offen

#475 geöffnet am 01.05.2023

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Rust (192 Forks)github user discovery
good first issuetesting

Repository-Metriken

Stars
 (3.189 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 15h 41m) (25 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide