Bug 169482 - Update Geometry interfaces to the latest spec
Summary: Update Geometry interfaces to the latest spec
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Blocks: 163505
  Show dependency treegraph
Reported: 2017-03-10 13:53 PST by xlai
Modified: 2017-03-18 17:18 PDT (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description xlai 2017-03-10 13:53:23 PST
WebKit has started implemented some Geometry interfaces (https://bugs.webkit.org/show_bug.cgi?id=133916, https://bugs.webkit.org/show_bug.cgi?id=163464).

The Geometry interfaces spec (https://drafts.fxtf.org/geometry/) has gone through some changes recently (https://drafts.fxtf.org/geometry/#changes). 
This include structured cloning as well as new constructors to *ReadOnly interfaces. 

To achieve conformance with other browsers like Chrome, it would be better to update these implementation to match the latest spec.
Comment 1 Simon Fraser (smfr) 2017-03-10 14:39:50 PST
I implemented DOMPoint and DOMRect to the latest spec, but then added the v1 DOMPoint constructor IIRC. That change could be rolled out.