Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Issue 1905263002: Correctly finds line boundaries in objects with rich text on Windows. (Closed)

Created:
4 years, 8 months ago by nektarios
Modified:
4 years, 7 months ago
Reviewers:
dmazzoni
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, aboxhall, aboxhall+watch_chromium.org, nektar+watch_chromium.org, jam, yuzo+watch_chromium.org, haraken, blink-reviews, nektarios, je_julie, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Correctly finds line boundaries in objects with rich text on Windows. The issue is that we were not taking into account embedded object characters. Took the opportunity to update the code to use the new |nextOnLine| and |previousOnLine| Blink APIs. BUG=605670 R=dmazzoni@chromium.org Committed: https://crrev.com/78d5c7d32a7bd67f292397ddf7e79e079ff6f1d7 Cr-Commit-Position: refs/heads/master@{#390017}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Added layout test and fixed IsNext/PreviousSiblingOnSameLine. #

Total comments: 1

Patch Set 3 : Fix small formatting error. #

Patch Set 4 : Added logging output for tests. #

Patch Set 5 : Fixed ax_tree_combiner. #

Patch Set 6 : Fixed standard text fields in unit test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+253 lines, -28 lines) Patch
M content/browser/accessibility/accessibility_win_browsertest.cc View 1 1 chunk +26 lines, -0 lines 0 comments Download
M content/browser/accessibility/browser_accessibility.h View 2 chunks +14 lines, -6 lines 0 comments Download
M content/browser/accessibility/browser_accessibility.cc View 1 4 chunks +108 lines, -2 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_win.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_win_unittest.cc View 1 2 3 4 5 4 chunks +7 lines, -0 lines 0 comments Download
M content/renderer/accessibility/blink_ax_tree_source.cc View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/accessibility/inline-text-box-next-on-line.html View 1 1 chunk +71 lines, -19 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXLayoutObject.h View 1 chunk +1 line, -1 line 0 comments Download
M ui/accessibility/ax_enums.idl View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/accessibility/ax_node_data.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M ui/accessibility/ax_tree_combiner.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (13 generated)
nektarios
4 years, 8 months ago (2016-04-22 01:51:04 UTC) #1
dmazzoni
lgtm https://codereview.chromium.org/1905263002/diff/1/content/browser/accessibility/browser_accessibility.cc File content/browser/accessibility/browser_accessibility.cc (right): https://codereview.chromium.org/1905263002/diff/1/content/browser/accessibility/browser_accessibility.cc#newcode554 content/browser/accessibility/browser_accessibility.cc:554: ; nit: extra semicolon?
4 years, 8 months ago (2016-04-22 15:34:49 UTC) #2
blink-reviews
Added a layout test for the behavior of next/previousOnLine Blink APIs on AXLayoutObject because I ...
4 years, 8 months ago (2016-04-22 21:15:06 UTC) #3
dmazzoni
Good except for the roles https://codereview.chromium.org/1905263002/diff/20001/content/renderer/accessibility/blink_ax_tree_source.cc File content/renderer/accessibility/blink_ax_tree_source.cc (right): https://codereview.chromium.org/1905263002/diff/20001/content/renderer/accessibility/blink_ax_tree_source.cc#newcode406 content/renderer/accessibility/blink_ax_tree_source.cc:406: if (dst->role == ui::AX_ROLE_STATIC_TEXT ...
4 years, 8 months ago (2016-04-22 21:43:38 UTC) #4
chromium-reviews
Added a layout test for the behavior of next/previousOnLine Blink APIs on AXLayoutObject because I ...
4 years, 8 months ago (2016-04-22 22:14:39 UTC) #5
blink-reviews
https://codereview.chromium.org/1905263002/diff/20001/content/renderer/accessibility/blink_ax_tree_source.cc > File content/renderer/accessibility/blink_ax_tree_source.cc (right): > > https://codereview.chromium.org/1905263002/diff/20001/content/renderer/accessibility/blink_ax_tree_source.cc#newcode406 > content/renderer/accessibility/blink_ax_tree_source.cc:406: if > (dst->role == ui::AX_ROLE_STATIC_TEXT ...
4 years, 8 months ago (2016-04-24 00:58:57 UTC) #6
chromium-reviews
https://codereview.chromium.org/1905263002/diff/20001/content/renderer/accessibility/blink_ax_tree_source.cc > File content/renderer/accessibility/blink_ax_tree_source.cc (right): > > https://codereview.chromium.org/1905263002/diff/20001/content/renderer/accessibility/blink_ax_tree_source.cc#newcode406 > content/renderer/accessibility/blink_ax_tree_source.cc:406: if > (dst->role == ui::AX_ROLE_STATIC_TEXT ...
4 years, 8 months ago (2016-04-24 00:58:57 UTC) #7
blink-reviews
Okay, I found out where the bug is. |previousOnLine| crashes when called on a link ...
4 years, 8 months ago (2016-04-26 19:37:27 UTC) #8
chromium-reviews
Okay, I found out where the bug is. |previousOnLine| crashes when called on a link ...
4 years, 8 months ago (2016-04-26 19:37:27 UTC) #9
dmazzoni
On 2016/04/26 19:37:27, chromium-reviews wrote: > Okay, I found out where the bug is. > ...
4 years, 8 months ago (2016-04-26 20:13:15 UTC) #10
dmazzoni
On 2016/04/26 19:37:27, chromium-reviews wrote: > Okay, I found out where the bug is. > ...
4 years, 8 months ago (2016-04-26 20:13:16 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1905263002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1905263002/20001
4 years, 8 months ago (2016-04-26 20:55:22 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_android on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/56741)
4 years, 8 months ago (2016-04-26 21:06:49 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1905263002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1905263002/60001
4 years, 8 months ago (2016-04-26 21:23:57 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_android on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/56765) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 8 months ago (2016-04-26 21:34:13 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1905263002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1905263002/60001
4 years, 8 months ago (2016-04-26 23:29:44 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/165965)
4 years, 8 months ago (2016-04-26 23:39:38 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1905263002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1905263002/80001
4 years, 8 months ago (2016-04-26 23:46:54 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/204257)
4 years, 8 months ago (2016-04-27 01:32:20 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1905263002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1905263002/100001
4 years, 7 months ago (2016-04-27 06:49:01 UTC) #32
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 7 months ago (2016-04-27 08:14:01 UTC) #33
commit-bot: I haz the power
4 years, 7 months ago (2016-04-27 08:15:06 UTC) #35
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/78d5c7d32a7bd67f292397ddf7e79e079ff6f1d7
Cr-Commit-Position: refs/heads/master@{#390017}

Powered by Google App Engine
This is Rietveld 408576698