[Webkit-unassigned] [Bug 15903] New: 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 14:19:42 PST 2007


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

           Summary: When empty <input> is focused,
                    window.getSelection().getRangeAt(0).startContainer
                    returns an HTMLDivElement
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: aroben at apple.com
                CC: adele at apple.com


When an empty <input> element is focused,
window.getSelection().getRangeAt(0).startContainer returns an HTMLDivElement. I
believe this is the HTMLInnerTextField element we put in the shadow tree. We
should be returning the HTMLInputElement itself, not this shadow child.


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