mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
Move pseudo_element_a.html to wpt reftests.
This commit is contained in:
parent
a91746424a
commit
baa26c9717
4 changed files with 25 additions and 1 deletions
|
@ -683,6 +683,18 @@
|
|||
"url": "/_mozilla/css/flex_nochild.html"
|
||||
}
|
||||
],
|
||||
"css/pseudo_element_a.html": [
|
||||
{
|
||||
"path": "css/pseudo_element_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/pseudo_element_b.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/pseudo_element_a.html"
|
||||
}
|
||||
],
|
||||
"css/pseudo_inherit.html": [
|
||||
{
|
||||
"path": "css/pseudo_inherit.html",
|
||||
|
@ -3000,6 +3012,18 @@
|
|||
"url": "/_mozilla/css/flex_nochild.html"
|
||||
}
|
||||
],
|
||||
"css/pseudo_element_a.html": [
|
||||
{
|
||||
"path": "css/pseudo_element_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/pseudo_element_b.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/pseudo_element_a.html"
|
||||
}
|
||||
],
|
||||
"css/pseudo_inherit.html": [
|
||||
{
|
||||
"path": "css/pseudo_inherit.html",
|
||||
|
|
23
tests/wpt/mozilla/tests/css/pseudo_element_a.html
Normal file
23
tests/wpt/mozilla/tests/css/pseudo_element_a.html
Normal file
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel='match' href='pseudo_element_b.html'>
|
||||
<style>
|
||||
span.servo1:before { display:inline; content:'Hello';}
|
||||
span.servo1:after { display:inline; content:'ervo';}
|
||||
div.servo2:before { display:inline; content:'Hello';}
|
||||
div.servo2:after { display:inline; content:'ervo';}
|
||||
span.servo3:before { display:block; content:'Smile'; color:blue}
|
||||
span.servo3:after { display:block; content:'And thanks'; color:blue}
|
||||
div.rust:before { display:block; content:'Hello,';}
|
||||
div.rust:after { display:inline; content:'ust';}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<span class="servo1">, S</span>
|
||||
<div class="servo2">, S</div>
|
||||
<span class="servo3">Servo</span>
|
||||
<div class="rust">R</div>
|
||||
</body>
|
||||
</html>
|
18
tests/wpt/mozilla/tests/css/pseudo_element_b.html
Normal file
18
tests/wpt/mozilla/tests/css/pseudo_element_b.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
.col { color:blue; }
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
Hello,<span> Servo</span>
|
||||
<div class="servo">Hello, Servo</div>
|
||||
<div class="col">Smile</div>
|
||||
<span>Servo</span>
|
||||
<div class="col">And thanks</div>
|
||||
<div>Hello,</div>
|
||||
<span>Rust</span>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue