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-box-justify-content.htm | |
parent | 8c320007878795fe629de7fe1eaef9328ac9c719 (diff) | |
parent | d85ebec101e77825e5708e58df0e2508ec4fd389 (diff) |
Flex layout
Diffstat (limited to 'test/render/flex/css-box-justify-content.htm')
-rw-r--r-- | test/render/flex/css-box-justify-content.htm | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/test/render/flex/css-box-justify-content.htm b/test/render/flex/css-box-justify-content.htm new file mode 100644 index 00000000..4325e926 --- /dev/null +++ b/test/render/flex/css-box-justify-content.htm @@ -0,0 +1,38 @@ +<!DOCTYPE html> +<html> +<!-- Mirrored from test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/css-box-justify-content.htm by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 23 Dec 2023 16:15:11 GMT --> +<head><title>flexbox |css-box-justify-content</title> +<link href="mailto:[email protected]" rel="author" title="xiaoxia"> +<link href="http://www.w3.org/TR/css-flexbox-1/#justify-content-property" rel="help"> +<link href="http://www.w3.org/TR/css-flexbox-1/#flex-flow-property" rel="help"> +<link href="http://test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/reference/css-box-justify-content-ref.htm" rel="match"> +<style> +#flexbox { + background: green; + width: 300px; + height: 40px; + display: flex; + flex-flow: row; + justify-content: flex-end; +} +.item{ + width:50px; + height: 30px; + } +</style> + +</head><body><p>This test passes if the DIV5's position in the end and the div is Horizontal layout</p> +<div id="flexbox"> + <div style="background-color: rgb(242, 210, 80); color: rgb(41, 119, 248);" class="item">DIV1</div> + + <div style="background-color: rgb(110, 8, 7); color: rgb(162, 152, 22);" class="item">DIV2</div> + + <div style="background-color: rgb(215, 172, 243); color: rgb(74, 123, 110);" class="item">DIV3</div> + + <div style="background-color: rgb(242, 133, 80); color: rgb(41, 119, 248);" class="item">DIV4</div> + + <div style="background-color: rgb(242, 50, 80); color: rgb(41, 119, 248);" class="item">DIV5</div> +</div> +</body> +<!-- Mirrored from test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/css-box-justify-content.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 |