DescriptionPasting \n into an empty TEXTAREA should set the caret after the \n.
This didn't work because isStartOfParagraph(endOfInsertedContent) was true and
<br> wasn't added.
This CL moves HTMLTextFormControlElement handling code earlier, and makes it
cover this case.
BUG=380471
Committed: https://crrev.com/fe0e7d280a97e68f43f5c66beaf4521030572912
Cr-Commit-Position: refs/heads/master@{#381685}
Patch Set 1 #
Messages
Total messages: 9 (4 generated)
|