[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
Fri Nov 9 08:14:14 PST 2007


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





------- Comment #3 from aroben at apple.com  2007-11-09 08:14 PDT -------
(In reply to comment #2)
> 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.

I guess we'll have to test other browsers as well. I only mentioned the empty
case here because it was clearly wrong.


-- 
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