Chromium Code Reviews| 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 |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f28cfe98dd28c4daada0f75baa4d32ad01689ce5 |
| --- /dev/null |
| +++ b/LayoutTests/css3/flexbox/flex-shorthand-flex-basis-middle.html |
| @@ -0,0 +1,27 @@ |
| +<!DOCTYPE html> |
| +<html> |
| +<link href="resources/flexbox.css" rel="stylesheet"> |
| +<style> |
| +.flexbox { |
| + 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.
|
| + position: relative; |
| + padding: 10px; |
| + border: 2px solid red; |
| +} |
| + |
| +.flexbox > div { |
| + background: yellow; |
| + flex: 1 0% 1; |
| + border: 1px solid black; |
| + width: 50px; |
| +} |
| +</style> |
| +<script src="../../resources/check-layout.js"></script> |
| +<body onload="checkLayout('.flexbox')"> |
| +<div class="flexbox" style="width: 500px; height:100px"> |
| + <div data-expected-width="52"></div> |
| + <div data-expected-width="52"></div> |
| + <div data-expected-width="52"></div> |
| +</div> |
| +</body> |
| +</html> |