mirror of
https://github.com/servo/servo.git
synced 2025-08-30 17:48:20 +01:00
Move last_child_pseudo_a.html to wpt reftests.
This commit is contained in:
parent
7f746c3f6d
commit
eb3d4b0dc8
4 changed files with 25 additions and 1 deletions
|
@ -839,6 +839,18 @@
|
|||
"url": "/_mozilla/css/jumpiness_a.html"
|
||||
}
|
||||
],
|
||||
"css/last_child_pseudo_a.html": [
|
||||
{
|
||||
"path": "css/last_child_pseudo_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/last_child_pseudo_b.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/last_child_pseudo_a.html"
|
||||
}
|
||||
],
|
||||
"css/last_of_type_pseudo_a.html": [
|
||||
{
|
||||
"path": "css/last_of_type_pseudo_a.html",
|
||||
|
@ -4224,6 +4236,18 @@
|
|||
"url": "/_mozilla/css/jumpiness_a.html"
|
||||
}
|
||||
],
|
||||
"css/last_child_pseudo_a.html": [
|
||||
{
|
||||
"path": "css/last_child_pseudo_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/last_child_pseudo_b.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/last_child_pseudo_a.html"
|
||||
}
|
||||
],
|
||||
"css/last_of_type_pseudo_a.html": [
|
||||
{
|
||||
"path": "css/last_of_type_pseudo_a.html",
|
||||
|
|
26
tests/wpt/mozilla/tests/css/last_child_pseudo_a.html
Normal file
26
tests/wpt/mozilla/tests/css/last_child_pseudo_a.html
Normal file
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel='match' href='last_child_pseudo_b.html'>
|
||||
<title>:last-child test</title>
|
||||
<style type="text/css">
|
||||
html { background: red;}
|
||||
html:last-child { background: yellow; }
|
||||
|
||||
p { width: 20px; height: 20px; background: orange; float: left; margin-left: 10px; }
|
||||
div { clear: both; }
|
||||
#p1, #p2, #p3 { background: red; }
|
||||
#d1 > *:last-child { background: green }
|
||||
#d2 > *:last-child { background: green }
|
||||
#d3 > *:last-child { background: green }
|
||||
#p4 { background: green; }
|
||||
#d4 > *:last-child { background: red }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="d1"><p> </p><p id="p1"> </p></div>
|
||||
<div id="d2"><p> </p><p id="p2"> </p> </div>
|
||||
<div id="d3"><p> </p><p id="p3"> </p><!-- comment --></div>
|
||||
<div id="d4"><p> </p><p id="p4"> </p><span> </span></div>
|
||||
</body>
|
||||
</html>
|
22
tests/wpt/mozilla/tests/css/last_child_pseudo_b.html
Normal file
22
tests/wpt/mozilla/tests/css/last_child_pseudo_b.html
Normal file
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>:last-child test</title>
|
||||
<style type="text/css">
|
||||
html { background: yellow;}
|
||||
|
||||
p { width: 20px; height: 20px; background: orange; float: left; margin-left: 10px; }
|
||||
div { clear: both; }
|
||||
#p1 { background: green; }
|
||||
#p2 { background: green; }
|
||||
#p3 { background: green; }
|
||||
#p4 { background: green; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="d1"><p> </p><p id="p1"> </p></div>
|
||||
<div id="d2"><p> </p><p id="p2"> </p> </div>
|
||||
<div id="d3"><p> </p><p id="p3"> </p><!-- comment --></div>
|
||||
<div id="d4"><p> </p><p id="p4"> </p><span> </span></div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue