26 lines
1.0 KiB
Markdown
26 lines
1.0 KiB
Markdown
# Layout conformance suite
|
|
|
|
1,038 layout fixtures, run against `Milky2018/chicle`, the layout engine
|
|
behind `experiments/gpui/layout`. They are taffy's generated layout fixtures
|
|
(flexbox, grid, block, measured leaves), as ported to MoonBit in
|
|
`Milky2018/moon_taffy@0.5.3` (`src/tests/upstream`). That package no longer
|
|
compiles on the current MoonBit toolchain; its successor, chicle, does.
|
|
|
|
Run this suite before raising the chicle version in the root `moon.mod`:
|
|
|
|
```sh
|
|
cd conformance/chicle
|
|
moon test --target all
|
|
```
|
|
|
|
As of chicle 0.6.3 and moon 0.1.20261119, all 1,038 tests pass on wasm,
|
|
wasm-gc, js and native, in about 40 seconds. The suite is kept outside the
|
|
main module so that `moon test` at the repository root stays fast.
|
|
|
|
The only changes from upstream are the renames `TaffyTree` → `ChicleTree`
|
|
and `TaffyError` → `ChicleError`, and the import paths in `moon.pkg`.
|
|
|
|
License: Apache-2.0. Copyright 2025 International Digital Economy Academy
|
|
(see the file headers). The fixtures derive from taffy
|
|
(https://github.com/DioxusLabs/taffy, MIT).
|