Changeset 248037 in webkit
- Timestamp:
- Jul 31, 2019, 7:36:06 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 1 deleted
- 5 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/TestExpectations (modified) (1 diff)
-
LayoutTests/accessibility/ios-simulator/set-selected-text-range-after-newline.html (deleted)
-
LayoutTests/platform/ios-wk2/TestExpectations (modified) (2 diffs)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/editing/Editing.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r248036 r248037 1 2019-07-31 Andres Gonzalez <andresg_22@apple.com> 2 3 AX: Re-enable accessibility/set-selected-text-range-after-newline.html test. 4 https://bugs.webkit.org/show_bug.cgi?id=199431 5 <rdar://problem/52563340> 6 7 Reviewed by Chris Fleizach. 8 9 * TestExpectations: 10 * accessibility/ios-simulator/set-selected-text-range-after-newline.html: Removed because it was the same as the one in the parent accessibility directory, so enabling it for iOS in ios-wk2/TestExpectations. 11 * platform/ios-wk2/TestExpectations: 12 1 13 2019-07-31 Carlos Garcia Campos <cgarcia@igalia.com> 2 14 -
trunk/LayoutTests/TestExpectations
r247661 r248037 2209 2209 ### START OF -disabled tests 2210 2210 2211 webkit.org/b/199431 accessibility/set-selected-text-range-after-newline.html [ Skip ]2212 2211 webkit.org/b/20871 js/garbage-collect-after-string-appends.html [ Skip ] 2213 2212 webkit.org/b/58323 compositing/objects/composited-object-alignment.html [ Skip ] -
trunk/LayoutTests/platform/ios-wk2/TestExpectations
r247919 r248037 25 25 editing/undo-manager [ Pass ] 26 26 27 accessibility/set-selected-text-range-after-newline.html [ Pass ] 27 28 accessibility/smart-invert.html [ Pass ] 28 29 accessibility/smart-invert-reference.html [ Pass ] … … 997 998 fast/replaced/border-radius-clip.html [ Failure ] 998 999 accessibility/ios-simulator/press-fires-touch-events.html [ Skip ] 999 webkit.org/b/199431 accessibility/ios-simulator/set-selected-text-range-after-newline.html [ Skip ]1000 1000 1001 1001 fast/text/combining-character-sequence-vertical.html [ ImageOnlyFailure ] -
trunk/Source/WebCore/ChangeLog
r248034 r248037 1 2019-07-31 Andres Gonzalez <andresg_22@apple.com> 2 3 AX: Re-enable accessibility/set-selected-text-range-after-newline.html test. 4 https://bugs.webkit.org/show_bug.cgi?id=199431 5 <rdar://problem/52563340> 6 7 Reviewed by Chris Fleizach. 8 9 - Re-enabled LayoutTests/accessibility/set-selected-text-range-after-newline.html. 10 - Put back workaround in visiblePositionForIndexUsingCharacterIterator 11 that is needed for several accessibility issues. 12 - This workaround was rolled back because it was thought the cause of: 13 https://bugs.webkit.org/show_bug.cgi?id=199434 14 It turned out that the actual cause of that hang was unrelated and was 15 fixed in: 16 https://bugs.webkit.org/show_bug.cgi?id=199845 17 18 * editing/Editing.cpp: 19 (WebCore::visiblePositionForIndexUsingCharacterIterator): 20 1 21 2019-07-31 Devin Rousso <drousso@apple.com> 2 22 -
trunk/Source/WebCore/editing/Editing.cpp
r247093 r248037 1123 1123 it.advance(index - 1); 1124 1124 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. 1127 auto iteratorRange = it.range(); 1128 if (iteratorRange->startPosition() == iteratorRange->endPosition()) { 1129 it.advance(1); 1130 if (!it.atEnd()) 1131 return VisiblePosition(it.range()->startPosition()); 1132 } 1133 } 1134 1125 1135 return { it.atEnd() ? range->endPosition() : it.range()->endPosition(), UPSTREAM }; 1126 1136 }
Note:
See TracChangeset
for help on using the changeset viewer.