[fxtf-drafts] [geometry-1] DOMRect should have a serialization hook (#396)

TimothyGu has just created a new issue for https://github.com/w3c/fxtf-drafts:

== [geometry-1] DOMRect should have a serialization hook ==
Currently, SVG's [`SVGAnimatedRect`](https://svgwg.org/svg2-draft/types.html#InterfaceSVGAnimatedRect) has the following clause:

> Whenever the x coordinate, y coordinate, width or height property of the baseVal or animVal [`DOMRect`] object changes, except as part of the previous algorithm that reflects the value of the content attribute into the [`DOMRect`], the reflected content attribute must be reserialized.

This seems to be a layering violation. Instead, there should be a hook for observing such changes within this spec, that SVG can use to do the reserialization.

[`DOMRect`]: https://drafts.fxtf.org/geometry/#domrect


Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/396 using your GitHub account

Received on Sunday, 29 March 2020 17:07:33 UTC