M6: elements and window — Element/Render, headless Window, div, canvas #6

Merged
nandi merged 8 commits from feat/window into main 2026-11-29 06:14:49 +00:00
Showing only changes of commit 10ee6d1f21 - Show all commits
+1 -1
View File
@@ -430,7 +430,7 @@ gantt
`Style::refined` returns a new style. Only `StyleRefinement` (what
`Styled::style()` returns) is mutable, because it is the builder.
Nested updates are written as `style.text = { ..style.text, color: ... }`.
- `Styled` is one trait with 3,213 methods: about 140 hand-written in
- `Styled` is one trait with 3,213 methods: 132 hand-written in
`src/style/styled.mbt`, the rest generated as GPUI's macros would generate
them. GPUI's `text_style()` accessor (`&mut TextStyleRefinement`) is
omitted.