Move root_pseudo_a.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-16 08:18:13 -04:00
parent c1bbcc2efd
commit 6474a729b4
4 changed files with 25 additions and 1 deletions

View file

@ -683,6 +683,18 @@
"url": "/_mozilla/css/flex_nochild.html"
}
],
"css/root_pseudo_a.html": [
{
"path": "css/root_pseudo_a.html",
"references": [
[
"/_mozilla/css/root_pseudo_b.html",
"=="
]
],
"url": "/_mozilla/css/root_pseudo_a.html"
}
],
"css/rtl_body.html": [
{
"path": "css/rtl_body.html",
@ -2928,6 +2940,18 @@
"url": "/_mozilla/css/flex_nochild.html"
}
],
"css/root_pseudo_a.html": [
{
"path": "css/root_pseudo_a.html",
"references": [
[
"/_mozilla/css/root_pseudo_b.html",
"=="
]
],
"url": "/_mozilla/css/root_pseudo_a.html"
}
],
"css/rtl_body.html": [
{
"path": "css/rtl_body.html",

View file

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<link rel='match' href='root_pseudo_b.html'>
<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>

View file

@ -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>