W3C home > Mailing lists > Public > public-fxtf-archive@w3.org > April 2018

[fxtf-drafts] [geometry] DOMPoint constructor with DOMPointInit argument

From: Dirk Schulze via GitHub <sysbot+gh@w3.org>
Date: Sat, 14 Apr 2018 10:31:27 +0000
To: public-fxtf-archive@w3.org
Message-ID: <issues.opened-314318445-1523701886-sysbot+gh@w3.org>
dirkschulze has just created a new issue for https://github.com/w3c/fxtf-drafts:

== [geometry] DOMPoint constructor with DOMPointInit argument ==
The spec used to have a `DOMPoint` constructor which takes a `DOMPointReadOnly` argument. Apparently this was removed in favour for the static function `fromPoint` which takes a `DOMPointInit`.

I am not sure why it was removed but in testing it seems that Safari and Firefox to support the `DOMPointInit` as argument for `DOMPoint` constructor. Chrome does not though.

I suggest adding `DOMPointInit` constructor for `DOMPoint` in addition to the static `fromPoint` function which is implemented also.

Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/268 using your GitHub account
Received on Saturday, 14 April 2018 10:31:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:50:22 UTC