[Webkit-unassigned] [Bug 94833] Setting the value of textarea on an input event prevents new line to be inserted subsequently
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 1 00:31:04 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=94833
--- Comment #1 from Kent Tamura <tkent at chromium.org> 2012-10-01 00:31:29 PST ---
For the second ENTER, TypingCommand::insertLineBreak rejects to work because canAppendNewLineFeedToSelection(endingSelection()) returns false.
endingSelection() for the second ENTER is:
SE#text 0x7feb01516530 "\n"
start: legacy, offset, offset:0
end: legacy, offset, offset:0
though endingSelection() for the first ENTER was:
BODY 0x7feb031705f0
#text 0x7feb031a80f0 " "
TEXTAREA 0x7feb0316ee40
#shadow-root 0x7feb031744d0
SE DIV 0x7feb03171880
start: legacy, offset, offset:0
end: legacy, offset, offset:0
endingSelection() is pointing the text node removed by this.value='' ?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list