DioxusLabs/taffy

Add tests for negative margins

オープン

#475 opened on 2023/05/01

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (192 件のフォーク)github user discovery
good first issuetesting

Repository metrics

Stars
 (3,189 個のスター)
PR merge metrics
 (平均マージ 15h 41m) (30d で 25 merged PRs)

説明

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

コントリビューターガイド