mirror of
https://github.com/servo/servo
synced 2026-04-29 10:57:43 +02:00
Update CSS tests to revision 135b269a1d9f5ce7862ab7426578bd56e2add740
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<!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="Ms2ger" href="mailto:Ms2ger@gmail.com">
|
||||
<style type="text/css">
|
||||
div {
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if both lines of "Filler Text" below are green.</p>
|
||||
<div>Filler Text</div>
|
||||
<div>Filler Text</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<link href="http://www.intel.com" rel="author" title="Intel">
|
||||
<style>
|
||||
div {
|
||||
font: 1in serif;
|
||||
}
|
||||
span {
|
||||
font-variant: small-caps;
|
||||
font-size: 1in;
|
||||
font-family: serif;
|
||||
line-height: 1em;
|
||||
}
|
||||
</style>
|
||||
</head><body>
|
||||
<p>Test passes if letters "E" below are larger than this text, are capitalized, and if the left "E" is smaller than the right "E".</p>
|
||||
<div><span>e</span>E</div>
|
||||
|
||||
</body></html>
|
||||
@@ -1,42 +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">
|
||||
<link rel="reviewer" title="Gerard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <!-- 2015-07-21 -->
|
||||
<meta name="flags" content="image">
|
||||
<style type="text/css">
|
||||
img
|
||||
{
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
img
|
||||
{
|
||||
padding-left: 156px; /* 60 px (padding-left) + 48px (the position difference of box) + 48px (ascent width) */
|
||||
}
|
||||
|
||||
img + br + img
|
||||
{
|
||||
padding-left: 156px; /* 60 px (padding-left) + 96px (ascent width)*/
|
||||
}
|
||||
|
||||
img + br + img + br + img
|
||||
{
|
||||
padding-left: 156px; /* 60 px (padding-left) + 72px (the position difference of box) + 24px (ascent width) */
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<p>Test passes if the <strong>left edge</strong> of an irregular polygon is straight and unbroken.</p>
|
||||
|
||||
<div>
|
||||
<img src="support/swatch-teal.png" width="12" height="60" alt="Image download support must be enabled"><br><!--
|
||||
--><img src="support/swatch-teal.png" width="144" height="120" alt="Image download support must be enabled"><br><!--
|
||||
--><img src="support/swatch-teal.png" width="6" height="30" alt="Image download support must be enabled">
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Reference File</title>
|
||||
<link rel="author" title="Chris Rebert" href="http://chrisrebert.com">
|
||||
<style type="text/css">
|
||||
#greensquare {
|
||||
background-color: green;
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if there is a solid green square and <strong>no red</strong>.</p>
|
||||
|
||||
<div id="greensquare"></div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,28 @@
|
||||
<!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="Ms2ger" href="mailto:Ms2ger@gmail.com">
|
||||
<style type="text/css">
|
||||
div {
|
||||
background: black;
|
||||
font-family: Ahem;
|
||||
margin-top: 2px;
|
||||
}
|
||||
#test, #div1 {
|
||||
height: 0.5em;
|
||||
width: 0.5em;
|
||||
}
|
||||
#div2 {
|
||||
height: 0.8em;
|
||||
width: 0.8em;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if any two of the boxes below are the same size.</p>
|
||||
<div id="test"></div>
|
||||
<div id="div1"></div>
|
||||
<div id="div2"></div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,28 @@
|
||||
<!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="Ms2ger" href="mailto:Ms2ger@gmail.com">
|
||||
<style type="text/css">
|
||||
div {
|
||||
background: black;
|
||||
font-family: Ahem;
|
||||
margin-top: 2px;
|
||||
}
|
||||
#div1 {
|
||||
height: 0.5em;
|
||||
width: 0.5em;
|
||||
}
|
||||
#test, #div2 {
|
||||
height: 0.8em;
|
||||
width: 0.8em;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if any two of the boxes below are the same size.</p>
|
||||
<div id="test"></div>
|
||||
<div id="div1"></div>
|
||||
<div id="div2"></div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,16 +1,11 @@
|
||||
<!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="Ms2ger" href="mailto:Ms2ger@gmail.com">
|
||||
<style type="text/css">
|
||||
p {
|
||||
color: white;
|
||||
background: green;
|
||||
}
|
||||
<!DOCTYPE html>
|
||||
<html><head><meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<link href="http://www.intel.com" rel="author" title="Intel">
|
||||
<style>
|
||||
div { background-color: green; color: white; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>This should have a green background.</p>
|
||||
</body>
|
||||
</html>
|
||||
</head><body>
|
||||
<div>This should be white on green.</div>
|
||||
|
||||
</body></html>
|
||||
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Reference File</title>
|
||||
<link rel="author" title="Chris Rebert" href="http://chrisrebert.com">
|
||||
<style type="text/css">
|
||||
html {
|
||||
direction: rtl;
|
||||
}
|
||||
p {
|
||||
direction: ltr;
|
||||
}
|
||||
#greensquare {
|
||||
background-color: green;
|
||||
position: absolute;
|
||||
right: 50%;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if there is a solid green square and <strong>no red</strong>.</p>
|
||||
|
||||
<div id="greensquare"></div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -2,42 +2,6 @@
|
||||
AddCharset Shift_JIS .css
|
||||
</Files>
|
||||
|
||||
<Files ~ "^plaintext.css$">
|
||||
ForceType text/plain
|
||||
</Files>
|
||||
|
||||
<files character-encoding-031.css>
|
||||
AddCharset iso-8859-1 .css
|
||||
</files>
|
||||
|
||||
<files character-encoding-032.css>
|
||||
AddCharset iso-8859-11 .css
|
||||
</files>
|
||||
|
||||
<files character-encoding-033.css>
|
||||
AddCharset iso-8859-5 .css
|
||||
</files>
|
||||
|
||||
<files character-encoding-034.css>
|
||||
AddCharset iso-8859-6 .css
|
||||
</files>
|
||||
|
||||
<files character-encoding-035.css>
|
||||
AddCharset iso-8859-7 .css
|
||||
</files>
|
||||
|
||||
<files character-encoding-036.css>
|
||||
AddCharset iso-8859-8 .css
|
||||
</files>
|
||||
|
||||
<files character-encoding-037.css>
|
||||
AddCharset koi8-r .css
|
||||
</files>
|
||||
|
||||
<files ~ '^at-charset-07[1234567]\.css$'>
|
||||
RemoveCharset .css
|
||||
</files>
|
||||
|
||||
<Files "http1.css">
|
||||
AddCharset iso-8859-1 .css
|
||||
</Files>
|
||||
@@ -81,7 +45,39 @@ AddCharset iso-8859-1 .css
|
||||
AddCharset iso-8859-1 .css
|
||||
</Files>
|
||||
|
||||
<Files ~ "^at-charset-00[1-6].css$">
|
||||
AddCharset Shift_JIS .css
|
||||
<Files ~ "^plaintext.css$">
|
||||
ForceType text/plain
|
||||
</Files>
|
||||
|
||||
<files character-encoding-031.css>
|
||||
AddCharset iso-8859-1 .css
|
||||
</files>
|
||||
|
||||
<files character-encoding-032.css>
|
||||
AddCharset iso-8859-11 .css
|
||||
</files>
|
||||
|
||||
<files character-encoding-033.css>
|
||||
AddCharset iso-8859-5 .css
|
||||
</files>
|
||||
|
||||
<files character-encoding-034.css>
|
||||
AddCharset iso-8859-6 .css
|
||||
</files>
|
||||
|
||||
<files character-encoding-035.css>
|
||||
AddCharset iso-8859-7 .css
|
||||
</files>
|
||||
|
||||
<files character-encoding-036.css>
|
||||
AddCharset iso-8859-8 .css
|
||||
</files>
|
||||
|
||||
<files character-encoding-037.css>
|
||||
AddCharset koi8-r .css
|
||||
</files>
|
||||
|
||||
<files ~ '^at-charset-07[1234567]\.css$'>
|
||||
RemoveCharset .css
|
||||
</files>
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 766 B After Width: | Height: | Size: 766 B |
Reference in New Issue
Block a user