- From: Simon Pieters <simonp@opera.com>
- Date: Thu, 26 Sep 2013 15:34:46 +0200
- To: "Robert O'Callahan" <robert@ocallahan.org>
- Cc: www-style <www-style@w3.org>, "Boris Zbarsky" <bzbarsky@mit.edu>
On Thu, 26 Sep 2013 13:17:55 +0200, Robert O'Callahan <robert@ocallahan.org> wrote: > On Thu, Sep 26, 2013 at 8:49 PM, Simon Pieters <simonp@opera.com> wrote: > >> >> http://lists.w3.org/Archives/Public/public-script-coord/2013JulSep/thread.html#msg663 >> >> Takeaway so far: >> >> * There is precedent for separate interfaces: URLUtils and >> URLUtilsReadOnly. >> * Anne van Kesteren at least seems to prefer separate interfaces. >> > > We can have separate interfaces but I don't think one should inherit from > the other. That gets confusing because you have a "read only" or > "immutable" interface which is also implemented by objects which are > mutable. Yeah, I agree that the inheritance can be confusing. > Next decision: DOMRectImmutable or DOMRectReadOnly? Immutable seems more accurate. I've changed the spec to use DOMRect and DOMRectImmutable without inheritance. https://dvcs.w3.org/hg/csswg/rev/2c78cbe04199 -- Simon Pieters Opera Software
Received on Thursday, 26 September 2013 13:35:24 UTC