mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
Move root_pseudo_a.html to wpt reftests.
This commit is contained in:
parent
c1bbcc2efd
commit
6474a729b4
4 changed files with 25 additions and 1 deletions
|
@ -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",
|
||||
|
|
16
tests/wpt/mozilla/tests/css/root_pseudo_a.html
Normal file
16
tests/wpt/mozilla/tests/css/root_pseudo_a.html
Normal 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>
|
13
tests/wpt/mozilla/tests/css/root_pseudo_b.html
Normal file
13
tests/wpt/mozilla/tests/css/root_pseudo_b.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue