On Fri, Jan 13, 2012 at 5:12 PM, Ojan Vafai <[email protected]> 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
