mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision 3bfdeb8976fc51748935c8d1f1014dfba8e08dfb
This commit is contained in:
parent
fcd6beb608
commit
cb63cfd5c7
185 changed files with 3083 additions and 1074 deletions
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
p {
|
||||
color: fuchsia;
|
||||
}
|
||||
div {
|
||||
color: orange;
|
||||
}
|
||||
h4 {
|
||||
color: blue;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>This text should be fuchsia.</p>
|
||||
<div>This text should be orange.</div>
|
||||
<h4>This text should be blue.</h4>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<title>CSS Test: Selectors: Class selectors</title>
|
||||
<link rel="author" title="Gabriele Romanato" href="mailto:gabriele.romanato@gmail.com" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#class-html" />
|
||||
<link rel="match" href="class-000-ref.html"/>
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="Browsers should apply each rule to the elements which have the specified class"/>
|
||||
<style type="text/css">
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<title>CSS Test: Selectors: Class selectors with the universal selector</title>
|
||||
<link rel="author" title="Gabriele Romanato" href="mailto:gabriele.romanato@gmail.com" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#class-html" />
|
||||
<link rel="match" href="class-000-ref.html"/>
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="Browsers should apply each rule to the elements which have the specified class"/>
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
p {
|
||||
color: fuchsia;
|
||||
}
|
||||
div {
|
||||
color: fuchsia;
|
||||
border: thin solid;
|
||||
}
|
||||
h4 {
|
||||
color: blue;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>This text should be fuchsia.</p>
|
||||
<div>This text should be fuchsia with a thin fuchsia border.</div>
|
||||
<h4>This text should be blue without any border.</h4>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<title>CSS Test: Selectors: Class selectors: Multiple classes</title>
|
||||
<link rel="author" title="Gabriele Romanato" href="mailto:gabriele.romanato@gmail.com" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#class-html" />
|
||||
<link rel="match" href="class-002-ref.html"/>
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="Browsers should apply each rule to the elements which have the specified class or classes"/>
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
p {
|
||||
color: fuchsia;
|
||||
}
|
||||
div {
|
||||
color: orange;
|
||||
}
|
||||
h4 {
|
||||
color: blue;
|
||||
}
|
||||
.silver {
|
||||
color: silver;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p><em>This text should be fuchsia.</em> <span class="silver">Filler text.</span></p>
|
||||
<div>This text should be orange.</div>
|
||||
<p class="silver">Filler text.</p>
|
||||
<h4>This text should be blue. <span class="silver">Filler text.</span></h4>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<title>CSS Test: Selectors: The :first-child pseudo-class</title>
|
||||
<link rel="author" title="Gabriele Romanato" href="mailto:gabriele.romanato@gmail.com" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-child" />
|
||||
<link rel="match" href="first-child-000-ref.html"/>
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="Browsers should apply each rule to the element which is the first child of its parent"/>
|
||||
<style type="text/css">
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<title>CSS Test: Selectors: The :first-child pseudo-class with the universal selector</title>
|
||||
<link rel="author" title="Gabriele Romanato" href="mailto:gabriele.romanato@gmail.com" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-child" />
|
||||
<link rel="match" href="first-child-000-ref.html"/>
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="Browsers should apply each rule to the element which is the first child of its parent"/>
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
p {
|
||||
color: fuchsia;
|
||||
}
|
||||
span {
|
||||
color: silver;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>The first line of this paragraph should be fuchsia (same as in the next block).<br /><span>Filler text.</span></p>
|
||||
<p>Lorem ipsum dolor.<br /><span>Filler text.</span></p>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<title>CSS Test: Selectors: The :first-line pseudo-element</title>
|
||||
<link rel="author" title="Gabriele Romanato" href="mailto:gabriele.romanato@gmail.com" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-line-pseudo" />
|
||||
<link rel="match" href="first-line-000-ref.html"/>
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="Browsers should apply the rule only to the first line of a block-level element"/>
|
||||
<style type="text/css">
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<title>CSS Test: Selectors: ID selectors</title>
|
||||
<link rel="author" title="Gabriele Romanato" href="mailto:gabriele.romanato@gmail.com" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#id-selectors" />
|
||||
<link rel="match" href="class-000-ref.html"/>
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="Browsers should apply each rule to the elements which have the specified ID"/>
|
||||
<style type="text/css">
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<title>CSS Test: Selectors: ID selectors with universal selector</title>
|
||||
<link rel="author" title="Gabriele Romanato" href="mailto:gabriele.romanato@gmail.com" />
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#id-selectors" />
|
||||
<link rel="match" href="class-000-ref.html"/>
|
||||
<meta name="flags" content="" />
|
||||
<meta name="assert" content="Browsers should apply each rule to the elements which have the specified ID"/>
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
.green {
|
||||
background-color: green;
|
||||
color: white;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div class="green">This line should be green</div>
|
||||
<div class="green">This line should be green</div>
|
||||
<div class="green">This line should be green</div>
|
||||
<div class="green">This line should be green</div>
|
||||
<p class="green">This line should be green <em>and this should also be green</em></p>
|
||||
|
||||
<div>This line should NOT be green</div>
|
||||
<div>This line should NOT be green</div>
|
||||
<div>This line should NOT be green</div>
|
||||
<div>This line should NOT be green</div>
|
||||
<div>This line should NOT be green</div>
|
||||
<div>This line should NOT be green</div>
|
||||
<div>This line should NOT be green<p>This line should NOT be green</p></div>
|
||||
<p>This line should NOT be green <em>and this should not be green either</em></p>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Richard Ishida" href="mailto:ishida@w3.org">
|
||||
<link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:public-testsuites@opera.com">
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#attribute-selectors">
|
||||
<link rel="match" href="attribute-value-selector-007-ref.html" />
|
||||
<meta name="flags" content="HTMLonly">
|
||||
<meta name="assert" content="lang attribute selector with att=val in HTML should not be case sensitive, and should only match when att is exactly val">
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
.green {
|
||||
background-color: green;
|
||||
color: white;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div class="green">This line should be green</div>
|
||||
<div class="green">This line should be green</div>
|
||||
<div class="green">This line should be green</div>
|
||||
<p class="green">This line should be green <em>and this should also be green</em></p>
|
||||
|
||||
<div>This line should NOT be green</div>
|
||||
<div>This line should NOT be green</div>
|
||||
<div>This line should NOT be green</div>
|
||||
<div>This line should NOT be green</div>
|
||||
<div>This line should NOT be green</div>
|
||||
<div>This line should NOT be green</div>
|
||||
<div>This line should NOT be green</div>
|
||||
<div>This line should NOT be green<p>This line should NOT be green</p></div>
|
||||
<p>This line should NOT be green <em>and this should not be green either</em></p>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Richard Ishida" href="mailto:ishida@w3.org"/>
|
||||
<link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:public-testsuites@opera.com"/>
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#attribute-selectors"/>
|
||||
<link rel="match" href="attribute-value-selector-008-ref.html" />
|
||||
<meta name="flags" content="nonHTML"/>
|
||||
<meta name="assert" content="attribute selector with att=val in XHTML should be case sensitive, and should only match when att is exactly val"/>
|
||||
<style type="text/css"><![CDATA[
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
.green {
|
||||
background-color: green;
|
||||
color: white;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div class="green">This line should be green</div>
|
||||
<div class="green">This line should be green</div>
|
||||
<div class="green">This line should be green</div>
|
||||
<div class="green">This line should be green</div>
|
||||
<p class="green">This line should be green <em>and this should be green too</em></p>
|
||||
|
||||
<div>This line should NOT be green</div>
|
||||
<div>This line should NOT be green</div>
|
||||
<div>This line should NOT be green</div>
|
||||
<div>This line should NOT be green</div>
|
||||
<div>This line should NOT be green</div>
|
||||
<div>This line should NOT be green<p>This line should NOT be green</p></div>
|
||||
<p>This line should NOT be green <em>and this should not be green either</em></p>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Richard Ishida" href="mailto:ishida@w3.org"/>
|
||||
<link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:public-testsuites@opera.com"/>
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#attribute-selectors"/>
|
||||
<link rel="match" href="attribute-value-selector-009-ref.html" />
|
||||
<meta name="flags" content="nonHTML"/>
|
||||
<meta name="assert" content="lang attribute selector with 'att |= val' in XHTML should be case sensitive, and match hyphen-separated list"/>
|
||||
<style type="text/css"><![CDATA[
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
.green {
|
||||
background-color: green;
|
||||
color: white;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div class="green">This line should be green</div>
|
||||
<div class="green">This line should be green</div>
|
||||
<div class="green">This line should be green</div>
|
||||
<div class="green">This line should be green</div>
|
||||
<div class="green">This line should be green</div>
|
||||
<p class="green">This line should be green <em>and this should be green too</em></p>
|
||||
|
||||
<div>This line should NOT be green</div>
|
||||
<div>This line should NOT be green</div>
|
||||
<div>This line should NOT be green</div>
|
||||
<div>This line should NOT be green</div>
|
||||
<div>This line should NOT be green<p>This line should NOT be green</p></div>
|
||||
<p>This line should NOT be green <em>and this should not be green either</em></p>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Richard Ishida" href="mailto:ishida@w3.org">
|
||||
<link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:public-testsuites@opera.com">
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#attribute-selectors">
|
||||
<link rel="match" href="attribute-value-selector-010-ref.html" />
|
||||
<meta name="flags" content="HTMLonly">
|
||||
<meta name="assert" content="lang attribute selector with 'att |= val' in HTML should not be case sensitive, and match hyphen-separated list">
|
||||
<style type="text/css">
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Reference</title>
|
||||
<style>
|
||||
.green {
|
||||
background-color: green;
|
||||
color: white;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div class="green">This line should be green</div>
|
||||
<div class="green">This line should be green</div>
|
||||
<div class="green">This line should be green</div>
|
||||
<div class="green">This line should be green</div>
|
||||
<div class="green">This line should be green</div>
|
||||
|
||||
<p class="green">This line should be green <em>and this should be green too</em></p>
|
||||
<div><p class="green">This line should be green</p>This line should NOT be green</div>
|
||||
<p>This line should NOT be green <em class="green">but this should be green</em></p>
|
||||
|
||||
<div>This line should NOT be green</div>
|
||||
<div>This line should NOT be green</div>
|
||||
<div>This line should NOT be green</div>
|
||||
</body>
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Richard Ishida" href="mailto:ishida@w3.org">
|
||||
<link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:public-testsuites@opera.com">
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#lang">
|
||||
<link rel="match" href="lang-pseudoclass-001-ref.html" />
|
||||
<meta name="flags" content="HTMLonly" >
|
||||
<meta name="assert" content=":lang pseudoclass in HTML should not be case-sensitive, and match a substring">
|
||||
<style type="text/css">
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<link rel="author" title="Richard Ishida" href="mailto:ishida@w3.org"/>
|
||||
<link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:public-testsuites@opera.com"/>
|
||||
<link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#lang"/>
|
||||
<link rel="match" href="lang-pseudoclass-001-ref.html" />
|
||||
<meta name="flags" content="nonHTML" />
|
||||
<meta name="assert" content=":lang pseudoclass in XHTML should be case sensitive, and match a substring"/>
|
||||
<style type="text/css"><![CDATA[
|
||||
|
@ -24,8 +25,6 @@
|
|||
<div xml:lang="en-GB">This line should be green</div>
|
||||
<div xml:lang="en-GB-scouse">This line should be green</div>
|
||||
|
||||
<div xml:lang="es">This line should be green</div>
|
||||
|
||||
<p xml:lang="es">This line should be green <em>and this should be green too</em></p>
|
||||
|
||||
<div xml:lang="fr"><p>This line should be green</p>This line should NOT be green</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue