Re: [cssom-view] DOMRect with aliases x, y to left, top?

On Tue, 01 Oct 2013 16:00:05 +0200, François REMY  
<francois.remy.dev@outlook.com> wrote:

>> DOMRect should now be compatible with SVGRect, so SVG can start using  
>> it (or DOMRectReadOnly).
>
> Just a small editorial comment: correct english would prefer  
> ReadOnlyDOMRect to DOMRectReadyOnly.

Interface names don't need to be correct English. There is also  
URLUtilsReadOnly (although that name isn't exposed to JS).

> If we want to preserve the DOMRect beginning we should choose a noun  
> like snapshot to end the class name: DOMRectSnapshot or DOMRectView or  
> ...

Snapshot is wrong since a live object isn't a snapshot. View seems a bit  
weird to me, I think of DataView (which isn't readonly).

-- 
Simon Pieters
Opera Software

Received on Tuesday, 1 October 2013 18:13:06 UTC