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

Issue 2712673002: [css-align] Use the layout parent style to determine the value of alignment-related properties. (Closed)

Created:
3 years, 10 months ago by emilio
Modified:
3 years, 9 months ago
Reviewers:
rune
CC:
chromium-reviews, blink-reviews-style_chromium.org, blink-reviews-css, dglazkov+blink, apavlov+blink_chromium.org, darktears, blink-reviews, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[css-align] Use the layout parent style to determine the value of alignment-related properties. The css-flexbox spec defined align-self in terms of the parent element, which is what this code did. The css-align defines these properties in terms of the style of the containing box instead, which means display: contents styles should not be used for this adjustment, but the layout parent style instead. For example, align-items is defined as: > This property specifies the default align-self for all of the boxes > (including anonymous boxes) participating in this box’s formatting context. Note that the css-align spec was recently updated to align (no pun intended) with Gecko, and make the |auto| value compute to itself. This CL puts us in a more recent spec than before, but not totally up-to-date. BUG=657748 Review-Url: https://codereview.chromium.org/2712673002 Cr-Commit-Position: refs/heads/master@{#453127} Committed: https://chromium.googlesource.com/chromium/src/+/6fbdb9993cb2aa58c89e37efba312ad00d8e16ca

Patch Set 1 #

Patch Set 2 : [css-align] Use the layout parent style to determine the value of alignment-related properties. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -13 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp View 3 chunks +12 lines, -11 lines 0 comments Download

Messages

Total messages: 18 (13 generated)
emilio
rune, you might also want to review this one? Sorry for throwing reviews at you ...
3 years, 9 months ago (2017-02-26 20:00:30 UTC) #9
rune
lgtm I what way is it not totally up-to-date? Please update the description to clarify ...
3 years, 9 months ago (2017-02-26 21:59:45 UTC) #12
emilio
On 2017/02/26 21:59:45, rune wrote: > lgtm > > I what way is it not ...
3 years, 9 months ago (2017-02-26 22:10:10 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/2712673002/20001
3 years, 9 months ago (2017-02-26 22:10:34 UTC) #15
commit-bot: I haz the power
3 years, 9 months ago (2017-02-26 22:15:37 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/6fbdb9993cb2aa58c89e37efba31...

Powered by Google App Engine
This is Rietveld 408576698