The DOMPoint/DOMPointReadOnly implementation are different with spec.
They should match up with the spec.
- The two interfaces require fromPoint function.
- The DOMPoint interface no longer requires constructor using DOMPointInit object.
- The DOMPointReadOnly interface requires serializer.
- The DOMPointReadOnly interface requires implementation of matrixTransform function.
Related spec links:
- https://drafts.fxtf.org/geometry/#dompointreadonly
- https://drafts.fxtf.org/geometry/#dompoint
Comment 1 by gog...@gmail.com
, Dec 18 2016