mirror of
https://github.com/servo/servo.git
synced 2025-08-26 23:58:20 +01:00
Update web-platform-tests to revision ddfc95cf0493ae147a4f6a4d7be8eff1a0c23098
This commit is contained in:
parent
1f6a864ab5
commit
7e6290451f
832 changed files with 16026 additions and 2649 deletions
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: Class selectors with only a partial match of 'class' attribute</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#class-html" />
|
||||
<link rel="help" href="https://www.w3.org/TR/selectors/#class-html" />
|
||||
<link rel="match" href="../reference/no-red-filler-text-ref.xht"/>
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="Class selector need to match any or all of the values in the 'class' attribute." />
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: Class selectors with a type</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#class-html" />
|
||||
<link rel="help" href="https://www.w3.org/TR/selectors/#class-html" />
|
||||
<link rel="match" href="../reference/filler-text-below-green.xht"/>
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="Class selector with a type, match the appropriate element." />
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: Class selectors without a type</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#class-html" />
|
||||
<link rel="help" href="https://www.w3.org/TR/selectors/#class-html" />
|
||||
<link rel="match" href="../reference/filler-text-below-green.xht"/>
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="Class selector without a type, match the appropriate element." />
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: Invalid class selectors with a space between the "." and the class name</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#class-html" />
|
||||
<link rel="help" href="https://www.w3.org/TR/selectors/#class-html" />
|
||||
<link rel="match" href="../reference/no-red-filler-text-ref.xht"/>
|
||||
<meta name="flags" content="invalid" />
|
||||
<meta name="assert" content="The attribute value of a class selector followed by white space is invalid." />
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: Invalid class selectors with a carriage return between the "." and the class name</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#class-html" />
|
||||
<link rel="help" href="https://www.w3.org/TR/selectors/#class-html" />
|
||||
<link rel="match" href="../reference/no-red-filler-text-ref.xht"/>
|
||||
<meta name="flags" content="invalid" />
|
||||
<meta name="assert" content="The attribute value of a class selector followed by white space is invalid." />
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: Multiple class selectors</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#class-html" />
|
||||
<link rel="help" href="https://www.w3.org/TR/selectors/#class-html" />
|
||||
<link rel="match" href="../reference/filler-text-below-green.xht"/>
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="All class names in the selector need to match all of the 'class' attribute values." />
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: Multiple class selectors and missing class values</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#class-html" />
|
||||
<link rel="help" href="https://www.w3.org/TR/selectors/#class-html" />
|
||||
<link rel="match" href="../reference/no-red-filler-text-ref.xht"/>
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="All class names in the selector need to match all of the 'class' attribute values." />
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
|
||||
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/selectors/class/001.html" type="text/html"/>
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#class-html" />
|
||||
<link rel="help" href="https://www.w3.org/TR/selectors/#class-html" />
|
||||
<link rel="match" href="../reference/ref-this-text-should-be-green.xht" />
|
||||
<style type="text/css">
|
||||
.teST { color: green; }
|
||||
|
|
|
@ -5,13 +5,15 @@
|
|||
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
|
||||
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/selectors/class/002.html" type="text/html"/>
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#class-html" />
|
||||
<link rel="help" href="https://www.w3.org/TR/selectors/#class-html" />
|
||||
<link rel="match" href="../reference/ref-green-background.xht" />
|
||||
<style type="text/css">
|
||||
p { background: green; color: white; }
|
||||
.fail.test { background: red; color: yellow; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p class="pass test">This line should be green.</p>
|
||||
<p class="pass test">This should have a green background.</p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
|
@ -5,13 +5,15 @@
|
|||
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
|
||||
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/selectors/class/003.html" type="text/html"/>
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#class-html" />
|
||||
<link rel="help" href="https://www.w3.org/TR/selectors/#class-html" />
|
||||
<link rel="match" href="../reference/ref-green-background.xht" />
|
||||
<style type="text/css">
|
||||
p { background: red; color: yellow; }
|
||||
.pass.test { background: green; color: white; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p class="pass test">This line should be green.</p>
|
||||
<p class="pass test">This should have a green background.</p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
|
@ -5,13 +5,15 @@
|
|||
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
|
||||
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/selectors/class/004.html" type="text/html"/>
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#class-html" />
|
||||
<link rel="help" href="https://www.w3.org/TR/selectors/#class-html" />
|
||||
<link rel="match" href="../reference/ref-green-background.xht" />
|
||||
<style type="text/css">
|
||||
p { background: red; color: yellow; }
|
||||
.pass { background: green; color: white; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p class="pass test">This line should be green.</p>
|
||||
<p class="pass test">This should have a green background.</p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<title>CSS Reftest Reference</title>
|
||||
<style>
|
||||
p {
|
||||
color: white;
|
||||
background: green;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>This line should be green.</p>
|
||||
<p>This line should be green.</p>
|
||||
<p>This line should be green.</p>
|
||||
<p>This line should be green.</p>
|
||||
<p>This line should be green.</p>
|
||||
<p>This line should be green.</p>
|
||||
<p>This line should be green.</p>
|
||||
<p>This line should be green.</p>
|
||||
</body>
|
||||
</html>
|
|
@ -5,6 +5,8 @@
|
|||
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
|
||||
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/selectors/class/005.html" type="text/html"/>
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#class-html" />
|
||||
<link rel="help" href="https://www.w3.org/TR/selectors/#class-html" />
|
||||
<link rel="match" href="class-selector-012-ref.html" />
|
||||
<style type="text/css">
|
||||
p { background: red; color: yellow; }
|
||||
.test { background: green; color: white; }
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<title>CSS Reftest Reference</title>
|
||||
<style>
|
||||
.green {
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div class="green">Filler Text</div>
|
||||
<div>Filler Text</div>
|
||||
<p>Test passes if the first "Filler Text" above is green and the second one is black.</p>
|
||||
</body>
|
||||
</html>
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: First-child pseudo-class</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-child" />
|
||||
<link rel="match" href="first-child-selector-001-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="First-child pseudo-class matches only the first element of its type." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<title>CSS Reftest Reference</title>
|
||||
<style>
|
||||
.green {
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
Filler Text
|
||||
<div class="green">Filler Text</div>
|
||||
<div>Filler Text</div>
|
||||
<p>Test passes if the second line of "Filler Text" above is green and the first and third lines are black.</p>
|
||||
</body>
|
||||
</html>
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: First-child pseudo-class with text node</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-child" />
|
||||
<link rel="match" href="first-child-selector-002-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="First-child pseudo-class matches only the first element of its type ignoring text nodes." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -5,12 +5,13 @@
|
|||
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
|
||||
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/selectors/child/001.xml" type="application/xhtml+xml"/>
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-child" />
|
||||
<link rel="match" href="../reference/ref-this-text-should-be-green.xht" />
|
||||
<style type="text/css">
|
||||
html { color: green; }
|
||||
html:first-child { color: red ! important; }
|
||||
html { color: red; }
|
||||
:root:first-child { color: green; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>This should be green.</p>
|
||||
<p>This text should be green.</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<title>CSS Reftest Reference</title>
|
||||
<style>
|
||||
div {
|
||||
color: green;
|
||||
font: 2em sans-serif;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>This next line should be green:</p>
|
||||
<div>TESTING</div>
|
||||
</body>
|
||||
</html>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
|
||||
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/selectors/first-letter/001.xml" type="application/xhtml+xml"/>
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-letter" />
|
||||
<link rel="match" href="first-letter-selector-000-ref.html" />
|
||||
<style type="text/css">
|
||||
.test { float: left; font: 2em sans-serif; }
|
||||
.test:first-letter { color: green; }
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<title>CSS Reftest Reference</title>
|
||||
<style>
|
||||
span {
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the letter "F" below is green.</p>
|
||||
<div><span>F</span>iller Text</div>
|
||||
</body>
|
||||
</html>
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: First-letter pseudo-element</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-letter" />
|
||||
<link rel="match" href="first-letter-selector-001-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The :first-letter pseudo-element matches the first letter in a given element." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<title>CSS Reftest Reference</title>
|
||||
<body>
|
||||
<p>Test passes if there is no red visible on the page.</p>
|
||||
<div><img alt="15x15 blue box" src="support/blue15x15.png" />Filler Text</div>
|
||||
</body>
|
||||
</html>
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: First-letter pseudo-element with image missing alt text</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-letter" />
|
||||
<link rel="match" href="first-letter-selector-002-ref.html" />
|
||||
<meta name="flags" content="image" />
|
||||
<meta name="assert" content="If there is preceding content (an image) or alt text the :first-letter pseudo-element does not match the first letter." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<title>CSS Reftest Reference</title>
|
||||
<style>
|
||||
span {
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the number "4" below is green.</p>
|
||||
<div><span>4</span>2 Filler Text</div>
|
||||
</body>
|
||||
</html>
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: First-letter as a digit</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-letter" />
|
||||
<link rel="match" href="first-letter-selector-003-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The ':first-letter' applies if the first letter is a digit." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: First-letter and :before</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-letter" />
|
||||
<link rel="match" href="first-letter-selector-001-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="If an element has ':before' or ':after' content, the ':first-letter applies to the first letter of the element including that content." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<title>CSS Reftest Reference</title>
|
||||
<body>
|
||||
<p>Test passes if there is no red visible on the page.</p>
|
||||
<div><br />Filler Text</div>
|
||||
</body>
|
||||
</html>
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: First-letter with leading line break</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-letter" />
|
||||
<link rel="match" href="first-letter-selector-005-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The first letter occurs on the first formatted line." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<title>CSS Reftest Reference</title>
|
||||
<style>
|
||||
span {
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the letter "F" below is green.</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td><span>F</span>iller Text</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: First-letter with table cell elements</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-letter" />
|
||||
<link rel="match" href="first-letter-selector-007-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The :first-letter pseudo-element applies to table-cells." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: First-letter with inline-block elements</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-letter" />
|
||||
<link rel="match" href="first-letter-selector-001-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The first-letter pseudo-element applies to inline-block elements." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: First-letter in descendents</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-letter" />
|
||||
<link rel="match" href="first-letter-selector-001-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="A user agent acts as if the fictional start tag of the first-letter pseudo-element is just before the first text of the element, even if that first text is in a descendant." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -12,6 +12,6 @@
|
|||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p><span>This sentence should have a green background.</span></p>
|
||||
<p><span>This should have a green background.</span></p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -6,11 +6,12 @@
|
|||
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/selectors/first-line/003.xml" type="application/xhtml+xml"/>
|
||||
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/selectors/first-line/003.html" type="type/html"/>
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-line-pseudo" />
|
||||
<link rel="match" href="../reference/ref-this-text-should-be-green.xht" />
|
||||
<style type="text/css">
|
||||
:first-line { color: green; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>This line should be green.</p>
|
||||
<p>This text should be green.</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -6,11 +6,12 @@
|
|||
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/selectors/first-line/004.xml" type="application/xhtml+xml"/>
|
||||
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/selectors/first-line/004.html" type="type/html"/>
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-line-pseudo" />
|
||||
<link rel="match" href="../reference/ref-this-text-should-be-green.xht" />
|
||||
<style type="text/css">
|
||||
*:first-line { color: green; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>This line should be green.</p>
|
||||
<p>This text should be green.</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
|
||||
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/selectors/first-line/005.html" type="type/html"/>
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-line-pseudo" />
|
||||
<link rel="match" href="../reference/ref-this-text-should-be-green.xht" />
|
||||
<style type="text/css">
|
||||
p { color: red; }
|
||||
p:first-line { color: green; }
|
||||
|
@ -12,6 +13,6 @@
|
|||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p><span>This line should be green.</span></p>
|
||||
<p><span>This text should be green.</span></p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: First-line after a BR</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-line-pseudo" />
|
||||
<link rel="match" href="first-letter-selector-005-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="The :first-line pseudo-element start tag is inserted right after the start tag of the block element." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: ID selector syntax - Begins with hyphen</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#id-selectors" />
|
||||
<link rel="match" href="../reference/filler-text-below-green.xht" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="Identifier selectors starting with a hyphen are valid." />
|
||||
<style type="text/css">
|
||||
|
@ -18,7 +19,7 @@
|
|||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>Test passes if there is no red visible on the page.</p>
|
||||
<p>Test passes if the "Filler Text" below is green.</p>
|
||||
<div id="-div1">Filler Text</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<title>CSS Reftest Reference</title>
|
||||
<style>
|
||||
div {
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the "Filler Text" below is green.</p>
|
||||
<div>Filler Text
|
||||
<p>Filler Text</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: Inherited lang attribute selected</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#lang" />
|
||||
<link rel="match" href="lang-selector-004-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="Lang attribute is inherited and lang selector works on children." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: Lang selector and document language set via server's content-language</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#lang" />
|
||||
<link rel="match" href="../reference/filler-text-below-green.xht" />
|
||||
<meta name="flags" content="http" />
|
||||
<meta name="assert" content="Lang attribute is selectable when specified by HTTP header." />
|
||||
<style type="text/css">
|
||||
|
@ -18,7 +19,6 @@
|
|||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p id="prerequisite">PREREQUISITE: Set the page "content-language" header to "fr" (French).</p>
|
||||
<p>Test passes if the "Filler Text" below is green.</p>
|
||||
<div>Filler Text</div>
|
||||
</body>
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: Lang selector and document language set via meta tag</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#lang" />
|
||||
<link rel="match" href="../reference/filler-text-below-green.xht" />
|
||||
<meta name="flags" content="" />
|
||||
<meta http-equiv="content-language" content="fr" />
|
||||
<meta name="assert" content="Lang attribute is selectable when specified in a meta tag." />
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: First-letter pseudo-element case sensitivity</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-line-pseudo" />
|
||||
<link rel="match" href="first-letter-selector-001-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="First-letter is case-insensitive." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: First-child pseudo-element case sensitivity</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-line-pseudo" />
|
||||
<link rel="match" href="universal-selector-002-ref.xht" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="First-child is case-insensitive." />
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<title>CSS Reftest Reference</title>
|
||||
<body>
|
||||
<p>Test passes if the words "Filler Text" are below.</p>
|
||||
<div>Filler Text</div>
|
||||
</body>
|
||||
</html>
|
|
@ -4,6 +4,7 @@
|
|||
<title>CSS Test: After and before case sensitivity</title>
|
||||
<link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-line-pseudo" />
|
||||
<link rel="match" href="pseudo-008-ref.html" />
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="After and before are case-insensitive." />
|
||||
<style type="text/css">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue