gecko-dev/layout/reftests/floats/orthogonal-floats-1a.html
Joel Maher 137355f925 Bug 1545558 - remove unnecessary text from divs from orthoganal-float test cases r=mats
remove unnecessary text from divs in orthogonal-float test cases

Differential Revision: https://phabricator.services.mozilla.com/D28126

--HG--
extra : moz-landing-system : lando
2019-04-18 21:05:09 +00:00

55 lines
1.1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Bug 1141867 - Contiguous right-floating boxes with vertical writing mode</title>
<!-- based on testcases from Gerard Talbot, see https://bugzilla.mozilla.org/show_bug.cgi?id=1141867 -->
<meta charset="utf-8">
<style type="text/css">
body {
margin: 8px;
}
p {
clear: both;
}
div.floated-right {
background: green;
color: green;
inline-size: 100px;
block-size: 20px;
float: right;
-ah-writing-mode: vertical-rl;
-webkit-writing-mode: vertical-rl;
writing-mode: tb-rl; /* IE 11 */
writing-mode: vertical-rl;
}
div#reference-overlapped-red {
background-color: red;
width: 100px;
height: 100px;
position: absolute;
right: 8px;
top: 8px;
z-index: -1;
}
</style>
</head>
<body>
<div class="floated-right"></div>
<div class="floated-right"></div>
<div class="floated-right"></div>
<div class="floated-right"></div>
<div class="floated-right"></div>
<div id="reference-overlapped-red"></div>
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
</body>
</html>