mirror of
https://github.com/servo/servo.git
synced 2025-06-24 09:04:33 +01:00
Update CSS tests to revision 0698c2aa9ead844b6d7d10eafb096cb1118e13ef
This commit is contained in:
parent
9aa1b1e408
commit
35c74aecc2
11290 changed files with 92400 additions and 49214 deletions
|
@ -11,12 +11,12 @@
|
|||
top: 70px;
|
||||
}
|
||||
.left-rect {
|
||||
left: 10px;
|
||||
left: 10px;
|
||||
}
|
||||
.right-rect {
|
||||
width: 50px;
|
||||
height: 100px;
|
||||
left: 70px;
|
||||
left: 70px;
|
||||
background: rgb(0,100,0);
|
||||
}
|
||||
.blue {
|
||||
|
@ -40,4 +40,5 @@
|
|||
<div class="blue left-line"></div>
|
||||
<div class="blue right-line"></div>
|
||||
|
||||
|
||||
</body></html>
|
|
@ -13,7 +13,7 @@
|
|||
}
|
||||
.left-rect { left: 10px; }
|
||||
.right-rect { left: 70px; }
|
||||
|
||||
|
||||
.blue {
|
||||
width: 2px;
|
||||
height: 100px;
|
||||
|
@ -38,4 +38,5 @@
|
|||
<div class="blue left-line"></div>
|
||||
<div class="blue right-line"></div>
|
||||
|
||||
|
||||
</body></html>
|
|
@ -13,7 +13,7 @@
|
|||
}
|
||||
.left-rect { left: 10px; }
|
||||
.right-rect { left: 120px; }
|
||||
|
||||
|
||||
.blue {
|
||||
width: 2px;
|
||||
height: 200px;
|
||||
|
@ -38,4 +38,5 @@
|
|||
<div class="blue left-line"></div>
|
||||
<div class="blue right-line"></div>
|
||||
|
||||
|
||||
</body></html>
|
|
@ -58,7 +58,7 @@
|
|||
<p>
|
||||
The test passes if the green shape does not intersect either of the triangles and
|
||||
there is one green horizontal bar beneath the triangles. There should be no red.
|
||||
</p>
|
||||
</p>
|
||||
<div id="container">
|
||||
<div id="level-1">
|
||||
XXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXX XXXXXXXXXXXXX XXXXXXXXXXX
|
||||
|
@ -80,4 +80,5 @@
|
|||
<div id="left-triangle"></div>
|
||||
<div id="right-triangle"></div>
|
||||
|
||||
|
||||
</body></html>
|
|
@ -20,7 +20,7 @@
|
|||
border: 1px solid black;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -28,16 +28,17 @@
|
|||
The test passes if there are two columns of six green horizontal bars of the same
|
||||
size inside the square and two columns of six matching green bars outside and to the
|
||||
right of the square. There should be no red.
|
||||
</p>
|
||||
</p>
|
||||
<div id="container">
|
||||
XXXX XXXX XXXX XXXX
|
||||
XXXX XXXX XXXX XXXX
|
||||
XXXX XXXX XXXX XXXX
|
||||
XXXX XXXX XXXX XXXX
|
||||
XXXX XXXX XXXX XXXX
|
||||
XXXX XXXX XXXX XXXX
|
||||
XXXX XXXX XXXX XXXX
|
||||
XXXX XXXX XXXX XXXX
|
||||
</div>
|
||||
<div id="square"></div>
|
||||
|
||||
|
||||
|
||||
|
||||
</body></html>
|
|
@ -11,7 +11,7 @@
|
|||
border: 1px solid black;
|
||||
}
|
||||
#failure-container {
|
||||
|
||||
|
||||
}
|
||||
#margin-line {
|
||||
position: absolute;
|
||||
|
@ -73,7 +73,7 @@
|
|||
The test passes if one green bar is inside the top rectangle, four green bars
|
||||
are in the bottom rectangle, and none intersect the triangles. There should be no
|
||||
red.
|
||||
</p>
|
||||
</p>
|
||||
<div id="container">
|
||||
<div class="fail" id="bar-1"></div>
|
||||
<div class="fail" id="bar-2"></div>
|
||||
|
@ -85,4 +85,5 @@
|
|||
<div class="triangle" id="triangle-1"></div>
|
||||
<div class="triangle" id="triangle-2"></div>
|
||||
|
||||
|
||||
</body></html>
|
|
@ -50,7 +50,7 @@
|
|||
X<br>
|
||||
X
|
||||
</div>
|
||||
|
||||
|
||||
<script src="../../support/rounded-rectangle.js"></script>
|
||||
<script src="../../support/subpixel-utils.js"></script>
|
||||
<script>
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
X<br>
|
||||
X
|
||||
</div>
|
||||
|
||||
|
||||
<script src="../../support/rounded-rectangle.js"></script>
|
||||
<script src="../../support/subpixel-utils.js"></script>
|
||||
<script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue