mirror of
https://github.com/servo/servo
synced 2026-04-28 18:37:39 +02:00
Update CSS tests to revision 2baa72daab8bf37e3e910a9fd311a1eaa5b0f4a8
This commit is contained in:
@@ -22,14 +22,13 @@
|
||||
<meta content="This test checks the flow of contiguous left-floated boxes with 'writing-mode' set to 'vertical-lr'." name="assert" />
|
||||
|
||||
<style type="text/css"><![CDATA[
|
||||
p
|
||||
div#reference-overlapped-red
|
||||
{
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
strong
|
||||
{
|
||||
line-height: 1;
|
||||
background-color: red;
|
||||
height: 100px;
|
||||
position: absolute;
|
||||
width: 100px;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
div.floated-left
|
||||
@@ -39,17 +38,6 @@
|
||||
font: 1.25em/1 Ahem; /* computes to 20px/20px */
|
||||
writing-mode: vertical-lr;
|
||||
}
|
||||
|
||||
div#reference-overlapped-red
|
||||
{
|
||||
background-color: red;
|
||||
height: 100px;
|
||||
left: 8px;
|
||||
position: absolute;
|
||||
top: 52px;
|
||||
width: 100px;
|
||||
z-index: -1;
|
||||
}
|
||||
]]></style>
|
||||
</head>
|
||||
|
||||
@@ -57,6 +45,8 @@
|
||||
|
||||
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||
|
||||
<div id="reference-overlapped-red"></div>
|
||||
|
||||
<div class="floated-left">abcde</div>
|
||||
|
||||
<div class="floated-left">fghjk</div>
|
||||
@@ -67,7 +57,5 @@
|
||||
|
||||
<div class="floated-left">wxyzz</div>
|
||||
|
||||
<div id="reference-overlapped-red"></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user