Files
SpriteandClaude Opus 5.5 cca9a49c51 M2 layout: LayoutEngine on Milky2018/chicle, conformance suite
- layout: port of GPUI's TaffyLayoutEngine (request_layout,
  request_measured_layout, compute_layout, layout_bounds,
  stretch_auto_size_to_fill) and LayoutStyle::to_taffy, with rem resolution
  and device-pixel snapping (round_half_toward_zero, stroke snapping, ceiled
  measured sizes). No cross-frame node cache yet (needs element ids, M6).
- Depend on Milky2018/chicle 0.6.3, the maintained successor of
  moon_taffy (which no longer compiles), instead of vendoring.
- conformance/chicle: standalone module running moon_taffy's 1,038 taffy
  fixtures against chicle; all pass on wasm, wasm-gc, js and native.
- card example now lays out its content with the engine.
- Docs: PORTING.md M2 status, revised decision 3, M2 deviations; README;
  NOTICE attribution for the conformance fixtures.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 22:09:49 +00:00

23 lines
423 B
AMPL

// MoonBit port of Zed's GPUI. See docs/PORTING.md.
name = "experiments/gpui"
version = "0.1.0"
readme = "README.md"
repository = "https://git.site.latha.org/experiments/moon-gpui"
license = "Apache-2.0"
keywords = [ "gui", "ui", "gpui", "layout", "graphics" ]
description = "A MoonBit port of GPUI, Zed's GPU-accelerated UI framework"
source = "src"
preferred_target = "js"
import {
"Milky2018/chicle@0.6.3",
}