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. #
Messages
Total messages: 18 (13 generated)
|