Avatar for the PupilTong user
PupilTong
Paws
BlogDocsChangelog

Performance History

Latest Results

feat: implement CSS stacking context support with paint-order sorting Move paint-order logic from the iOS renderer into the engine's extract_layout_tree phase so all renderers receive correctly ordered LayoutBox trees per CSS2.1 Appendix E. - Add creates_stacking_context() detecting 15 CSS triggers (position, z-index, opacity, transform, filter, backdrop-filter, perspective, clip-path, mix-blend-mode, isolation, contain, container-type, will-change, flex/grid items) - Add sort_children_by_paint_order() using stable sort with (paint_layer, z_index) composite key and DOM-order tiebreaking - Add creates_stacking_context field to LayoutBox - Remove flat z-index sort from iOS renderer (now just iterates children in engine-provided order) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
claude/festive-chatterjee
7 hours ago
feat: Parley text layout, iOS text rendering, and commit hook wiring (#49) ## Summary - **Parley text layout**: Replace `MockTextMeasurer` with real text measurement via Parley (`FontContext` + `LayoutContext`), supporting font size, weight, and line wrapping. `TextLayoutContext` is owned by `Document` and created eagerly. - **iOS text rendering**: Full pipeline from DOM text nodes β†’ `LayoutBox` β†’ text ops β†’ `CATextLayer`. Adds 6 new op-codes (`DeclareText`, `SetTextContent`, `SetTextFont`, `SetTextColor`, `DetachText`, `ReleaseText`) with a string table for variable-length text content. - **Commit hook wiring**: `RuntimeState.commit_hook` delivers `LayoutBox` β†’ `ViewTree` β†’ `OpBuffer` β†’ completion callback, resolving the long-standing TODO in `thread.rs`. Ops and string table are now delivered to Swift on every `__commit`. - **WASM `__create_text_node`**: New host function + `rust-wasm-binding` wrapper for WASM guests to create text nodes. - **iOS tests**: Fix broken Xcode tests (missing `demoWat`/`postRunWat`), add `paws_renderer_post_run_wat` FFI, and add 3 text rendering tests (`testTextNodeCreatesTextLayer`, `testTextLayerHasContent`, `testTextLayerHasNonZeroFrame`). - **iOS CI**: New `ios-tests.yml` workflow on `macos-15` runner with simulator-based `xcodebuild test`. ## Test plan - [x] `cargo test --all` β€” 308 tests pass - [x] `cargo clippy --all-targets --all-features -- -D warnings` β€” clean - [x] `cargo fmt --check` β€” clean - [ ] iOS simulator tests via `xcodebuild test` (new CI workflow) πŸ€– Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
main
19 hours ago

Latest Branches

CodSpeed Performance Gauge
-33%
Implement CSS stacking context support with paint-order sorting#52
7 hours ago
e6eaf7f
claude/festive-chatterjee
CodSpeed Performance Gauge
-35%
10 hours ago
ff502ef
claude/research-stacking-context-14sv2
CodSpeed Performance Gauge
+38%
refactor: introduce EngineRenderer trait, make RuntimeState<R> generic#51
14 hours ago
58b7d34
claude/angry-stonebraker
Β© 2026 CodSpeed Technology
Home Terms Privacy Docs