← Back to release summary

Geometry interfaces

Category
DOM
Type
New or changed feature
Status
Enabled by default (Chrome 61)
Intent stage
None

Summary

This specification describes several geometry interfaces for the representation of points, rectangles, quadrilaterals and transformation matrices with the dimension of 3x2 and 4x4. SVGPoint, SVGRect and SVGMatrix will be aliased to new interfaces. Their old methods will be maintained and some new methods are introduced. In the near future, CSS transform will be updated so they can work directly with the new objects. This avoid parsing on the js side.

Standards & signals

Samples: https://hacks.mozilla.org/2014/03/introducing-the-getboxquads-api/

View on chromestatus.com