← Back to release summary

Use DOMPointInit for getCharNumAtPosition, isPointInFill, isPointInStroke

Category
Miscellaneous
Type
Chromium catches up
Status
Enabled by default (Chrome 136)
Intent stage
None

Summary

This change brings Chromium code in line with the latest W3C spec for SVGGeometryElement and SVGPathElement in terms of usage of DOMPointInit over SVGPoint for getCharNumAtPosition, isPointInFill, isPointInStroke. The change has already landed: https://chromium-review.googlesource.com/c/chromium/src/+/6284886 Firefox and Safari already have this live making this a fairly safe change to land. Details for both added under Signals for both.

Motivation

To bring Chromium code in line with the latest W3C spec for SVGGeometryElement and SVGPathElement in terms of usage of DOMPointInit over SVGPoint for getCharNumAtPosition, isPointInFill, isPointInStroke.

Standards & signals

View on chromestatus.com