W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2012

Re: Selection of a document that doesn't have a window

From: Aryeh Gregor <ayg@aryeh.name>
Date: Tue, 17 Jan 2012 13:52:37 -0500
Message-ID: <CAKA+AxmGstXfwt7FvWcvKyuFJ3f93n6v8bnGJ2YZEbpuLuni0g@mail.gmail.com>
To: Ojan Vafai <ojan@chromium.org>
Cc: Boris Zbarsky <bzbarsky@mit.edu>, Simon Pieters <simonp@opera.com>, Ryosuke Niwa <rniwa@webkit.org>, Ehsan Akhgari <ehsan@mozilla.com>, Stig Halvorsen <stighal@opera.com>, W3C WebApps WG <public-webapps@w3.org>
On Fri, Jan 13, 2012 at 5:12 PM, Ojan Vafai <ojan@chromium.org> wrote:
> We could define it in terms of defaultView (or browsing context) and put our
> effort into getting interoperability on defaultView?

This is what I've done for now:

http://dvcs.w3.org/hg/editing/rev/4dc4d65cc87e

At least behavior is pretty clear in the easy case of
document.implemention.createHTMLDocument("") or such.  In more
complicated cases, we probably want the same behavior as defaultView
anyway, so if we're going to define such behavior precisely we may as
well do it for defaultView instead of getSelection().

I've also filed a Mozilla bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=718741
Received on Tuesday, 17 January 2012 18:53:36 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:50 GMT