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

Issue 2257223002: Allow using overrideContainingBlockContentLogical{Width,Height} outside of grid (Closed)

Created:
4 years, 4 months ago by cbiesinger
Modified:
4 years, 3 months ago
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, ojan+watch_chromium.org, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow using overrideContainingBlockContentLogical{Width,Height} outside of grid I am using it for the LayoutNG transition; there does not seem to be a need to limit this to grid items as nothing else currently sets this. This change also makes LayoutNG use this new function. R=eae@chromium.org,ikilpatrick@chromium.org,glebl@chromium.org BUG=635619 Committed: https://crrev.com/febef5e01067d1ff21b2f7af4b9c6b0e15023e84 Cr-Commit-Position: refs/heads/master@{#413445}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -2 lines) Patch
M third_party/WebKit/Source/core/layout/LayoutBox.cpp View 1 chunk +1 line, -1 line 2 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_box.cc View 1 chunk +8 lines, -1 line 0 comments Download

Messages

Total messages: 24 (9 generated)
cbiesinger
Rego, please review the LayoutBox change to make sure that it really is an unnecessary ...
4 years, 4 months ago (2016-08-18 19:07:35 UTC) #3
cbiesinger
Actually add Rego like I meant to
4 years, 4 months ago (2016-08-18 19:59:51 UTC) #5
eae
LGTM for ng
4 years, 4 months ago (2016-08-18 22:30:46 UTC) #8
cbiesinger
Adding some more grid people for this review
4 years, 4 months ago (2016-08-19 20:57:22 UTC) #10
jfernandez
The change LGTM, but I'd rather let @rego take a look before landing. https://codereview.chromium.org/2257223002/diff/1/third_party/WebKit/Source/core/layout/LayoutBox.cpp File ...
4 years, 4 months ago (2016-08-19 21:14:24 UTC) #11
cbiesinger
On 2016/08/19 21:14:24, jfernandez wrote: > The change LGTM, but I'd rather let @rego take ...
4 years, 4 months ago (2016-08-19 21:16:39 UTC) #12
Manuel Rego
The change in LayoutBox LGTM too. https://codereview.chromium.org/2257223002/diff/1/third_party/WebKit/Source/core/layout/LayoutBox.cpp File third_party/WebKit/Source/core/layout/LayoutBox.cpp (left): https://codereview.chromium.org/2257223002/diff/1/third_party/WebKit/Source/core/layout/LayoutBox.cpp#oldcode3019 third_party/WebKit/Source/core/layout/LayoutBox.cpp:3019: } else if ...
4 years, 4 months ago (2016-08-22 10:31:09 UTC) #13
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/2257223002/1
4 years, 4 months ago (2016-08-22 12:07:08 UTC) #15
cbiesinger
On 2016/08/22 10:31:09, Manuel Rego wrote: > The change in LayoutBox LGTM too. > > ...
4 years, 4 months ago (2016-08-22 14:51:10 UTC) #16
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-22 15:39:38 UTC) #17
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/febef5e01067d1ff21b2f7af4b9c6b0e15023e84 Cr-Commit-Position: refs/heads/master@{#413445}
4 years, 4 months ago (2016-08-22 15:42:31 UTC) #19
ojan
Is this a temporary thing for the transition period before all layout is ng-ified? If ...
4 years, 4 months ago (2016-08-23 21:59:53 UTC) #21
ojan
nm...the code is pretty clear that this is for the transition period. Sorry for the ...
4 years, 4 months ago (2016-08-23 22:00:38 UTC) #22
jfernandez
On 2016/08/23 21:59:53, ojan wrote: > Is this a temporary thing for the transition period ...
4 years, 4 months ago (2016-08-23 22:19:41 UTC) #23
cbiesinger
4 years, 3 months ago (2016-08-24 21:21:19 UTC) #24
Message was sent while issue was closed.
On 2016/08/23 22:19:41, jfernandez wrote:
> On 2016/08/23 21:59:53, ojan wrote:
> > Is this a temporary thing for the transition period before all layout is
> > ng-ified? If so, it probably deserves a comment to that effect.
> > 
> > If not, we might want to have a discussion about whether override sizes are
> > needed in ng.
> 
> Even when not relevant for this issue, I'd be interested on participating in
> such
> discussion, probably in the layout-dev mailing list, about override sizes.
> Specially
> regarding alternative approaches to implement the grid cell concept.

Happy to discuss, let me know (or email layout-dev). Emil has previously sent
the LayoutNG design doc to layout-dev:
https://docs.google.com/document/d/1uxbDh4uONFQOiGuiumlJBLGgO4KDWB8ZEkp7Rd47f...

The sizing section discusses override sizes. In LayoutNG, container sizes are
passed into the child layout by the parent layout, and so override CB sizes work
naturally by passing in a different size for the constraint space. Regular
override sizes work by setting a flag on the constraint space to indicate that
the container size is really a fixed size. That's our current thinking anyway.
See also comments and code in
https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/layout/ng...

Powered by Google App Engine
This is Rietveld 408576698