Move first_child_pseudo_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-22 09:16:45 -04:00
parent cee4879dd1
commit 83439dc1df
4 changed files with 25 additions and 1 deletions

View file

@ -37,7 +37,6 @@ flaky_cpu == append_style_a.html append_style_b.html
== counters_simple_a.html counters_simple_ref.html
== empty_cells_a.html empty_cells_ref.html
== filter_opacity_a.html filter_opacity_ref.html
== first_child_pseudo_a.html first_child_pseudo_b.html
== fixed_width_overrides_child_intrinsic_width_a.html fixed_width_overrides_child_intrinsic_width_ref.html
prefs:"layout.flex-direction.enabled,layout.flex.enabled" == flex_column_direction.html flex_column_direction_ref.html
prefs:"layout.flex.enabled" == flex_row_direction.html flex_row_direction_ref.html

View file

@ -1,25 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<title>:first-child test</title>
<style type="text/css">
html { background: red;}
html:first-child { background: yellow; }
p { width: 20px; height: 20px; background: orange; float: left; margin-left: 10px; }
div { clear: both; }
#p1, #p2, #p3 { background: red; }
#d1 > *:first-child { background: green }
#d2 > *:first-child { background: green }
#d3 > *:first-child { background: green }
#p4 { background: green; }
#d4 > *:first-child { background: red }
</style>
</head>
<body>
<div id="d1"><p id="p1"> </p><p> </p></div>
<div id="d2"> <p id="p2"> </p><p> </p></div>
<div id="d3"><!-- comment --><p id="p3"> </p><p> </p></div>
<div id="d4"><span> </span><p id="p4"> </p><p> </p></div>
</body>
</html>

View file

@ -1,22 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<title>:first-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 id="p1"> </p><p> </p></div>
<div id="d2"> <p id="p2"> </p><p> </p></div>
<div id="d3"><!-- comment --><p id="p3"> </p><p> </p></div>
<div id="d4"><span> </span><p id="p4"> </p><p> </p></div>
</body>
</html>