W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > September 2010

[Bug 10583] toString does not represent what WebKit and Mozilla do, which is to return only the text within the selection that is visible to the user.

From: <bugzilla@jessica.w3.org>
Date: Sun, 26 Sep 2010 17:12:58 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1OzumY-0002CQ-Vq@jessica.w3.org>

Ian 'Hixie' Hickson <ian@hixie.ch> changed:

           What    |Removed                     |Added
                 CC|                            |annevk@opera.com,
                   |                            |ian@hixie.ch,
                   |                            |Ms2ger@gmail.com

--- Comment #3 from Ian 'Hixie' Hickson <ian@hixie.ch>  2010-09-26 17:12:57 ---
It seems it's even more subtle than that... if I take your example but make the
script element display:block, I get the script's contents with newlines around
it in the .toString() output.

I really don't want to make HTML depend on detailed CSS stuff for its

Anne, is there anything I can reference that can define this? Ms2ger, is there
any chance you can take Selection wholesale and put it in DOM Range?

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Sunday, 26 September 2010 17:13:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:25 UTC