[Webkit-unassigned] [Bug 15903] When empty <input> is focused, window.getSelection().getRangeAt(0).startContainer returns an HTMLDivElement

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 23 02:44:20 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=15903


alexander.back at 1und1.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexander.back at 1und1.de




------- Comment #4 from alexander.back at 1und1.de  2008-07-23 02:44 PDT -------
I found out that this problem affects any input/textarea element whether empty
or not.

I also encountered problems with the "anchorNode" and "focusNode" properties of
the selection object. These properties as well as the "startContainer" and the
"endContainer" are returning a DIV element as parentNode of the selected text
node.

I've attached a simple testcase to demonstrate this behaviour.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list