|
|
Chromium Code Reviews|
Created:
4 years, 5 months ago by yosin_UTC9 Modified:
4 years, 5 months ago Reviewers:
yoichio CC:
blink-reviews, chromium-reviews Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionMake "Undo" command to restore selection after validating with the latest Layout tree
This patch makes |VisibleSelection::validatePositionsIfNeeded()| to validate
selection if positions of selection are connected to ensure selection is
appropriate for setting to |FrameSelection|.
Before this patch, |validatePositionsIfNeeded()| attempts to validate selection
if positions of selection are connected and one of position has out of bound
offset. This causes we attempt to set selection with dirty layout tree.
This patch also updates expectation of "delete-ligature-003.html" for Mac. All platforms
generate same result after this patch.
BUG=627783
TEST=run_webkit_unit_tests --gtest_filter=VisibleSelectionTest.validatePositionsIfNeededWithShadowHost
TEST=LayoutTests/editing/deleting/delete-ligature-003.html
Committed: https://crrev.com/591157b28b2103a21248e0467a387ad789a37a93
Cr-Commit-Position: refs/heads/master@{#406819}
Patch Set 1 : 2016-07-15T14:35:50 #Patch Set 2 : 2016-07-15T15:44:59 #Patch Set 3 : 2016-07-15T18:20:51 #Patch Set 4 : 2016-07-15T18:22:30 #Patch Set 5 : 2016-07-21T14:24:05 #Patch Set 6 : 2016-07-21T19:03:31 #
Messages
Total messages: 33 (26 generated)
The CQ bit was checked by yosin@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds...) ios-device-gn on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-gn/bui...) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...) ios-simulator-gn on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-gn/...)
Description was changed from ========== 2016-07-15T14:35:50 BUG= ========== to ========== editing/deleting/delete-ligature-003.html editing/pasteboard/data-transfer-items-image-png.html editing/selection/directionality-after-undo-replace.html editing/undo/undo-smart-delete-word.html ==========
The CQ bit was checked by yosin@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
The CQ bit was checked by yosin@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
Description was changed from ========== editing/deleting/delete-ligature-003.html editing/pasteboard/data-transfer-items-image-png.html editing/selection/directionality-after-undo-replace.html editing/undo/undo-smart-delete-word.html ========== to ========== editing/deleting/delete-ligature-003.html editing/pasteboard/data-transfer-items-image-png.html editing/selection/directionality-after-undo-replace.html editing/undo/undo-smart-delete-word.html BUG=627783 ==========
The CQ bit was checked by yosin@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
Description was changed from ========== editing/deleting/delete-ligature-003.html editing/pasteboard/data-transfer-items-image-png.html editing/selection/directionality-after-undo-replace.html editing/undo/undo-smart-delete-word.html BUG=627783 ========== to ========== Make "Undo" command to restore selection after validating with the latest Layout tree This patch makes |VisibleSelection::validatePositionsIfNeeded()| to validate selection if positions of selection are connected to ensure selection is appropriate for setting to |FrameSelection|. Before this patch, |validatePositionsIfNeeded()| attempts to validate selection if positions of selection are connected and one of position has out of bound offset. This causes we attempt to set selection with dirty layout tree. BUG=627783 TEST=run_webkit_unit_tests --gtest_filter=VisibleSelectionTest.validatePositionsIfNeededWithShadowHost ==========
yosin@chromium.org changed reviewers: + yoichio@chromium.org
PTAL Once crrev.com/2163163002, which converts delete-ligature-003.html to w3c test hanress, all tests should be passed.
lgtm
The CQ bit was checked by yosin@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Make "Undo" command to restore selection after validating with the latest Layout tree This patch makes |VisibleSelection::validatePositionsIfNeeded()| to validate selection if positions of selection are connected to ensure selection is appropriate for setting to |FrameSelection|. Before this patch, |validatePositionsIfNeeded()| attempts to validate selection if positions of selection are connected and one of position has out of bound offset. This causes we attempt to set selection with dirty layout tree. BUG=627783 TEST=run_webkit_unit_tests --gtest_filter=VisibleSelectionTest.validatePositionsIfNeededWithShadowHost ========== to ========== Make "Undo" command to restore selection after validating with the latest Layout tree This patch makes |VisibleSelection::validatePositionsIfNeeded()| to validate selection if positions of selection are connected to ensure selection is appropriate for setting to |FrameSelection|. Before this patch, |validatePositionsIfNeeded()| attempts to validate selection if positions of selection are connected and one of position has out of bound offset. This causes we attempt to set selection with dirty layout tree. This patch also updates expectation of "delete-ligature-003.html" for Mac. All platforms generate same result after this patch. BUG=627783 TEST=run_webkit_unit_tests --gtest_filter=VisibleSelectionTest.validatePositionsIfNeededWithShadowHost TEST=LayoutTests/editing/deleting/delete-ligature-003.html ==========
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_...)
The CQ bit was checked by yosin@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from yoichio@chromium.org Link to the patchset: https://codereview.chromium.org/2153043002/#ps100001 (title: "2016-07-21T19:03:31")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Committed patchset #6 (id:100001)
Message was sent while issue was closed.
Description was changed from ========== Make "Undo" command to restore selection after validating with the latest Layout tree This patch makes |VisibleSelection::validatePositionsIfNeeded()| to validate selection if positions of selection are connected to ensure selection is appropriate for setting to |FrameSelection|. Before this patch, |validatePositionsIfNeeded()| attempts to validate selection if positions of selection are connected and one of position has out of bound offset. This causes we attempt to set selection with dirty layout tree. This patch also updates expectation of "delete-ligature-003.html" for Mac. All platforms generate same result after this patch. BUG=627783 TEST=run_webkit_unit_tests --gtest_filter=VisibleSelectionTest.validatePositionsIfNeededWithShadowHost TEST=LayoutTests/editing/deleting/delete-ligature-003.html ========== to ========== Make "Undo" command to restore selection after validating with the latest Layout tree This patch makes |VisibleSelection::validatePositionsIfNeeded()| to validate selection if positions of selection are connected to ensure selection is appropriate for setting to |FrameSelection|. Before this patch, |validatePositionsIfNeeded()| attempts to validate selection if positions of selection are connected and one of position has out of bound offset. This causes we attempt to set selection with dirty layout tree. This patch also updates expectation of "delete-ligature-003.html" for Mac. All platforms generate same result after this patch. BUG=627783 TEST=run_webkit_unit_tests --gtest_filter=VisibleSelectionTest.validatePositionsIfNeededWithShadowHost TEST=LayoutTests/editing/deleting/delete-ligature-003.html Committed: https://crrev.com/591157b28b2103a21248e0467a387ad789a37a93 Cr-Commit-Position: refs/heads/master@{#406819} ==========
Message was sent while issue was closed.
Patchset 6 (id:??) landed as https://crrev.com/591157b28b2103a21248e0467a387ad789a37a93 Cr-Commit-Position: refs/heads/master@{#406819} |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
