diff options
author | Yuri Kobets <yuri.kobets@gmail.com> | 2024-01-31 03:48:44 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-31 03:48:44 +0300 |
commit | 6ca1ab0419e770e6d35a1ef690238773a1dafcee (patch) | |
tree | 16df635edd594dc1d1b9d0044993e2ae4d0e0200 /test/render/flex/-flex-inline.htm | |
parent | 8c320007878795fe629de7fe1eaef9328ac9c719 (diff) | |
parent | d85ebec101e77825e5708e58df0e2508ec4fd389 (diff) |
Flex layout
Diffstat (limited to 'test/render/flex/-flex-inline.htm')
-rw-r--r-- | test/render/flex/-flex-inline.htm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/test/render/flex/-flex-inline.htm b/test/render/flex/-flex-inline.htm new file mode 100644 index 00000000..45d22c8c --- /dev/null +++ b/test/render/flex/-flex-inline.htm @@ -0,0 +1,33 @@ +<!DOCTYPE html> +<html> +<!-- Mirrored from test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/flex-inline.htm by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 23 Dec 2023 16:15:11 GMT --> +<head> + <title>CSS Flexible Box Test: display proprety - inline-flex</title> + <link href="mailto:haosdent@gmail.com" rel="author" title="haosdent"> + <link href="http://www.w3.org/TR/css-flexbox-1/#valdef-display-inline-flex" rel="help"> + <link href="http://test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/reference/flex-inline-ref.htm" rel="match"> + <meta content="Statement describing what the test case is asserting" name="assert"> + <style type="text/css"> + /* Positioned container allows for the self-describing statement to still + be visible in the case of failure */ + .container { + position: relative; + } + .greenSquare { + display: inline-flex; + margin-top: -200px; + background: green; + } + </style> +</head> +<body> + <p>The test passed if you see a green block which its text is 'Success!'.</p> + <div class="container"> + <!-- This is the square that should not be visible if the test passes --> + <div class="greenSquare">Success!</div> + </div> + + +</body> +<!-- Mirrored from test.csswg.org/suites/css-flexbox-1_dev/nightly-unstable/html/flex-inline.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 |