diff options
author | Yuri Kobets <[email protected]> | 2024-01-31 03:48:44 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2024-01-31 03:48:44 +0300 |
commit | 6ca1ab0419e770e6d35a1ef690238773a1dafcee (patch) | |
tree | 16df635edd594dc1d1b9d0044993e2ae4d0e0200 /test/render/flex/-css-flexbox-test1.htm | |
parent | 8c320007878795fe629de7fe1eaef9328ac9c719 (diff) | |
parent | d85ebec101e77825e5708e58df0e2508ec4fd389 (diff) |
Flex layout
Diffstat (limited to 'test/render/flex/-css-flexbox-test1.htm')
-rw-r--r-- | test/render/flex/-css-flexbox-test1.htm | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/test/render/flex/-css-flexbox-test1.htm b/test/render/flex/-css-flexbox-test1.htm new file mode 100644 index 00000000..e5d20577 --- /dev/null +++ b/test/render/flex/-css-flexbox-test1.htm @@ -0,0 +1,54 @@ +<!DOCTYPE html> +<!-- coding:utf-8 --><html> +<!-- Mirrored from test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/css-flexbox-test1.htm by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 23 Dec 2023 16:15:11 GMT --> +<head> + <meta charset="utf-8"> + <title>CSS Flexbox Test: flex direction: row, writing mode vertical</title> + <link href="mailto:[email protected]" rel="author" title="Tsutomu ogaoga Ogasawara"> + <link href="http://fantasai.inkedblade.net/contact" rel="reviewer" title="Elika J Etemad"> + <!-- You must have at least one spec link, but may have as many as are covered in the test. --> + <!-- Be sure to make the main testing area first in the order --> + <link href="http://www.w3.org/TR/css-flexbox-1/#flex-flow-property" rel="help"> + <!-- The match link is only required if this is a reftest --> + <link href="http://test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/reference/css-flexbox-test1-ref.htm" rel="match"> + <meta content="" name="flags"> + <meta content="Test checks that when writing mode is vertical and flex-flow: row, the flex container is vertical." name="assert"> + <style type="text/css"> + .container { + display: flex; + flex-flow: row; + writing-mode: vertical-rl; + color: white; + } + .item { + background: green; + height: 3em; + width: 3em; + + /* make sure UA that doesn't support writing mode and flexbox fails. */ + float: right; + } + .error { + position: absolute; + background: red; + height: 9em; + width: 3em; + z-index: -1; + } + </style> +</head> +<body> + <p>The test passes if you see a tall green box with pairs of the digits 1-9 listed top to bottom in two columns.</p> + + <div class="error"></div> + <div class="container"> + <div class="item">123<br>123</div> + <div class="item">456<br>456</div> + <div class="item">789<br>789</div> + </div> + + + +</body> +<!-- Mirrored from test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/css-flexbox-test1.htm by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 23 Dec 2023 16:15:11 GMT --> +</html>
\ No newline at end of file |