Discussion:
[geometry] Proposed new WD of Geometry APIs
(too old to reply)
Simon Pieters
2017-05-22 14:56:32 UTC
Permalink
Raw Message
Hello FXTF, CSS WG (bcc), SVG WG (bcc),

I would like to propose that the Geometry APIs specification be publishe=
d =

as a new Working Draft (not yet prepared for boilerplate):

https://drafts.fxtf.org/geometry/

These APIs were implemented and shipped in Gecko a few years ago, but th=
e =

API shape has changed a bit since then. See the changes section for a =

rough outline of what has changed -- what Gecko implemented is basically=
=

the previous WD.

https://drafts.fxtf.org/geometry/#changes

WebKit has implemented and shipped DOMPoint [1] and DOMRect [2]. WebKit =
=

has recently implemented DOMMatrix [3].

Chromium has implemented and approved for shipping for basically the ful=
l =

spec. [4] There were some recent changes that were considered to block =

shipping but these are almost ironed out.

There is a bug filed for Gecko to update to the latest spec. [5]

The status entry for EdgeHTML is "under consideration". [6]

All of the above engines support WebKitCSSMatrix in some form, which =

according to the spec should be an alias to DOMMatrix. Since =

WebKitCSSMatrix is relatively widely used on the Web, care has been take=
n =

to make sure DOMMatrix is compatible with WebKitCSSMatrix. Unfortunately=
=

this resulted in a semantic change for DOMMatrix's rotate()/rotateSelf()=
=

methods, but DOMMatrix is not yet widely used and the change is easy to =
=

test for. [7]

For the recent changes made to the spec, I have written corresponding =

web-platform-tests and where appropriate filed browser bugs. The relevan=
t =

pull request for the spec should have pointers. [8]

There are still open issues [9] and bugs [10], but I think it is in =

reasonable shape.

cheers,

[1] https://bugs.webkit.org/show_bug.cgi?id=3D133916
[2] https://bugs.webkit.org/show_bug.cgi?id=3D163464
[3] https://bugs.webkit.org/show_bug.cgi?id=3D110001
[4] =

https://groups.google.com/a/chromium.org/d/msg/blink-dev/cAiTOdSGyes/hnY=
qX9ApAwAJ
[5] https://bugzilla.mozilla.org/show_bug.cgi?id=3D1346399
[6] =

https://developer.microsoft.com/en-us/microsoft-edge/platform/status/geo=
metryinterfaces/
[7] https://bugzilla.mozilla.org/show_bug.cgi?id=3D1346399#c3
[8] https://github.com/w3c/fxtf-drafts/pulls?utf8=3D=E2=9C=93&q=3Dis%3Ap=
r%20geometry
[9] =

https://github.com/w3c/fxtf-drafts/issues?utf8=3D=E2=9C=93&q=3Dis%3Aissu=
e%20is%3Aopen%20label%3Ageometry-1%20
[10] =

https://www.w3.org/Bugs/Public/buglist.cgi?component=3DGeometry&list_id=3D=
67205&product=3DFXTF&resolution=3D---
-- =

Simon Pieters
Opera Software

Loading...