Changeset 248361 in webkit
- Timestamp:
- Aug 6, 2019, 11:53:10 PM (7 years ago)
- Location:
- branches/safari-608.1-branch
- 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
-
branches/safari-608.1-branch/LayoutTests/ChangeLog
r248359 r248361 1 2019-08-06 Kocsen Chung <kocsen_chung@apple.com> 2 3 Cherry-pick r248037. rdar://problem/54018119 4 5 AX: Re-enable accessibility/set-selected-text-range-after-newline.html test. 6 https://bugs.webkit.org/show_bug.cgi?id=199431 7 <rdar://problem/52563340> 8 9 Patch by Andres Gonzalez <andresg_22@apple.com> on 2019-07-31 10 Reviewed by Chris Fleizach. 11 12 Source/WebCore: 13 14 - Re-enabled LayoutTests/accessibility/set-selected-text-range-after-newline.html. 15 - Put back workaround in visiblePositionForIndexUsingCharacterIterator 16 that is needed for several accessibility issues. 17 - This workaround was rolled back because it was thought the cause of: 18 https://bugs.webkit.org/show_bug.cgi?id=199434 19 It turned out that the actual cause of that hang was unrelated and was 20 fixed in: 21 https://bugs.webkit.org/show_bug.cgi?id=199845 22 23 * editing/Editing.cpp: 24 (WebCore::visiblePositionForIndexUsingCharacterIterator): 25 26 LayoutTests: 27 28 * TestExpectations: 29 * 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. 30 * platform/ios-wk2/TestExpectations: 31 32 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248037 268f45cc-cd09-0410-ab3c-d52691b4dbfc 33 34 2019-07-31 Andres Gonzalez <andresg_22@apple.com> 35 36 AX: Re-enable accessibility/set-selected-text-range-after-newline.html test. 37 https://bugs.webkit.org/show_bug.cgi?id=199431 38 <rdar://problem/52563340> 39 40 Reviewed by Chris Fleizach. 41 42 * TestExpectations: 43 * 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. 44 * platform/ios-wk2/TestExpectations: 45 1 46 2019-08-06 Kocsen Chung <kocsen_chung@apple.com> 2 47 -
branches/safari-608.1-branch/LayoutTests/TestExpectations
r247632 r248361 2208 2208 ### START OF -disabled tests 2209 2209 2210 webkit.org/b/199431 accessibility/set-selected-text-range-after-newline.html [ Skip ]2211 2210 webkit.org/b/20871 js/garbage-collect-after-string-appends.html [ Skip ] 2212 2211 webkit.org/b/58323 compositing/objects/composited-object-alignment.html [ Skip ] -
branches/safari-608.1-branch/LayoutTests/platform/ios-wk2/TestExpectations
r248131 r248361 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 ] -
branches/safari-608.1-branch/Source/WebCore/ChangeLog
r248359 r248361 1 2019-08-06 Kocsen Chung <kocsen_chung@apple.com> 2 3 Cherry-pick r248037. rdar://problem/54018119 4 5 AX: Re-enable accessibility/set-selected-text-range-after-newline.html test. 6 https://bugs.webkit.org/show_bug.cgi?id=199431 7 <rdar://problem/52563340> 8 9 Patch by Andres Gonzalez <andresg_22@apple.com> on 2019-07-31 10 Reviewed by Chris Fleizach. 11 12 Source/WebCore: 13 14 - Re-enabled LayoutTests/accessibility/set-selected-text-range-after-newline.html. 15 - Put back workaround in visiblePositionForIndexUsingCharacterIterator 16 that is needed for several accessibility issues. 17 - This workaround was rolled back because it was thought the cause of: 18 https://bugs.webkit.org/show_bug.cgi?id=199434 19 It turned out that the actual cause of that hang was unrelated and was 20 fixed in: 21 https://bugs.webkit.org/show_bug.cgi?id=199845 22 23 * editing/Editing.cpp: 24 (WebCore::visiblePositionForIndexUsingCharacterIterator): 25 26 LayoutTests: 27 28 * TestExpectations: 29 * 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. 30 * platform/ios-wk2/TestExpectations: 31 32 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248037 268f45cc-cd09-0410-ab3c-d52691b4dbfc 33 34 2019-07-31 Andres Gonzalez <andresg_22@apple.com> 35 36 AX: Re-enable accessibility/set-selected-text-range-after-newline.html test. 37 https://bugs.webkit.org/show_bug.cgi?id=199431 38 <rdar://problem/52563340> 39 40 Reviewed by Chris Fleizach. 41 42 - Re-enabled LayoutTests/accessibility/set-selected-text-range-after-newline.html. 43 - Put back workaround in visiblePositionForIndexUsingCharacterIterator 44 that is needed for several accessibility issues. 45 - This workaround was rolled back because it was thought the cause of: 46 https://bugs.webkit.org/show_bug.cgi?id=199434 47 It turned out that the actual cause of that hang was unrelated and was 48 fixed in: 49 https://bugs.webkit.org/show_bug.cgi?id=199845 50 51 * editing/Editing.cpp: 52 (WebCore::visiblePositionForIndexUsingCharacterIterator): 53 1 54 2019-08-06 Kocsen Chung <kocsen_chung@apple.com> 2 55 -
branches/safari-608.1-branch/Source/WebCore/editing/Editing.cpp
r247093 r248361 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.