In order to replace SVGPoint by DOMPoint, DOMPoint has to communicate changes with its observer. Changing DOMPoint will not be allowed if the observer is read-only.
Created attachment 380037 [details] Patch
Created attachment 380127 [details] Patch
Created attachment 380130 [details] Patch
Created attachment 380133 [details] Patch
Created attachment 380147 [details] Patch
Comment on attachment 380147 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=380147&action=review > Source/WebCore/dom/DOMPoint.h:98 > +static_assert(sizeof(DOMPoint) == sizeof(DOMPointReadOnly) + sizeof(DOMLiveProperty), ""); Let's remove this. This `static_assert` ensures that it is OK that DOMPoint shares the same IsoHeap with DOMPointReadOnly. But now, this patch changes DOMPoint, and now they are not the same layout. This patch introduced IsoHeap for DOMPoint (this is mandatory), and then, this static_assert is not necessary.
Created attachment 380154 [details] Patch for review
*** Bug 201783 has been marked as a duplicate of this bug. ***
Comment on attachment 380154 [details] Patch for review r- because applying the patch does not work. Looks like rebase is necessary.
Replacing SVGRect/SVGPoint/SVGMatrix by DOM equivalents was reverted in the specs: https://github.com/w3c/svgwg/issues/706. So this bug is now invalid and the attached patch should not be considered.