[geometry] Proposed new WD of Geometry APIs

Hello FXTF, CSS WG (bcc), SVG WG (bcc),

I would like to propose that the Geometry APIs specification be published  
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 the  
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 full  
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 taken  
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 relevant  
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=133916
[2] https://bugs.webkit.org/show_bug.cgi?id=163464
[3] https://bugs.webkit.org/show_bug.cgi?id=110001
[4]  
https://groups.google.com/a/chromium.org/d/msg/blink-dev/cAiTOdSGyes/hnYqX9ApAwAJ
[5] https://bugzilla.mozilla.org/show_bug.cgi?id=1346399
[6]  
https://developer.microsoft.com/en-us/microsoft-edge/platform/status/geometryinterfaces/
[7] https://bugzilla.mozilla.org/show_bug.cgi?id=1346399#c3
[8] https://github.com/w3c/fxtf-drafts/pulls?utf8=✓&q=is%3Apr%20geometry
[9]  
https://github.com/w3c/fxtf-drafts/issues?utf8=✓&q=is%3Aissue%20is%3Aopen%20label%3Ageometry-1%20
[10]  
https://www.w3.org/Bugs/Public/buglist.cgi?component=Geometry&list_id=67205&product=FXTF&resolution=---
-- 
Simon Pieters
Opera Software

Received on Monday, 22 May 2017 14:57:11 UTC