[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
Thu Nov 8 23:48:03 PST 2007


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


ap at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ap at webkit.org




------- Comment #2 from ap at webkit.org  2007-11-08 23:48 PDT -------
What should we return if the INPUT is not empty?

Firefox seems to behave differently - it returns last selection outside INPUT
(such as (BODY, 0) - (BODY, 0)) or raises an exception because of not being
able to execute getRange(), depending on some conditions that aren't clear to
me.


-- 
Configure bugmail: http://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