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

Unified Diff: third_party/WebKit/LayoutTests/fast/alignment/alignment-and-anomymous-boxes-expected.html

Issue 2455093002: [css-align] Don't resolve 'auto' values for computed style. (Closed)
Patch Set: Patch for landing. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/alignment/alignment-and-anomymous-boxes-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/alignment/alignment-and-anomymous-boxes-expected.html b/third_party/WebKit/LayoutTests/fast/alignment/alignment-and-anomymous-boxes-expected.html
index 008235b3ce5ecd5875d5c3ef8aa4acde146aca6d..6104f181d487d3412b1f35ab0bcae61afd15d2ca 100644
--- a/third_party/WebKit/LayoutTests/fast/alignment/alignment-and-anomymous-boxes-expected.html
+++ b/third_party/WebKit/LayoutTests/fast/alignment/alignment-and-anomymous-boxes-expected.html
@@ -8,18 +8,18 @@
}
.grid { display: grid; }
.flex { display: flex; }
-.itemsCenter {
- align-items: center;
- justify-items: center;
+.selfCenter {
+ align-self: center;
+ justify-self: center;
}
</style>
<p>Grid item created as anonymous box to contain the text element. The text element should be centered in both axis due to the Default Alignment 'center' value on its container.</p>
-<div class="container grid itemsCenter">
- <div>foobar</div>
+<div class="container grid">
+ <div class="selfCenter">foobar</div>
</div>
-<p>Flex item created as anonymous box to contain the text element. The text element should be centered in both axis due to the Default Alignment 'center' value on its container.</p>
-<div class="container flex itemsCenter">
- <div>foobar</div>
+<p>Flex item created as anonymous box to contain the text element. The text element should be centered in cross axis due to the Default Alignment 'center' value on its container.</p>
+<div class="container flex">
+ <div class="selfCenter">foobar</div>
</div>

Powered by Google App Engine
This is Rietveld 408576698