summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/reference/layout-algorithm_algo-cross-line-001-ref.html
blob: 5174bd1d9f720115a1a8c7fa32a86db396ff7408 (plain)
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
<!DOCTYPE html>
<html>
	<head>
		<title>CSS Flex-basis Test</title>
        <link rel="author" title="Tomek Wytrebowicz" href="mailto:tomalecpub+github@gmail.com">
        <style type="text/css">
            .flex {
                width: 200px;
                height: 200px;
            }

            .flex > * {
                background: green;
                height: 200px;
                width: 100px;
                overflow: scroll;
                display: inline-block;
            }
        </style>
    </head>
    <body>
        <p>Test passes if there is a filled green square with scrollbars and <strong>no red</strong>.</p>

        <div class="flex">
            <div></div><div></div>
        </div>
    </body>
</html>