Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(32)

Issue 1182053009: Correct box shadow overflow computation for InlineFlowBox (Closed)

Created:
4 years, 10 months ago by trchen
Modified:
4 years, 10 months ago
CC:
blink-reviews, pdr+renderingwatchlist_chromium.org, zoltan1, szager+layoutwatch_chromium.org, eae+blinkwatch, leviw+renderwatch, blink-reviews-rendering, jchaffraix+rendering
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Correct box shadow overflow computation for InlineFlowBox InlineFlowBox::addBoxShadowVisualOverflow() has an early exit condition that doesn't match the logic in InlineFlowBoxPainter::paintBoxDecorationBackground(), resulting in under-reported visual overflow. This CL makes correction to that. Similar adjustment is made to InlineFlowBox::addBorderOutsetVisualOverflow() in this CL too. BUG=498848 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197412

Patch Set 1 #

Total comments: 1

Patch Set 2 : do the same to addBorderOutsetVisualOverflow #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -6 lines) Patch
M Source/core/layout/line/InlineFlowBox.cpp View 1 2 chunks +10 lines, -6 lines 0 comments Download

Messages

Total messages: 18 (7 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1182053009/1
4 years, 10 months ago (2015-06-18 01:09:46 UTC) #2
trchen
One-liner. PTAL. Thanks!
4 years, 10 months ago (2015-06-18 01:10:08 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2015-06-18 02:52:27 UTC) #6
fs
https://codereview.chromium.org/1182053009/diff/1/Source/core/layout/line/InlineFlowBox.cpp File Source/core/layout/line/InlineFlowBox.cpp (right): https://codereview.chromium.org/1182053009/diff/1/Source/core/layout/line/InlineFlowBox.cpp#newcode751 Source/core/layout/line/InlineFlowBox.cpp:751: if (!parent() && (!isFirstLineStyle() || &style == layoutObject().style())) This ...
4 years, 10 months ago (2015-06-18 08:47:33 UTC) #8
trchen
On 2015/06/18 08:47:33, fs wrote: > https://codereview.chromium.org/1182053009/diff/1/Source/core/layout/line/InlineFlowBox.cpp > File Source/core/layout/line/InlineFlowBox.cpp (right): > > https://codereview.chromium.org/1182053009/diff/1/Source/core/layout/line/InlineFlowBox.cpp#newcode751 > ...
4 years, 10 months ago (2015-06-18 21:44:12 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1182053009/20001
4 years, 10 months ago (2015-06-18 21:45:45 UTC) #11
fs
On 2015/06/18 21:44:12, trchen wrote: > On 2015/06/18 08:47:33, fs wrote: > > > https://codereview.chromium.org/1182053009/diff/1/Source/core/layout/line/InlineFlowBox.cpp ...
4 years, 10 months ago (2015-06-18 23:24:09 UTC) #12
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2015-06-18 23:55:46 UTC) #14
trchen
On 2015/06/18 23:24:09, fs wrote: > LGTM, but you may want second opinions. I feel ...
4 years, 10 months ago (2015-06-19 00:02:32 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1182053009/20001
4 years, 10 months ago (2015-06-19 00:03:19 UTC) #17
commit-bot: I haz the power
4 years, 10 months ago (2015-06-19 00:07:46 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197412

Powered by Google App Engine
This is Rietveld 408576698