[svgwg] Merged Pull Request: Revert SVG*→DOM* geometry-interface aliasing (#706)

sideshowbarker has just merged karlcow's pull request 1143 for https://github.com/w3c/svgwg:

== Revert SVG*→DOM* geometry-interface aliasing (#706) ==
Per the 2019-10 WG resolutions: undo SVG 2's aliasing of SVGPoint/SVGRect/SVGMatrix to the corresponding DOM* Geometry interfaces. No browser engine adopted the aliasing over ~10 years, so the spec returns to its SVG 1.1 position: SVG geometry interfaces are standalone, not aliases.

Resolutions implemented:
R1. Revert SVG*→DOM* aliasing (pending CSS WG approval). R2. Use SVG* geometry interfaces in SVG spec IDL.
R3. Keep DOM*Init dictionary types as input parameters.

Deferred:
R4. Mixin extraction in CSS Geometry (pending CSS WG approval).

Changes:

* types.html, shapes.html, coords.html, struct.html, text.html — IDL return / attribute types reverted from DOMPoint/Rect/Matrix (and their *ReadOnly variants) to SVGPoint/SVGRect/SVGMatrix; DOMPointInit + DOMMatrix2DInit kept on isPointInFill, isPointInStroke, getCharNumAtPosition, setMatrix, createSVGTransformFromMatrix.

* shapes.html, coords.html — rewrote the two prose notes that explained the (now-removed) read-only-variant interface distinction to reflect the SVG 1.1 read-only-via-flag idiom.

* One DOMMatrixReadOnly.fromMatrix(matrix) call preserved in coords.html as a cross-spec API invocation.

* changes.html: 3 obsolete aliasing-introduction entries replaced with one revert-announcement entry.

* definitions.xml: autolink entries unchanged structurally; only Geometry-1 hrefs normalized.

* All Geometry-1 URL references migrated from www.w3.org/TR/{,2014/CR-,2014/WD-}geometry-1{,-YYYYMMDD}/ to drafts.csswg.org/geometry-1/, with fragment-anchor remapping (e.g. #dom-dompointreadonly-dompoint-x → #dom-dompointreadonly-x; #x-coordinate → #rectangle-x-coordinate).

See https://github.com/w3c/svgwg/pull/1143


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 29 June 2026 02:51:11 UTC