The DOMRect/DOMRectReadOnly implementation are different with spec.
They should match up with the spec.
- The DOMRectReadOnly constructor shoud have default value.
- The DOMRectReadOnly interface requires serializer.
- The two interfaces require fromRect function.
- Old test should be rewritten using the testharness.js testing framework
- Add DOMRect dictionary
Related spec links:
- https://drafts.fxtf.org/geometry/#domrect
- https://drafts.fxtf.org/geometry/#domrectreadonly
Comment 1 by gog...@gmail.com
, Jan 3 2017