Files
firefox/testing/web-platform/tests/css/css-flexbox/reference/align-content_space-between-ref.html
Carlos Alberto Lopez Perez 6710c91617 Bug 1632174 [wpt PR 23170] - css-flexbox: convert 7 manual-tests to ref-tests, a=testonly
Automatic update from web-platform-tests
css-flexbox: convert 7 manual-tests to ref-tests (#23170)

* This converts the css-flexbox align-content_*.html tests and
flexbox-order-only-flexitems.html test to ref-tests.

* css-flexbox/align-content_space-around.html change height to 210:
that way the numbers of the ref-test spacer become 20 and 10 and
are perfectly round avoiding possible problems with subpixel layout.

--

wpt-commits: b3cc52b6cfaa5b6852bf9b07e62d007ab142ffa9
wpt-pr: 23170
2020-04-28 11:38:15 +00:00

24 lines
773 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>CSS Flexible Box Test: align-content_space-between</title>
<link rel="stylesheet" href="../support/test-style.css">
<style>
#test {
height: 200px;
width: 80px;
}
#spacer {
width: 50px;
height: 25px;
}
</style>
</head>
<body>
<p>Test passes if:<br>
1. the rectangle 1, 2, 3 show up in a vertical column in a red rectangle.<br>
2. No gap between the top of red rectangle and the top of rectangle 1, no gap between the bottom of red rectangle and the bottom of rectangle 3 too, and rectangle 2 is distributed so that the empty space between rectangle 1 and rectangle 3 is the same.</p>
<div id=test><div id=test01>1</div><div id=spacer></div><div id=test02>2</div><div id=spacer></div><div id=test03>3</div></div>
</body>
</html>