You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 18, 2018. It is now read-only.
The CSS WG has resolved that it doesn't make sense to define Baseline
Content-Alignment in the inline/main axis.
w3c/csswg-drafts#1184
The spec has been updated so that <baseline-postion> is not valid for
the 'justify-content' property's syntax. This CL updates our parsing
logic to match the new spec, including the parsing logic of the
place-content shorthand.
Additionally, this CL updates the computed value of the
<baseline-position> values to match other browsers.
We don't implement support for <baseline-position> values in the
Content Distribution properties (align-content and justify-content),
so I don't expect this change to break content of sites using the CSS
Box Alignment feature.
Bug: 802248, 803275
Change-Id: I0d3b1b7e7dd28552ee7e131bfe09ef7198565283
Reviewed-on: https://chromium-review.googlesource.com/882362
Reviewed-by: Darren Shen <shend@chromium.org>
Commit-Queue: Javier Fernandez <jfernandez@igalia.com>
Cr-Commit-Position: refs/heads/master@{#532400}
Copy file name to clipboardExpand all lines: third_party/WebKit/LayoutTests/external/wpt/css/css-align/content-distribution/parse-align-content-001.html
Copy file name to clipboardExpand all lines: third_party/WebKit/LayoutTests/external/wpt/css/css-align/content-distribution/parse-align-content-003.html
Copy file name to clipboardExpand all lines: third_party/WebKit/LayoutTests/external/wpt/css/css-align/content-distribution/parse-justify-content-001.html
Copy file name to clipboardExpand all lines: third_party/WebKit/LayoutTests/external/wpt/css/css-align/content-distribution/parse-justify-content-003.html
Copy file name to clipboardExpand all lines: third_party/WebKit/LayoutTests/external/wpt/css/css-align/content-distribution/parse-justify-content-004.html
Copy file name to clipboardExpand all lines: third_party/WebKit/LayoutTests/external/wpt/css/css-align/content-distribution/place-content-shorthand-001.html
+2-2
Original file line number
Diff line number
Diff line change
@@ -5,10 +5,10 @@
5
5
<metaname="assert" content="Check that setting a single value to place-content expands to such value set in both 'align-content' and 'justify-content'." />
Copy file name to clipboardExpand all lines: third_party/WebKit/LayoutTests/external/wpt/css/css-align/content-distribution/place-content-shorthand-002.html
+2-2
Original file line number
Diff line number
Diff line change
@@ -5,13 +5,13 @@
5
5
<metaname="assert" content="Check that setting two values to place-content sets the first one to 'align-content' and the second one to 'justify-content'." />
Copy file name to clipboardExpand all lines: third_party/WebKit/LayoutTests/external/wpt/css/css-align/content-distribution/place-content-shorthand-004.html
+8-1
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
<metaname="assert" content="Check that place-content's invalid values are properly detected at parsing time." />
Copy file name to clipboardExpand all lines: third_party/WebKit/LayoutTests/external/wpt/css/css-align/content-distribution/place-content-shorthand-006.html
+3-3
Original file line number
Diff line number
Diff line change
@@ -5,19 +5,19 @@
5
5
<metaname="assert" content="Check the place-content's 'specified' and 'resolved' values serialization." />
Copy file name to clipboardExpand all lines: third_party/WebKit/LayoutTests/external/wpt/css/css-align/default-alignment/place-items-shorthand-001.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
<metaname="assert" content="Check that setting a single value to place-items expands to such value set in both 'align-items' and 'justify-items'." />
Copy file name to clipboardExpand all lines: third_party/WebKit/LayoutTests/external/wpt/css/css-align/default-alignment/place-items-shorthand-002.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
<metaname="assert" content="Check that setting two values to place-items sets the first one to 'align-items' and the second one to 'justify-items'." />
Copy file name to clipboardExpand all lines: third_party/WebKit/LayoutTests/external/wpt/css/css-align/default-alignment/place-items-shorthand-004.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
<metaname="assert" content="Check that place-items's invalid values are properly detected at parsing time." />
Copy file name to clipboardExpand all lines: third_party/WebKit/LayoutTests/external/wpt/css/css-align/default-alignment/place-items-shorthand-006.html
+2-2
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
<metaname="assert" content="Check the place-items's 'specified' and 'resolved' values serialization." />
0 commit comments