cupidsity
WebCore contributor
Summary
cupidsity works almost exclusively in WebCore on the CSS `corner-shape` property — superellipse and squircle corner geometry, `trimBezierToRect()` and cubic-Bézier-to-rect clipping, `oppositeCornerScaleFactor`, and the contoured-path algorithm that feeds outlines, box-shadow spread, and hit testing. The stream is feature implementation rather than security or hardening work, and its recurring shape is retrofit: subsystem after subsystem is found to silently ignore corner-shape and then wired up — composited content (`<video>`, images), backdrop-filter, `clip-path` with a `<geometry-box>`, `offset-path` — alongside repeated re-landings as the upstream curve algorithm changed under it. Systematic-variant candidate: enumerate the remaining consumers of the rounded-rect clip and paint paths and check each against a non-round contoured path. The integration gaps here have surfaced one subsystem at a time rather than all at once, and the float-geometry primitives underneath them (Bézier trimming, half-corner recomputation, inset early-returns) are new code.
Components
Security Fix History
- No security fixes recorded
Hardening Commits
- No hardening commits recorded
Recent Commits
- 2026-10-26 corner-shape: Ancestor overflow clip ignores corner-shape changes and clips square corners round
- 2026-09-22 [corner-shape] clip-path with a <geometry-box> ignores corner-shape
- 2026-08-31 corner-shape: the superellipse half-corner and Bézier handles are recomputed for every corner
- 2026-08-28 corner-shape: backdrop-filter is clipped to the rounded rect, ignoring corner-shape
- 2026-08-23 corner-shape: algorithm for outset curves needs to be updated to match new algorithm
- 2026-08-22 corner-shape: offset-path does not respect corner-shape
- 2026-08-21 corner-shape: square and notch corners are built as round and scoop on outlines and box-shadow spread
- 2026-08-16 corner-shape: non-round corner shapes are ignored for composited content (<video>, images, composited descendants)
- 2026-08-14 corner-shape: Implement oppositeCornerScaleFactor
- 2026-08-11 corner-shape: adopt the revised contoured-path algorithm
- 2026-08-05 corner-shape: fix hit testing
- 2026-07-31 corner-shape: corners are mis-positioned/mis-shaped on outlines and box-shadow spread
- 2026-07-30 corner-shape: update property details
- 2026-07-29 corner-shape: bevel/notch/square corners are mis-positioned on outlines and box-shadow spread
- 2026-07-23 corner-shape: add superellipse tests