Re: [geometry] Should DOMRect have a serializer

On 11/18/14, 1:09 PM, Tab Atkins Jr. wrote:
> On Tue, Nov 18, 2014 at 8:18 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
>> Specifically, should JSON.stringify on a DOMRect produce "{}" as it does not
>> per spec or something more like
>> '{"height":3462,"width":1263,"left":0,"bottom":3462,"right":1263,"top":0}'?
>
> And presumably this question would apply equally to all of the geometry classes?

Probably, yes.

-Boris

Received on Tuesday, 18 November 2014 18:50:19 UTC