Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
45c0d0e
commit 9b69161
Showing
10 changed files
with
123 additions
and
20 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
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
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
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
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,17 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" /> | ||
<link rel="author" title="Daniel Glazman" href="mailto:d.glazman@partner.samsung.com" /> | ||
<title>:root test</title> | ||
<style type="text/css"> | ||
html:root { background: green; } | ||
html { background: red; } | ||
p:root { background: red; } | ||
</style> | ||
</head> | ||
<body> | ||
The background of the page should be green and you should see not red at all. | ||
<p>And the background of this sentence should be green too.</p> | ||
</body> | ||
</html> |
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
== basic_width_px.html basic_width_em.html | ||
== hello_a.html hello_b.html | ||
== margin_a.html margin_b.html | ||
== root_pseudo_a.html root_pseudo_b.html | ||
== first_child_pseudo_a.html first_child_pseudo_b.html |
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> | ||
<html> | ||
<head> | ||
<title>:first-child test</title> | ||
<style type="text/css"> | ||
html:first-child { background: red; } | ||
html { 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> |
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,22 @@ | ||
<!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> |
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,15 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>:root test</title> | ||
<style type="text/css"> | ||
html:root { background: green; } | ||
html { background: red; } | ||
p:root { background: red; } | ||
</style> | ||
</head> | ||
<body> | ||
The background of the page should be green and you should see not red at all. | ||
<p>And the background of this sentence should be green too.</p> | ||
</body> | ||
</html> |
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,13 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>:root test</title> | ||
<style type="text/css"> | ||
html { background: green; } | ||
</style> | ||
</head> | ||
<body> | ||
The background of the page should be green and you should see not red at all. | ||
<p>And the background of this sentence should be green too.</p> | ||
</body> | ||
</html> |
9b69161
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from SimonSapin
at SimonSapin@9b69161
9b69161
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging SimonSapin/servo/root = 9b69161 into auto
9b69161
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SimonSapin/servo/root = 9b69161 merged ok, testing candidate = eabee53
9b69161
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://servo-buildbot.pub.build.mozilla.org/builders/linux/builds/652
success: http://servo-buildbot.pub.build.mozilla.org/builders/mac/builds/607
9b69161
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = eabee53