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

Issue 372023002: Abs-positioned objects should move with inline rel-positioned containers when the latter change wid… (Closed)

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

Description

Abs-positioned objects should move with inline rel-positioned containers when the latter change width In line layout the position of an absolute positioned object that has a fixed offset from an inline rel-positioned container needs to move if the container changes width. If we are positioning an abspos object inside a rel-pos container during line layout then its container has probably changed width - so force a layout on the object if its position depends on the edge that moves with the width. BUG=338856 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179335

Patch Set 1 #

Patch Set 2 : Updated #

Patch Set 3 : Updated #

Patch Set 4 : Updated Tests #

Patch Set 5 : Updated #

Total comments: 2

Patch Set 6 : Updated #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -0 lines) Patch
A LayoutTests/fast/block/positioning/rel-positioned-inline-changes-width.html View 1 2 3 4 1 chunk +57 lines, -0 lines 0 comments Download
A LayoutTests/fast/block/positioning/rel-positioned-inline-changes-width-expected.txt View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderBox.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/rendering/RenderBox.cpp View 1 2 3 4 2 chunks +14 lines, -0 lines 0 comments Download
M Source/core/rendering/line/BreakingContextInlineHeaders.h View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
rhogan
6 years, 5 months ago (2014-07-19 15:04:50 UTC) #1
esprehn
You're moving and refactoring a lot of code here all at once, can we break ...
6 years, 5 months ago (2014-07-23 22:49:36 UTC) #2
esprehn
https://codereview.chromium.org/372023002/diff/80001/Source/core/rendering/RenderBox.cpp File Source/core/rendering/RenderBox.cpp (right): https://codereview.chromium.org/372023002/diff/80001/Source/core/rendering/RenderBox.cpp#newcode1947 Source/core/rendering/RenderBox.cpp:1947: ASSERT(isOutOfFlowPositioned() && container()->isRenderInline() && container()->isRelPositioned()); This assert doesn't make ...
6 years, 4 months ago (2014-07-28 19:35:15 UTC) #3
rhogan
On 2014/07/28 at 19:35:15, esprehn wrote: > https://codereview.chromium.org/372023002/diff/80001/Source/core/rendering/RenderBox.cpp > File Source/core/rendering/RenderBox.cpp (right): > > https://codereview.chromium.org/372023002/diff/80001/Source/core/rendering/RenderBox.cpp#newcode1947 ...
6 years, 4 months ago (2014-07-28 19:43:14 UTC) #4
rhogan
On 2014/07/28 at 19:43:14, rhogan wrote: > Can you check again? The assert holds for ...
6 years, 4 months ago (2014-07-28 19:44:57 UTC) #5
esprehn
On 2014/07/28 at 19:44:57, robhogan wrote: > On 2014/07/28 at 19:43:14, rhogan wrote: > > ...
6 years, 4 months ago (2014-07-28 19:51:24 UTC) #6
esprehn
lgtm, but please fix your description. The second paragraph seems to relate to a refactor ...
6 years, 4 months ago (2014-07-30 05:21:24 UTC) #7
rhogan
The CQ bit was checked by robhogan@gmail.com
6 years, 4 months ago (2014-07-31 17:26:10 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robhogan@gmail.com/372023002/100001
6 years, 4 months ago (2014-07-31 17:27:05 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: mac_blink_compile_dbg on tryserver.blink ...
6 years, 4 months ago (2014-07-31 18:21:36 UTC) #10
commit-bot: I haz the power
6 years, 4 months ago (2014-07-31 18:46:53 UTC) #11
Message was sent while issue was closed.
Change committed as 179335

Powered by Google App Engine
This is Rietveld 408576698