File: -flex-inline.htm

package info (click to toggle)
litehtml 0.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,928 kB
  • sloc: ansic: 31,385; cpp: 27,328; makefile: 9
file content (33 lines) | stat: -rw-r--r-- 1,479 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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>