mirror of
https://github.com/servo/servo.git
synced 2025-09-07 13:38:20 +01:00
Move last_of_type_pseudo_a.html to wpt reftests.
This commit is contained in:
parent
83f8585577
commit
589c9f2616
4 changed files with 25 additions and 1 deletions
|
@ -151,7 +151,6 @@ prefs:"layout.writing-mode.enabled" == iframe/size_attributes_vertical_writing_m
|
|||
== jpeg_normal.html jpeg_ref.html
|
||||
== jpeg_progressive.html jpeg_ref.html
|
||||
== last_child_pseudo_a.html last_child_pseudo_b.html
|
||||
== last_of_type_pseudo_a.html last_of_type_pseudo_b.html
|
||||
== legacy_cellspacing_attribute_a.html border_spacing_ref.html
|
||||
== legacy_td_width_attribute_a.html legacy_td_width_attribute_ref.html
|
||||
== legacy_th_width_attribute_a.html legacy_td_width_attribute_ref.html
|
||||
|
|
|
@ -1,53 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>:last-of-type test</title>
|
||||
<style type="text/css">
|
||||
html { background: red; }
|
||||
/* Should match according to Selectors Level 4 (changed from Level 3) */
|
||||
html:last-of-type { background: white; }
|
||||
|
||||
div > p,
|
||||
div > div,
|
||||
div > address {
|
||||
float: left;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin: 0px;
|
||||
margin-right: 10px;
|
||||
padding: 0px;
|
||||
}
|
||||
div > p {
|
||||
background: white;
|
||||
}
|
||||
div > div,
|
||||
div > address {
|
||||
background: black;
|
||||
}
|
||||
body > div { clear: both; margin-bottom: 10px; }
|
||||
|
||||
#d1 > .ok { background: red; }
|
||||
#d1 > *:last-of-type { background: green }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="d1">
|
||||
<p> </p>
|
||||
<div> </div>
|
||||
<div> </div>
|
||||
<p> </p>
|
||||
<address> </address>
|
||||
<p> </p>
|
||||
<div> </div>
|
||||
<p> </p>
|
||||
<p> </p>
|
||||
<address> </address>
|
||||
<address class="ok"> </address>
|
||||
<p> </p>
|
||||
<div class="ok"> </div>
|
||||
<p> </p>
|
||||
<p class="ok"> </p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,48 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>:last-of-type test</title>
|
||||
<style type="text/css">
|
||||
div > p,
|
||||
div > div,
|
||||
div > address {
|
||||
float: left;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin: 0px;
|
||||
margin-right: 10px;
|
||||
padding: 0px;
|
||||
}
|
||||
div > p {
|
||||
background: white;
|
||||
}
|
||||
div > div,
|
||||
div > address {
|
||||
background: black;
|
||||
}
|
||||
body > div { clear: both; margin-bottom: 10px; }
|
||||
|
||||
#d1 > .ok { background: green; }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="d1">
|
||||
<p> </p>
|
||||
<div> </div>
|
||||
<div> </div>
|
||||
<p> </p>
|
||||
<address> </address>
|
||||
<p> </p>
|
||||
<div> </div>
|
||||
<p> </p>
|
||||
<p> </p>
|
||||
<address> </address>
|
||||
<address class="ok"> </address>
|
||||
<p> </p>
|
||||
<div class="ok"> </div>
|
||||
<p> </p>
|
||||
<p class="ok"> </p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue