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

[Bug 10624] [Selection] Selection anchorNode/anchorOffset/focusNode/focusOffset do not match existing browser behaviour

From: <bugzilla@jessica.w3.org>
Date: Wed, 12 Jan 2011 09:08:34 +0000
To: public-webapps@w3.org
Message-Id: <E1Pcwh0-0005Qk-68@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10624

Ms2ger <Ms2ger@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #10 from Ms2ger <Ms2ger@gmail.com> 2011-01-12 09:08:33 UTC ---
LGTM.

https://bitbucket.org/ms2ger/dom-range/changeset/7963331ee0cb

(In reply to comment #8)
> Created attachment 941 [details]
> Proposed spec patch
> 
> This specs a reasonable approximation of Firefox's behavior, based on a
> combination of black-box testing and source code inspection.  No other browser
> seems to do anything sane here.  I haven't actually tried running the
> preprocessor or anything since I have no idea how that works, so I'm more or
> less cargo-culting the specific markup.

It worked out fine; ping me on IRC if you'd like to get it set up.

> Some stylistic thoughts:
> 
> * Is the "(respectively)" wording clear enough, or should it be more
> long-winded and explicit?

That's fine, IMO.

> * Should it be "should" or "must" for the direction of the selection if created
> by the user?

I made it a must, people can complain if that's too harsh.

(Also, note that IE's implementation is spec-based.)

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Wednesday, 12 January 2011 09:08:35 GMT

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