mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update CSS tests to revision 584b6cdd10401df603bd7bdf4ec801fcddc65468
This commit is contained in:
parent
8d21a79246
commit
58b5cd27de
1279 changed files with 30378 additions and 18158 deletions
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
|
||||
<head>
|
||||
|
||||
<title>CSS Reftest Reference</title>
|
||||
|
||||
<link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact">
|
||||
<meta name="flags" content="ahem">
|
||||
|
||||
<style type="text/css">
|
||||
div p { width: 28em; border: solid; margin: 1em; padding: 0.5em; background: #FFFFCC; color: black; font: 1em/1 Ahem; }
|
||||
.control { line-height: 3em; }
|
||||
.control.start { border-style: solid none solid solid; padding: 0.4em 0 0.4em 1em; }
|
||||
.control.middle { border-style: solid none solid none; padding: 0.4em 0 0.4em 0; }
|
||||
.control.end { border-style: solid solid solid none; padding: 0.4em 1em 0.4em 0; }
|
||||
.a { color: navy; }
|
||||
.b { color: orange; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p> The following two blocks should be identical, including overflow. (Force bidi: א) </p>
|
||||
<div>
|
||||
<p>
|
||||
<span class="control a start">pppp pppX ppXp ppXX pXpp</span><br><span class="control b start">pXpX</span> pXXp pXXX Xppp<span class="control a end"> XppX</span><br><span class="control b end">XpXp XpXX XXpp XXpX XXXp</span>
|
||||
</p>
|
||||
<p>
|
||||
<span class="control a start">pppp pppX ppXp ppXX pXpp</span><br><span class="control b start">pXpX</span> pXXp pXXX Xppp<span class="control a end"> XppX</span><br><span class="control b end">XpXp XpXX XXpp XXpX XXXp</span>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -3,6 +3,7 @@
|
|||
<head>
|
||||
<title>CSS Reftest Reference</title>
|
||||
<link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com">
|
||||
<link rel="reviewer" title="G?rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <!-- 2015-09-03 -->
|
||||
<meta name="flags" content="image">
|
||||
<style type="text/css">
|
||||
img
|
||||
|
@ -17,7 +18,7 @@
|
|||
|
||||
img#orange
|
||||
{
|
||||
padding-left: 120px; /* = the position of orange square */
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
@ -29,7 +30,7 @@
|
|||
<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="blue" src="support/swatch-blue.png" width="60" height="60" alt="Image download support must be enabled"><br><!--
|
||||
<img id="blue" src="support/swatch-blue.png" width="60" height="60" alt="Image download support must be enabled"><!--
|
||||
--><img id="orange" src="support/swatch-orange.png" width="30" height="30" alt="Image download support must be enabled">
|
||||
</div>
|
||||
|
|
@ -3,6 +3,7 @@
|
|||
<head>
|
||||
<title>CSS Reftest Reference</title>
|
||||
<link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com">
|
||||
<link rel="reviewer" title="G?rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <!-- 2015-09-01 -->
|
||||
<meta name="flags" content="image">
|
||||
<style type="text/css">
|
||||
img
|
||||
|
@ -12,13 +13,9 @@
|
|||
|
||||
img
|
||||
{
|
||||
padding-left: 60px; /* = the position of first orange square */
|
||||
padding-left: 60px; /* = position of orange squares */
|
||||
}
|
||||
|
||||
img + br + img
|
||||
{
|
||||
padding-left: 60px; /* = the position of second orange square*/
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
|
@ -3,6 +3,7 @@
|
|||
<head>
|
||||
<title>CSS Reftest Reference</title>
|
||||
<link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com">
|
||||
<link rel="reviewer" title="G?rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <!-- 2015-09-03 -->
|
||||
<meta name="flags" content="image">
|
||||
<style type="text/css">
|
||||
img
|
||||
|
@ -12,12 +13,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: 15px; /* = the position of second orange square*/
|
||||
padding-left: 90px; /* = the position of second orange square*/
|
||||
}
|
||||
</style>
|
||||
|
||||
|
@ -25,7 +26,7 @@
|
|||
|
||||
<body>
|
||||
|
||||
<p>Test passes if the <strong>left edge</strong> of an irregular orange polygon is straight and unbroken.</p>
|
||||
<p>Test passes if the <strong>right 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><!--
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Reftest Reference</title>
|
||||
<link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com">
|
||||
<link rel="reviewer" title="G?rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <!-- 2015-09-03 -->
|
||||
<meta name="flags" content="image">
|
||||
<style type="text/css">
|
||||
img#orange
|
||||
{
|
||||
padding-left: 30px;
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<p>Test passes if the left edge of an blue square is aligned with the right edge of a orange square.</p>
|
||||
|
||||
<div>
|
||||
<img id="orange" src="support/swatch-orange.png" width="30" height="30" alt="Image download support must be enabled"><!--
|
||||
--><img src="support/swatch-blue.png" width="60" height="60" alt="Image download support must be enabled">
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,31 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Reftest Reference</title>
|
||||
<link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com">
|
||||
<meta name="flags" content="image">
|
||||
<style type="text/css">
|
||||
img
|
||||
{
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
img#orange
|
||||
{
|
||||
padding-top: 60px; /* = the height of first character */
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<p>Test passes if the left edge of an orange square touches the right edge of a blue square.</p>
|
||||
|
||||
<div>
|
||||
<img src="support/swatch-blue.png" width="120" height="120" alt="Image download support must be enabled"><!--
|
||||
--><img id="orange" src="support/swatch-orange.png" width="60" height="60" alt="Image download support must be enabled">
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue