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

Unified Diff: LayoutTests/css3/flexbox/flex-shorthand-flex-basis-middle.html

Issue 408683002: flex shorthand incorrectly accepting 1 auto 1 (i.e. flex-basis in the middle) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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: LayoutTests/css3/flexbox/flex-shorthand-flex-basis-middle.html
diff --git a/LayoutTests/css3/flexbox/flex-shorthand-flex-basis-middle.html b/LayoutTests/css3/flexbox/flex-shorthand-flex-basis-middle.html
index 85b1a06737a25c9d0d63905c6b5af622c036dc66..7d53aee03aa709ee57775338c8de802ffaa111c2 100644
--- a/LayoutTests/css3/flexbox/flex-shorthand-flex-basis-middle.html
+++ b/LayoutTests/css3/flexbox/flex-shorthand-flex-basis-middle.html
@@ -9,7 +9,6 @@
}
.flexbox > div {
- flex: 1 0% 1;
width: 50px;
background: yellow;
}
@@ -17,9 +16,15 @@
<script src="../../resources/check-layout.js"></script>
<body onload="checkLayout('.flexbox')">
<div class="flexbox">
- <div data-expected-width="50"></div>
- <div data-expected-width="50"></div>
- <div data-expected-width="50"></div>
+ <div data-expected-width="50" style="flex: 1 0% 1"></div>
+ <div data-expected-width="50" style="flex: 1 0% 1"></div>
+ <div data-expected-width="50" style="flex: 1 0% 1"></div>
+</div>
+
+<div class="flexbox">
+ <div data-expected-width="50" style="flex: 1 auto 1"></div>
+ <div data-expected-width="50" style="flex: 1 auto 1"></div>
+ <div data-expected-width="50" style="flex: 1 auto 1"></div>
</div>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698