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

Issue 2794663002: Fix inline outline in a corner case (Closed)

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

Description

Fix inline outline in a corner case In the corner case, an anoymous block contains an inline which has outline and continuation. Previously when we calculated visual overflow of the anonymous block during layout, the layout of continuation might not be up-to-date causing inaccurate outline visual overflow. Now re-add visual overflow of inline children of the anonymous block when calculating parent's overflow which happens when layout of continuation is clean. This CL causes addOverflowFromInlineChildren() to be called twice in each overflow recalc or layout cycle for each block with containsInlineWithOutlineAndContinuation(), but this keeps the change simplest for the rare case. BUG=703403 Review-Url: https://codereview.chromium.org/2794663002 Cr-Commit-Position: refs/heads/master@{#461260} Committed: https://chromium.googlesource.com/chromium/src/+/eefd3fc93296ee6b3ef9c5055d024573d8c7f63d

Patch Set 1 #

Patch Set 2 : - #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -5 lines) Patch
A third_party/WebKit/LayoutTests/fast/inline/inline-focus-ring-under-absolute-enclosing-relative-div.html View 1 chunk +6 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/inline/inline-focus-ring-under-absolute-enclosing-relative-div-expected.html View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlock.cpp View 2 chunks +13 lines, -5 lines 0 comments Download

Messages

Total messages: 16 (8 generated)
Xianzhu
3 years, 8 months ago (2017-03-31 20:35:12 UTC) #3
trchen
It sounds like a band-aid. Is it possible to mark the anonymous block's overflow as ...
3 years, 8 months ago (2017-03-31 21:13:08 UTC) #5
Xianzhu
On 2017/03/31 21:13:08, trchen wrote: > It sounds like a band-aid. Is it possible to ...
3 years, 8 months ago (2017-03-31 21:59:13 UTC) #8
trchen
On 2017/03/31 21:59:13, Xianzhu wrote: > On 2017/03/31 21:13:08, trchen wrote: > > It sounds ...
3 years, 8 months ago (2017-03-31 22:06:09 UTC) #9
Xianzhu
On 2017/03/31 22:06:09, trchen wrote: > On 2017/03/31 21:59:13, Xianzhu wrote: > > On 2017/03/31 ...
3 years, 8 months ago (2017-03-31 22:30:47 UTC) #10
trchen
On 2017/03/31 22:30:47, Xianzhu wrote: > On 2017/03/31 22:06:09, trchen wrote: > > On 2017/03/31 ...
3 years, 8 months ago (2017-03-31 22:40:02 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2794663002/20001
3 years, 8 months ago (2017-03-31 22:45:03 UTC) #13
commit-bot: I haz the power
3 years, 8 months ago (2017-03-31 22:51:08 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/eefd3fc93296ee6b3ef9c5055d02...

Powered by Google App Engine
This is Rietveld 408576698