[Webkit-unassigned] [Bug 9661] New: textContent returns "\n" for a <br> even if it is collapsed

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Thu Jun 29 23:49:20 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=9661

           Summary: textContent returns "\n" for a <br> even if it is
                    collapsed
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: ddkilzer at kilzer.net
                CC: sullivan at apple.com, adele at apple.com, darin at apple.com,
                    ap at nypop.com, justin.garcia at apple.com


When the last character in a text input field is deleted, a <br> placeholder is
inserted.  The problem is that textContent returns "\n" for a <br> even if it's
collapsed.  In HTMLInputElement:setValueFromRenderer(), value = "\n" and
constrainValue(value) = "".

See Bug 9358 for the original issue (an assertion failure).


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