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

Issue 492433006: Don't add empty rects during addFocusRingRects (Closed)

Created:
6 years, 4 months ago by Xianzhu
Modified:
6 years, 3 months ago
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr., rune+blink, zoltan1
Project:
blink
Visibility:
Public.

Description

Don't add empty rects during addFocusRingRects We don't add empty rects during addFocusRingRects except during generateLineBoxRects in RenderInline::addFocusRingRects. Empty rects in focus ring rects causes small circle drawn around the top-left corner of the empty rects on Mac. Added AbsoluteRectsIgnoringEmptyRectsGeneratorContext for addFocusRingRects to ignore empty line box rects. BUG=405791 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180864

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add a test #

Patch Set 3 : More rebaslines (real improvements!) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -1 line) Patch
M LayoutTests/TestExpectations View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
A LayoutTests/fast/css/ignore-empty-focus-ring-rects.html View 1 1 chunk +22 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderInline.cpp View 1 2 1 chunk +17 lines, -1 line 0 comments Download

Messages

Total messages: 15 (0 generated)
Xianzhu
6 years, 4 months ago (2014-08-21 15:52:14 UTC) #1
esprehn
https://codereview.chromium.org/492433006/diff/1/Source/core/rendering/RenderInline.cpp File Source/core/rendering/RenderInline.cpp (right): https://codereview.chromium.org/492433006/diff/1/Source/core/rendering/RenderInline.cpp#newcode1366 Source/core/rendering/RenderInline.cpp:1366: namespace { No need for the anonymous namespace. Also ...
6 years, 4 months ago (2014-08-21 17:22:08 UTC) #2
Xianzhu
https://codereview.chromium.org/492433006/diff/1/Source/core/rendering/RenderInline.cpp File Source/core/rendering/RenderInline.cpp (right): https://codereview.chromium.org/492433006/diff/1/Source/core/rendering/RenderInline.cpp#newcode1366 Source/core/rendering/RenderInline.cpp:1366: namespace { On 2014/08/21 17:22:08, esprehn wrote: > No ...
6 years, 4 months ago (2014-08-21 17:26:29 UTC) #3
Xianzhu
Added test. PTAL. https://codereview.chromium.org/492433006/diff/1/Source/core/rendering/RenderInline.cpp File Source/core/rendering/RenderInline.cpp (right): https://codereview.chromium.org/492433006/diff/1/Source/core/rendering/RenderInline.cpp#newcode1366 Source/core/rendering/RenderInline.cpp:1366: namespace { Tried to ignore empty ...
6 years, 4 months ago (2014-08-22 00:12:15 UTC) #4
Xianzhu
+trchen@ and eseidel@ who wrote and reviewed the GeneratorContext code.
6 years, 4 months ago (2014-08-22 18:56:20 UTC) #5
eseidel
lgtm OK. Please update the CL descrption before landing.
6 years, 4 months ago (2014-08-23 21:46:01 UTC) #6
Xianzhu
On 2014/08/23 21:46:01, eseidel wrote: > lgtm > > OK. Please update the CL descrption ...
6 years, 3 months ago (2014-08-25 16:31:14 UTC) #7
Xianzhu
The CQ bit was checked by wangxianzhu@chromium.org
6 years, 3 months ago (2014-08-25 16:31:17 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/492433006/40001
6 years, 3 months ago (2014-08-25 16:32:21 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_blink_rel on tryserver.blink ...
6 years, 3 months ago (2014-08-25 17:31:27 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-25 18:13:16 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: mac_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/mac_blink_rel/builds/21045)
6 years, 3 months ago (2014-08-25 18:13:17 UTC) #12
Xianzhu
The CQ bit was checked by wangxianzhu@chromium.org
6 years, 3 months ago (2014-08-25 18:36:30 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wangxianzhu@chromium.org/492433006/60001
6 years, 3 months ago (2014-08-25 18:36:50 UTC) #14
commit-bot: I haz the power
6 years, 3 months ago (2014-08-25 19:39:05 UTC) #15
Message was sent while issue was closed.
Committed patchset #3 (60001) as 180864

Powered by Google App Engine
This is Rietveld 408576698