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

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

Issue 396263003: flex shorthand incorrectly accepting 1 0% 1 (i.e. flex-basis in the middle) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: WIP Patch 2 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <link href="resources/flexbox.css" rel="stylesheet">
4 <style>
5 .flexbox {
6 background: green;
tony 2014/07/16 17:12:38 Nit: Style in our test html files isn't that impor
harpreet.sk 2014/07/17 08:03:25 Done.
7 position: relative;
8 padding: 10px;
9 border: 2px solid red;
10 }
11
12 .flexbox > div {
13 background: yellow;
14 flex: 1 0% 1;
15 border: 1px solid black;
16 width: 50px;
17 }
18 </style>
19 <script src="../../resources/check-layout.js"></script>
20 <body onload="checkLayout('.flexbox')">
21 <div class="flexbox" style="width: 500px; height:100px">
22 <div data-expected-width="52"></div>
23 <div data-expected-width="52"></div>
24 <div data-expected-width="52"></div>
25 </div>
26 </body>
27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698