summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/deprecated-flexbox/020.html
diff options
context:
space:
mode:
authorcbiesinger@chromium.org <cbiesinger@chromium.org>2015-07-29 19:42:29 +0000
committercbiesinger@chromium.org <cbiesinger@chromium.org>2015-07-29 19:42:29 +0000
commitd4d3d3bc591820db357b6d0c4e204232c4f34ef3 (patch)
tree0fd0bec8e330a1cf3475d984c43500295bf27778 /third_party/WebKit/LayoutTests/fast/deprecated-flexbox/020.html
parent215c047e6f7430bb83e56f0b413208c7f850128a (diff)
downloadchromium_src-d4d3d3bc591820db357b6d0c4e204232c4f34ef3.zip
chromium_src-d4d3d3bc591820db357b6d0c4e204232c4f34ef3.tar.gz
chromium_src-d4d3d3bc591820db357b6d0c4e204232c4f34ef3.tar.bz2
Rename fast/flexbox to fast/deprecated-flexbox
This directory tests -webkit-box, not display: flex. Rename it to reduce confusion. R=pdr@chromium.org Review URL: https://codereview.chromium.org/1265703002 git-svn-id: svn://svn.chromium.org/blink/trunk@199676 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/deprecated-flexbox/020.html')
-rw-r--r--third_party/WebKit/LayoutTests/fast/deprecated-flexbox/020.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/deprecated-flexbox/020.html b/third_party/WebKit/LayoutTests/fast/deprecated-flexbox/020.html
new file mode 100644
index 0000000..14fc969
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/deprecated-flexbox/020.html
@@ -0,0 +1,39 @@
+<html>
+<head>
+<style>
+div {
+ display: -moz-box;
+ display: -webkit-box;
+ display: box;
+}
+
+.first {
+ -moz-box-flex-group: 1;
+ -webkit-box-flex-group: 1;
+ box-flex-group: 1;
+ background-color: green;
+ -moz-box-flex: 1;
+ -webkit-box-flex: 1;
+ box-flex: 1;
+}
+
+.second {
+ -moz-box-flex-group: 2;
+ -webkit-box-flex-group: 2;
+ box-flex-group: 2;
+ background-color: red;
+ -moz-box-flex: 1;
+ -webkit-box-flex: 1;
+ box-flex: 1;
+}
+</style>
+</head>
+<body>
+<p>You should see a 100x100 green square below. If you see any red, the test has failed. This test is checking
+for box-flex-group support.</p>
+<div style="width:100px;height:100px;background-color:red">
+ <div class="first"></div>
+ <div class="second"></div>
+</div>
+</body>
+</html>