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

Issue 200283003: drawFocusRing() function in CRC2D draws invalid focus ring. (Closed)

Created:
6 years, 9 months ago by zino
Modified:
6 years, 9 months ago
CC:
blink-reviews, aandrey+blink_chromium.org, dglazkov+blink, adamk+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

drawFocusRing() function in CRC2D draws invalid focus ring. The function draws a focus ring around the current default path or the given path if the given element is focused. Currently, the focus ring is drawn incorrectly because it is larger than the given path region. To solve this problem, we should add focus ring width to dirty rect. BUG=352976 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169913

Patch Set 1 #

Patch Set 2 : layout test #

Patch Set 3 : layout test #

Total comments: 1

Patch Set 4 : width #

Patch Set 5 : manual test #

Total comments: 1

Patch Set 6 : use requestAnimationFrame #

Patch Set 7 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -7 lines) Patch
A ManualTests/draw-focus-if-needed-dirty-rect.html View 1 2 3 4 5 1 chunk +55 lines, -0 lines 0 comments Download
M Source/core/html/canvas/CanvasRenderingContext2D.cpp View 1 2 3 4 5 1 chunk +10 lines, -7 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
zino
6 years, 9 months ago (2014-03-16 10:12:14 UTC) #1
zino
I think my layout test is not good. It seems to occurs repainting during image ...
6 years, 9 months ago (2014-03-17 09:21:19 UTC) #2
Justin Novosad
If you can't write a test that reproduces the bug when executed as a layout ...
6 years, 9 months ago (2014-03-17 13:57:10 UTC) #3
zino
On 2014/03/17 13:57:10, junov wrote: > If you can't write a test that reproduces the ...
6 years, 9 months ago (2014-03-18 10:14:01 UTC) #4
Justin Novosad
On 2014/03/18 10:14:01, zino wrote: > On 2014/03/17 13:57:10, junov wrote: > > If you ...
6 years, 9 months ago (2014-03-18 12:00:43 UTC) #5
zino
On 2014/03/18 12:00:43, junov wrote: > On 2014/03/18 10:14:01, zino wrote: > > On 2014/03/17 ...
6 years, 9 months ago (2014-03-19 04:12:29 UTC) #6
zino
I addressed your comments. Please review again.
6 years, 9 months ago (2014-03-20 16:04:57 UTC) #7
Rik
On 2014/03/20 16:04:57, zino wrote: > I addressed your comments. > Please review again. Firefox, ...
6 years, 9 months ago (2014-03-20 16:25:00 UTC) #8
Justin Novosad
On 2014/03/20 16:25:00, Rik wrote: > On 2014/03/20 16:04:57, zino wrote: > > I addressed ...
6 years, 9 months ago (2014-03-20 19:23:54 UTC) #9
Justin Novosad
https://codereview.chromium.org/200283003/diff/80001/ManualTests/draw-system-focus-ring-dirty-rect.html File ManualTests/draw-system-focus-ring-dirty-rect.html (right): https://codereview.chromium.org/200283003/diff/80001/ManualTests/draw-system-focus-ring-dirty-rect.html#newcode41 ManualTests/draw-system-focus-ring-dirty-rect.html:41: }, 500); Does the timeout need to be this ...
6 years, 9 months ago (2014-03-20 19:27:38 UTC) #10
zino
On 2014/03/20 19:27:38, junov wrote: > https://codereview.chromium.org/200283003/diff/80001/ManualTests/draw-system-focus-ring-dirty-rect.html > File ManualTests/draw-system-focus-ring-dirty-rect.html (right): > > https://codereview.chromium.org/200283003/diff/80001/ManualTests/draw-system-focus-ring-dirty-rect.html#newcode41 > ...
6 years, 9 months ago (2014-03-22 08:51:08 UTC) #11
Justin Novosad
lgtm
6 years, 9 months ago (2014-03-24 14:49:56 UTC) #12
zino
The CQ bit was checked by jinho.bang@samsung.com
6 years, 9 months ago (2014-03-25 03:10:07 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jinho.bang@samsung.com/200283003/100001
6 years, 9 months ago (2014-03-25 03:10:09 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-25 03:13:00 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on win_blink_compile_dbg
6 years, 9 months ago (2014-03-25 03:13:00 UTC) #16
zino
The CQ bit was checked by jinho.bang@samsung.com
6 years, 9 months ago (2014-03-25 03:16:42 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jinho.bang@samsung.com/200283003/120001
6 years, 9 months ago (2014-03-25 03:16:49 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-25 03:48:12 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on mac_blink_rel
6 years, 9 months ago (2014-03-25 03:48:12 UTC) #20
zino
The CQ bit was checked by jinho.bang@samsung.com
6 years, 9 months ago (2014-03-25 04:28:56 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jinho.bang@samsung.com/200283003/120001
6 years, 9 months ago (2014-03-25 04:29:05 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-25 04:30:26 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on mac_blink_rel
6 years, 9 months ago (2014-03-25 04:30:26 UTC) #24
zino
The CQ bit was checked by jinho.bang@samsung.com
6 years, 9 months ago (2014-03-25 05:30:47 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jinho.bang@samsung.com/200283003/120001
6 years, 9 months ago (2014-03-25 05:31:15 UTC) #26
commit-bot: I haz the power
6 years, 9 months ago (2014-03-25 06:02:08 UTC) #27
Message was sent while issue was closed.
Change committed as 169913

Powered by Google App Engine
This is Rietveld 408576698