Skip to content

Render explicit ellipse clip paths in retained scenes #493

Closed

Description

@wieslawsoltes

Problem

WebScene accepts clip-path: ellipse(...) and exposes it through computed style, but retained scene emission only handles inset, circle, and polygon shapes. Elliptical authored clips therefore paint unclipped.

Scope

  • Parse a bounded explicit two-radius ellipse(rx ry) with optional at cx cy.
  • Resolve pixel/percentage radii and centers against the border box.
  • Emit the ellipse through the existing retained SVG-path clip resource and balanced clip scope.
  • Reject omitted/keyword radii and unsupported position grammar fail-closed for later slices.
  • Preserve transforms, filters, descendants, damage, and backend parity.
  • Add native path-command and browser computed-value regression coverage.

Validation debt

Browser/native pixels, antialiasing, performance, memory, lifecycle, exact package, and CI gates remain required before release promotion but are deferred under the current implementation-throughput directive.

Parent: #256. Coordination: #235/#241/#243.

Activity

  1. wieslawsoltes commented on Sep 18, 2026

    @wieslawsoltes
    CollaboratorAuthor

    Implemented and merged by PR #494 at 5d61013812347a8465c00db9022c769d1e1e005f. Explicit two-radius/two-position ellipses now use the balanced indexed SVG-path clip scope. CI tails were canceled; authored coverage and cumulative browser/native pixel/performance/memory/package validation remain debt under #256/#235.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions