aboutsummaryrefslogtreecommitdiffstats
path: root/test/render/flex/flex-align-content-space-between.htm
diff options
context:
space:
mode:
authorYuri Kobets <[email protected]>2024-01-31 03:48:44 +0300
committerGitHub <[email protected]>2024-01-31 03:48:44 +0300
commit6ca1ab0419e770e6d35a1ef690238773a1dafcee (patch)
tree16df635edd594dc1d1b9d0044993e2ae4d0e0200 /test/render/flex/flex-align-content-space-between.htm
parent8c320007878795fe629de7fe1eaef9328ac9c719 (diff)
parentd85ebec101e77825e5708e58df0e2508ec4fd389 (diff)
Merge pull request #285 from litehtml/flex_layoutHEADv0.9dev
Flex layout
Diffstat (limited to 'test/render/flex/flex-align-content-space-between.htm')
-rw-r--r--test/render/flex/flex-align-content-space-between.htm45
1 files changed, 45 insertions, 0 deletions
diff --git a/test/render/flex/flex-align-content-space-between.htm b/test/render/flex/flex-align-content-space-between.htm
new file mode 100644
index 00000000..eff222a3
--- /dev/null
+++ b/test/render/flex/flex-align-content-space-between.htm
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+<!-- Mirrored from test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/flex-align-content-space-between.htm by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 23 Dec 2023 16:15:11 GMT -->
+<head>
+ <title>CSS Flexible Box Test: align-content property - space-between</title>
+ <link href="mailto:[email protected]" rel="author" title="haosdent">
+ <link href="http://www.w3.org/TR/css-flexbox-1/#align-content-property" rel="help">
+ <link href="http://test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/reference/flex-align-content-space-between-ref.htm" rel="match">
+ <meta content="Statement describing what the test case is asserting" name="assert">
+ <style type="text/css">
+ .container {
+ position: relative;
+ height: 14em;
+ width: 20em;
+ display: flex;
+ flex-wrap: wrap;
+ align-content: space-between;
+ background: red;
+ margin: 1em;
+ border: 1px solid black;
+ }
+ span {
+ height: 2em;
+ display: inline-block;
+ flex: none;
+ background: green;
+ color: white;
+ margin: 1em;
+ width: 8em;
+ }
+ </style>
+</head>
+<body>
+ <p>The test passed if you see a 2*2 table and all the cells are spaced equally apart.</p>
+ <div class="container">
+ <span>first</span>
+ <span>second</span>
+ <span>third</span>
+ <span>forth</span>
+ </div>
+
+
+</body>
+<!-- Mirrored from test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/flex-align-content-space-between.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