mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update CSS tests to revision c8ec30de8099360ecf6581035bfdf2180fcc9755
Necessary for: https://github.com/servo/servo/pull/7117
This commit is contained in:
parent
e46499a5df
commit
c51deb9a6e
156 changed files with 13569 additions and 535 deletions
|
@ -10,9 +10,13 @@
|
|||
vertical-align: top;
|
||||
}
|
||||
|
||||
img#blue
|
||||
{
|
||||
padding-left: 60px; /* = the position of blue square */
|
||||
}
|
||||
|
||||
img#orange
|
||||
{
|
||||
padding-top: 60px; /* = the height of first character */
|
||||
padding-left: 120px; /* = the position of orange square */
|
||||
}
|
||||
|
||||
|
@ -22,11 +26,11 @@
|
|||
|
||||
<body>
|
||||
|
||||
<p>Test passes if the right edge of an orange square touches the left edge of a blue square.</p>
|
||||
<p>Test passes if the right edge of an blue square is aligned with the left edge of a orange square.</p>
|
||||
|
||||
<div>
|
||||
<img id="orange" src="support/swatch-orange.png" width="60" height="60" alt="Image download support must be enabled"><!--
|
||||
--><img src="support/swatch-blue.png" width="120" height="120" alt="Image download support must be enabled">
|
||||
<img id="blue" src="support/swatch-blue.png" width="60" height="60" alt="Image download support must be enabled"><br><!--
|
||||
--><img id="orange" src="support/swatch-orange.png" width="30" height="30" alt="Image download support must be enabled">
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
@ -12,12 +12,12 @@
|
|||
|
||||
img
|
||||
{
|
||||
padding-left: 15px; /* = the position of first orange square */
|
||||
padding-left: 60px; /* = the position of first orange square */
|
||||
}
|
||||
|
||||
img + br + img
|
||||
{
|
||||
padding-left: 45px; /* = the position of second orange square*/
|
||||
padding-left: 60px; /* = the position of second orange square*/
|
||||
}
|
||||
</style>
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
|||
|
||||
<body>
|
||||
|
||||
<p>Test passes if the <strong>right edge</strong> of an irregular orange polygon is straight and unbroken.</p>
|
||||
<p>Test passes if the <strong>left edge</strong> of an irregular orange polygon is straight and unbroken.</p>
|
||||
|
||||
<div>
|
||||
<img src="support/swatch-orange.png" width="60" height="60" alt="Image download support must be enabled"><br><!--
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue