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

Issue 2342173002: Fix #641162: LayoutInline propagate position changes to abspos descendants (Closed)

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

Description

Fix #641162: LayoutInline propagate position changes to abspos descendants When inline element changed its position inline->abspos, its out-of-flow descendants did not get layout invalidated. This change forces relayout of out-of-flow descendants on position style change. BUG=641162 Committed: https://crrev.com/6825fc78a249ee41df165e2a3376e4fdb9ef504b Cr-Commit-Position: refs/heads/master@{#422331}

Patch Set 1 #

Patch Set 2 : Added test cases #

Patch Set 3 : 80 col rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -2 lines) Patch
A third_party/WebKit/LayoutTests/fast/block/positioning/absolute-in-inline-dynamic.html View 1 1 chunk +45 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlock.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlock.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutInline.cpp View 1 2 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (13 generated)
atotic
Talked this fix through with Ian. The bug happened with display:inline elements. Their out-of-flow descendants ...
4 years, 3 months ago (2016-09-15 22:19:26 UTC) #3
eae
General approach looks fine, having a test for it to ensure it does whats expected ...
4 years, 3 months ago (2016-09-15 22:32:46 UTC) #4
atotic
On 2016/09/15 at 22:32:46, eae wrote: > General approach looks fine, having a test for ...
4 years, 2 months ago (2016-09-27 23:22:55 UTC) #5
eae
LGTM, thank you!
4 years, 2 months ago (2016-09-30 20:27:57 UTC) #6
ikilpatrick
lgtm
4 years, 2 months ago (2016-09-30 23:57:37 UTC) #7
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/2342173002/40001
4 years, 2 months ago (2016-10-01 20:31:00 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-01 21:44:26 UTC) #19
commit-bot: I haz the power
4 years, 2 months ago (2016-10-01 21:45:59 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6825fc78a249ee41df165e2a3376e4fdb9ef504b
Cr-Commit-Position: refs/heads/master@{#422331}

Powered by Google App Engine
This is Rietveld 408576698