Repository navigation
Description
Completed implementation checkpoint — 19 September 2026, 00:44 CEST
PR #498 merged at 364368c1c3b03df38a0f4a7e9be7ca2edad5e074 and closed this focused issue. It provides the bounded retained single-layer alpha linear-gradient(...) mask path, including destination-in Skia/Avalonia/Uno and Flutter projection, partial/no-repeat coverage clearing, bounded repeat/position/size handling, top-level calc(percent ± px) size resolution, damage comparison, and authored native regression assertions.
The vscode-demo WebScene gitlink and local documentation advanced in local commit ea769c2; the integration branch remains intentionally unpushed. WebScene consolidation PR #76 is rebased at 64a8ad2e and remains draft/open/unmerged. Pull-request and post-merge CI tails were canceled under the current throughput policy.
Broader multiple-layer, radial, URL/SVG, luminance, and non-add mask work remains under #256. Build, WPT/browser/native, pixel, backend-parity, performance, memory, package, and CI validation remains recorded cumulative debt before release promotion.
Problem
WebScene parses and reflects mask-image plus its geometry longhands but publishes no retained mask composition. Unchanged Code OSS uses linear-gradient masks for SCM fades, Chat overflow/fade surfaces, thinking content, dictation onboarding, incremental rendering, and session chips. Those surfaces currently paint without their alpha masks.
Scope
- Recognize a bounded single
linear-gradient(...)mask image. - Open an isolated retained mask group around the complete element subtree.
- Publish a versioned mask-gradient resource carrying image/repeat/position/size.
- Apply the gradient with destination-in composition before restoring the group in Skia/Avalonia/Uno and Flutter.
- Preserve authored direction, alpha stops, percentages, basic pixel/calc positions, and the existing bounded background tiling geometry where available.
- Keep multiple mask layers, radial gradients, URL/SVG masks, non-add composites, and luminance masks as separate slices; never partially claim them.
- Add retained command, browser computed-value, backend, mutation, and lifecycle regression coverage.
Validation debt
Browser/native pixels, Skia/Flutter parity, animation, performance, memory, lifecycle, exact package, and CI gates remain required before release promotion but are deferred under the current implementation-throughput directive.
Activity