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

Issue 1242263002: Canvas2d: Fix a bug to update incorrect rect bounds for accessibility. (Closed)

Created:
5 years, 5 months ago by zino
Modified:
5 years, 3 months ago
CC:
blink-reviews, dshwang, Rik
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Canvas2d: Fix a bug to update incorrect rect bounds for accessibility. This CL is fixing the bug to update incorrect rect bounds for accessibility in drawFocusIfNeeded() and addHitRegion() APIs. The bug couldn't reproduce in existing tests because layout tree was updated by other apis incidentally. So, this CL adds two unit tests for the issue to resolve. BUG=328961, 513763 Committed: https://crrev.com/f97956ed8c863babc49da036c2bb0d2195834e0e git-svn-id: svn://svn.chromium.org/blink/trunk@199608 bbb929c8-8fbe-4397-9dbb-9b2b20218538

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -0 lines) Patch
M Source/modules/canvas2d/CanvasRenderingContext2D.cpp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/canvas2d/CanvasRenderingContext2DAPITest.cpp View 1 2 chunks +69 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (4 generated)
zino
Please take a look. Thank you.
5 years, 5 months ago (2015-07-20 11:51:02 UTC) #2
zino
Ping, Justin Please take a look. Thank you.
5 years, 5 months ago (2015-07-23 17:18:31 UTC) #3
Justin Novosad
https://codereview.chromium.org/1242263002/diff/1/Source/modules/canvas2d/CanvasRenderingContext2D.cpp File Source/modules/canvas2d/CanvasRenderingContext2D.cpp (right): https://codereview.chromium.org/1242263002/diff/1/Source/modules/canvas2d/CanvasRenderingContext2D.cpp#newcode2111 Source/modules/canvas2d/CanvasRenderingContext2D.cpp:2111: element->document().updateLayoutTreeIfNeeded(); I recently found out that it is much ...
5 years, 5 months ago (2015-07-23 19:33:15 UTC) #4
zino
Thank you for review. Please take a look again. https://codereview.chromium.org/1242263002/diff/1/Source/modules/canvas2d/CanvasRenderingContext2D.cpp File Source/modules/canvas2d/CanvasRenderingContext2D.cpp (right): https://codereview.chromium.org/1242263002/diff/1/Source/modules/canvas2d/CanvasRenderingContext2D.cpp#newcode2111 Source/modules/canvas2d/CanvasRenderingContext2D.cpp:2111: ...
5 years, 4 months ago (2015-07-27 13:59:45 UTC) #6
Justin Novosad
https://codereview.chromium.org/1242263002/diff/20001/Source/modules/canvas2d/CanvasRenderingContext2D.cpp File Source/modules/canvas2d/CanvasRenderingContext2D.cpp (right): https://codereview.chromium.org/1242263002/diff/20001/Source/modules/canvas2d/CanvasRenderingContext2D.cpp#newcode2182 Source/modules/canvas2d/CanvasRenderingContext2D.cpp:2182: element->document().updateLayoutIgnorePendingStylesheets(); You should to do this update update before ...
5 years, 4 months ago (2015-07-27 14:36:36 UTC) #7
dmazzoni
lgtm
5 years, 4 months ago (2015-07-27 15:07:47 UTC) #8
zino
I addressed your comment. Thank you for correcting me. Could you review again? https://codereview.chromium.org/1242263002/diff/20001/Source/modules/canvas2d/CanvasRenderingContext2D.cpp File ...
5 years, 4 months ago (2015-07-28 00:38:48 UTC) #9
Justin Novosad
On 2015/07/28 00:38:48, zino wrote: > I addressed your comment. > > Thank you for ...
5 years, 4 months ago (2015-07-28 20:15:37 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1242263002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1242263002/40001
5 years, 4 months ago (2015-07-28 20:16:08 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://src.chromium.org/viewvc/blink?view=rev&revision=199608
5 years, 4 months ago (2015-07-28 21:39:29 UTC) #14
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 11:51:46 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f97956ed8c863babc49da036c2bb0d2195834e0e

Powered by Google App Engine
This is Rietveld 408576698