Changeset 245980 in webkit
- Timestamp:
- May 31, 2019 1:23:31 PM (5 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r245979 r245980 1 2019-05-31 Andres Gonzalez <andresg_22@apple.com> 2 3 Inserting a newline in contenteditable causes two characters to be added instead of one 4 https://bugs.webkit.org/show_bug.cgi?id=197894 5 <rdar://problems/49700998> 6 7 Reviewed by Chris Fleizach. 8 9 No new test is necessary since this is a comment change. 10 11 Removed radar reference from code. 12 13 * editing/Editing.cpp: 14 (WebCore::visiblePositionForIndexUsingCharacterIterator): 15 1 16 2019-05-31 Tim Horton <timothy_horton@apple.com> 2 17 -
trunk/Source/WebCore/editing/Editing.cpp
r245912 r245980 1124 1124 1125 1125 if (!it.atEnd() && it.text()[0] == '\n') { 1126 // FIXME: workaround for collapsed range (where only start position is correct) emitted for some emitted newlines (see rdar://5192593)1126 // FIXME: workaround for collapsed range (where only start position is correct) emitted for some emitted newlines. 1127 1127 auto range = it.range(); 1128 1128 if (range->startPosition() == range->endPosition()) {
Note: See TracChangeset
for help on using the changeset viewer.