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

Issue 882173002: When a positioned object's dependence on content height changes we need to layout. (Closed)

Created:
5 years, 10 months ago by rhogan
Modified:
5 years, 10 months ago
CC:
blink-reviews, blink-reviews-rendering, Dominik Röttsches, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

When a positioned object's dependence on content height changes we need to layout. If top or bottom become auto/non-auto then it means we either have to solve height based on the content or stop doing so (http://www.w3.org/TR/CSS2/visudet.html#abs-non-replaced-height) - either way requires a layout. This is a partial rowback on the code removed in https://codereview.chromium.org/722643002. BUG=452294 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=189434

Patch Set 1 #

Patch Set 2 : Updated #

Total comments: 6

Patch Set 3 : Updated #

Total comments: 1

Messages

Total messages: 16 (5 generated)
rhogan
5 years, 10 months ago (2015-01-28 19:21:20 UTC) #2
pdr.
Emil or Julien, could you take a peek at this?
5 years, 10 months ago (2015-01-30 00:02:38 UTC) #5
mstensho (USE GERRIT)
This could certainly work, but first I'd like to figure out why layout doesn't deal ...
5 years, 10 months ago (2015-01-30 09:28:46 UTC) #7
rhogan
On 2015/01/30 at 09:28:46, mstensho wrote: > This could certainly work, but first I'd like ...
5 years, 10 months ago (2015-01-30 19:25:24 UTC) #8
rhogan
On 2015/01/30 at 19:25:24, rhogan wrote: > On 2015/01/30 at 09:28:46, mstensho wrote: > > ...
5 years, 10 months ago (2015-01-30 19:37:45 UTC) #9
mstensho (USE GERRIT)
https://codereview.chromium.org/882173002/diff/20001/LayoutTests/fast/block/positioning/positioned-movement-layout-when-bottom-changes-to-and-from-auto.html File LayoutTests/fast/block/positioning/positioned-movement-layout-when-bottom-changes-to-and-from-auto.html (right): https://codereview.chromium.org/882173002/diff/20001/LayoutTests/fast/block/positioning/positioned-movement-layout-when-bottom-changes-to-and-from-auto.html#newcode16 LayoutTests/fast/block/positioning/positioned-movement-layout-when-bottom-changes-to-and-from-auto.html:16: Superfluous blank line. https://codereview.chromium.org/882173002/diff/20001/LayoutTests/fast/block/positioning/positioned-movement-layout-when-bottom-changes-to-and-from-auto.html#newcode21 LayoutTests/fast/block/positioning/positioned-movement-layout-when-bottom-changes-to-and-from-auto.html:21: test.style['bottom'] = '50%'; Any ...
5 years, 10 months ago (2015-02-02 10:00:48 UTC) #10
rhogan
https://codereview.chromium.org/882173002/diff/20001/Source/core/rendering/style/RenderStyle.cpp File Source/core/rendering/style/RenderStyle.cpp (right): https://codereview.chromium.org/882173002/diff/20001/Source/core/rendering/style/RenderStyle.cpp#newcode363 Source/core/rendering/style/RenderStyle.cpp:363: if (a.top().isAuto() != b.top().isAuto() || a.bottom().isAuto() != b.bottom().isAuto()) On ...
5 years, 10 months ago (2015-02-02 19:22:49 UTC) #11
mstensho (USE GERRIT)
lgtm https://codereview.chromium.org/882173002/diff/40001/LayoutTests/fast/block/positioning/positioned-movement-layout-when-bottom-changes-to-and-from-auto.html File LayoutTests/fast/block/positioning/positioned-movement-layout-when-bottom-changes-to-and-from-auto.html (right): https://codereview.chromium.org/882173002/diff/40001/LayoutTests/fast/block/positioning/positioned-movement-layout-when-bottom-changes-to-and-from-auto.html#newcode8 LayoutTests/fast/block/positioning/positioned-movement-layout-when-bottom-changes-to-and-from-auto.html:8: background-color: green; Without the changes I suggested, regarding ...
5 years, 10 months ago (2015-02-02 19:34:03 UTC) #12
rhogan
On 2015/02/02 at 19:34:03, mstensho wrote: > lgtm > > https://codereview.chromium.org/882173002/diff/40001/LayoutTests/fast/block/positioning/positioned-movement-layout-when-bottom-changes-to-and-from-auto.html > File LayoutTests/fast/block/positioning/positioned-movement-layout-when-bottom-changes-to-and-from-auto.html (right): ...
5 years, 10 months ago (2015-02-03 18:47:10 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/882173002/40001
5 years, 10 months ago (2015-02-03 18:48:09 UTC) #15
commit-bot: I haz the power
5 years, 10 months ago (2015-02-03 18:51:53 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=189434

Powered by Google App Engine
This is Rietveld 408576698