forked from web-platform-tests/wpt-actions-test
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add in references for css/CSS2/selector tests
All CSS2/selector tests were missing references. This change adds in references for these tests.
- Loading branch information
Showing
11 changed files
with
128 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
<link rel="author" title="Richard Ishida" href="mailto:[email protected]"> | ||
<link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:[email protected]"> | ||
<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"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
<link rel="author" title="Richard Ishida" href="mailto:[email protected]"/> | ||
<link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:[email protected]"/> | ||
<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[ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
<link rel="author" title="Richard Ishida" href="mailto:[email protected]"/> | ||
<link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:[email protected]"/> | ||
<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[ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
<link rel="author" title="Richard Ishida" href="mailto:[email protected]"> | ||
<link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:[email protected]"> | ||
<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"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
<link rel="author" title="Richard Ishida" href="mailto:[email protected]"> | ||
<link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:[email protected]"> | ||
<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"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
<link rel="author" title="Richard Ishida" href="mailto:[email protected]"/> | ||
<link rel="author" title="Eira Monstad, Opera Software ASA" href="mailto:[email protected]"/> | ||
<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> | ||
|