You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Render Code OSS polygon clip paths in retained scenes #456
Unchanged Code OSS 645f29cc3176500b4b5762ba887cf2a7f0ffdf2c uses a six-point clip-path: polygon(...) for the Markdown diff change indicator in extensions/markdown-language-features/media/markdown.css. WebScene retains the computed value but emits no polygon clip, so the pseudo-element paints as its full rectangular background.
Focused implementation
Parse default-fill-rule polygons containing 3–64 point pairs expressed in px, %, or unitless zero.
Resolve point coordinates against the border box and publish one closed SVG path scene string.
Extend existing clip-begin kind 12 with an opt-in string-resource flag while retaining kind 13 as the balanced clip end.
Clip through the existing Skia and Flutter SVG path parsers; Uno shares the Skia presenter.
Preserve existing inset/circle clips and avoid a scene struct, version, capability, or command-kind change.
Fill-rule arguments, calc() and other units, ellipse/path/url clips, masks, foreground filters, backdrop effects, and isolation remain later #256 slices.
Validation debt
Implementation throughput is the current priority. Tests, browser/native pixel contracts, performance and lifecycle benchmarks, hosted checks, CI monitoring, and exact-package visual acceptance are explicitly deferred. No broader support or release claim is made from this implementation alone.
Activity