gecko-dev/testing/web-platform/tests/css/css-align/reference/ttwf-reftest-alignContent-ref.html
Philip Jägenstedt 48b9e18cfc Bug 1590525 [wpt PR 19832] - Convert tabs to spaces in css/ directories with few lint errors, a=testonly
Automatic update from web-platform-tests
Convert tabs to spaces in css/ directories with few lint errors (#19832)

This follows the same approach as in https://github.com/web-platform-tests/wpt/pull/19824
to identify directories in css/ with few lint errors and removes the
lint.whitelist exceptions for those.

For css/css-counter-styles/ some newlines were also added/removed to
arrive at a reasonable style.
--

wpt-commits: 5af91f79216344d5a243f2fc133e373b39e1322e
wpt-pr: 19832
2019-10-31 12:16:28 +00:00

37 lines
949 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>ttwf-reftest-alignContent-ref</title>
<link rel="author" title="Heechang Kang" href="mailto:hckang80@gmail.com">
<link rel="help" href="http://www.w3.org/TR/css3-align/#align-content">
<style type="text/css">
#main{
display:table;
position:relative;
font-size:0;
width:70px;
border:1px solid #c3c3c3;
}
#main .sample{
position:absolute;
left:0;
top:50%;
z-index:-1;
margin:-35px 0 0;
}
#main > span{
display:inline-block;
width:70px;
height:70px;
margin:50px 0;
}
</style>
</head>
<body>
<p>PASS if there is no red box.</p>
<div id="main">
<span class="sample" style="background-color:red;"></span>
<span style="background-color:green;"></span>
</div>
</body>
</html>