[fxtf-drafts] [geometry] Specify stringifier for DOMRectList

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

== [geometry] Specify stringifier for DOMRectList ==
`JSON.stringify(document.body.getClientRects())` gives different results in different browsers.

Firefox: `"{\"0\":{}}"`
WebKit/Blink: `"{"0":{"x":8,"y":8,"width":577,"height":720.484375,"top":8,"right":585,"bottom":728.484375,"left":8}}"`

Does it make sense to align implementations after years of divergence? How would a DOMString look like? Like a serialization of a sequence of `DOMRect` objects?

Came up in #199.

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

Received on Sunday, 15 April 2018 16:37:34 UTC