Index: LayoutTests/css3/flexbox/flex-grow-less-than-one.html |
diff --git a/LayoutTests/css3/flexbox/flex-grow-less-than-one.html b/LayoutTests/css3/flexbox/flex-grow-less-than-one.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d4f6b3f9dd1f2f74d7c19df763c300ad0e70dfaf |
--- /dev/null |
+++ b/LayoutTests/css3/flexbox/flex-grow-less-than-one.html |
@@ -0,0 +1,53 @@ |
+<!DOCTYPE html> |
+<html> |
harpreet.sk
2015/09/07 06:10:16
We generally skip html, head and body element.
ashlin.j
2015/09/21 06:33:59
Done.
|
+<link href="resources/flexbox.css" rel="stylesheet"> |
+<style> |
+.parent { |
+ height: 100px; |
+ width: 100px; |
+ border: 1px solid black; |
+} |
+ |
+.child-flex-grow-1 { |
+ background-color: green; |
+ flex-grow: 0.5; |
+} |
+ |
+.child-flex-grow-2 { |
+ background-color: red; |
+ flex-grow: 0.25; |
+} |
+.child-flex-grow-3 { |
+ background-color: green; |
+ flex-grow: 1.5; |
+} |
+ |
+.child-flex-grow-4 { |
+ background-color: red; |
+ flex-grow: 1.5; |
+} |
+ |
+ |
harpreet.sk
2015/09/07 06:10:16
Remove Extra lines and spaces. Make your test conc
ashlin.j
2015/09/21 06:34:00
Done.
|
+ |
+</style> |
+<script src="../../resources/check-layout.js"></script> |
+<body onload="checkLayout('.flexbox');"> |
+<div>Test Case-1</div> |
+<div class="flexbox parent"> |
+ <div class="child-flex-grow-1 " data-expected-width="50"></div> |
+</div> |
+ |
+<div>Test Case-2</div> |
+<div class="flexbox parent"> |
+ <div class="child-flex-grow-1 " data-expected-width="50"></div> |
+ <div class="child-flex-grow-2 " data-expected-width="25"></div> |
+</div> |
+ |
+<div>Test Case-3</div> |
+<div class="flexbox parent"> |
+ <div class="child-flex-grow-3 " data-expected-width="50"></div> |
+ <div class="child-flex-grow-4 " data-expected-width="50"></div> |
+</div> |
+ |
+</body> |
harpreet.sk
2015/09/07 06:10:16
html not required.
ashlin.j
2015/09/21 06:34:00
Done.
|
+</html> |