Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Intent to ship: DOMPoint interface from its latest spec

55 views
Skip to first unread message

Blake Kaplan

unread,
Apr 16, 2018, 12:41:59 PM4/16/18
to
Over in bug 1186265 [1], I've updated our implementation of the DOMPoint and
DOMPointReadOnly interfaces to the current draft spec. Our previous
implementation was of the CR, released in 2014. The change with the most
danger of breaking existing code is the removal of the constructor taking a
DOMPointInit dictionary and moving it to a DOMPoint{ReadOnly}.fromPoint static
function. We don't have any evidence that this constructor is used in the
wild.

This will be available everywhere. This change causes us to pass several
previously-failing WPTs and I've updated the one test that assumed the old
interface to correctly test the new interface.

Spec: https://drafts.fxtf.org/geometry/#dompoint
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1186265
--
Blake Kaplan
0 new messages