aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/layout-algorithm_algo-cross-line-001.xht
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2017-02-06 11:06:12 +0100
committerMs2ger <Ms2ger@gmail.com>2017-02-06 22:38:29 +0100
commit296fa2512ba2fbc8f1d6b7e82e30ad3b5d2a9a20 (patch)
tree95ac50cd05fa8a22d1c0fa12016ee0d2012a165c /tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/layout-algorithm_algo-cross-line-001.xht
parentfb4f421c8b9cbf80a86c9c5eb88395d7008b27a1 (diff)
downloadservo-296fa2512ba2fbc8f1d6b7e82e30ad3b5d2a9a20.tar.gz
servo-296fa2512ba2fbc8f1d6b7e82e30ad3b5d2a9a20.zip
Update web-platform-tests and CSS tests.
- Update CSS tests to revision e05bfd5e30ed662c2f8a353577003f8eed230180. - Update web-platform-tests to revision a052787dd5c069a340031011196b73affbd68cd9.
Diffstat (limited to 'tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/layout-algorithm_algo-cross-line-001.xht')
-rw-r--r--tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/layout-algorithm_algo-cross-line-001.xht32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/layout-algorithm_algo-cross-line-001.xht b/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/layout-algorithm_algo-cross-line-001.xht
new file mode 100644
index 00000000000..75fb850678e
--- /dev/null
+++ b/tests/wpt/css-tests/css-flexbox-1_dev/xhtml1/layout-algorithm_algo-cross-line-001.xht
@@ -0,0 +1,32 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml"><head>
+ <title>CSS Grid Layout Test: cross size determination with overflow:scroll</title>
+ <link href="mailto:tomalecpub+github@gmail.com" rel="author" title="Tomek Wytrebowicz" />
+ <link href="https://www.w3.org/TR/css-flexbox-1/#algo-cross-line" rel="help" title="9.4. Cross Size Determination" />
+ <link href="reference/layout-algorithm_algo-cross-line-001-ref.xht" rel="match" />
+ <meta content="This test checks that correct height is applied if overflow: scroll is set" name="assert" />
+ <style type="text/css">
+ .flex {
+ width: 200px;
+ display: flex;
+ background: red;
+ }
+
+ .flex&gt;* {
+ background: green;
+ height: 200px;
+ flex: 1;
+ overflow: scroll;
+ }
+ </style>
+ </head>
+ <body>
+ <p>Test passes if there is a filled green square with scrollbars and <strong>no red</strong>.</p>
+
+ <div class="flex">
+ <div></div>
+ <div></div>
+ </div>
+
+
+</body></html> \ No newline at end of file