mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
Move attr_exists_selector.html to wpt reftests.
This commit is contained in:
parent
2ca5f85d4e
commit
1f37ac0d71
4 changed files with 25 additions and 1 deletions
|
@ -171,6 +171,18 @@
|
|||
"url": "/_mozilla/css/anon_block_inherit_a.html"
|
||||
}
|
||||
],
|
||||
"css/attr_exists_selector.html": [
|
||||
{
|
||||
"path": "css/attr_exists_selector.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/attr_exists_selector_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/attr_exists_selector.html"
|
||||
}
|
||||
],
|
||||
"css/background.html": [
|
||||
{
|
||||
"path": "css/background.html",
|
||||
|
@ -1136,6 +1148,18 @@
|
|||
"url": "/_mozilla/css/anon_block_inherit_a.html"
|
||||
}
|
||||
],
|
||||
"css/attr_exists_selector.html": [
|
||||
{
|
||||
"path": "css/attr_exists_selector.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/attr_exists_selector_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/attr_exists_selector.html"
|
||||
}
|
||||
],
|
||||
"css/background.html": [
|
||||
{
|
||||
"path": "css/background.html",
|
||||
|
|
16
tests/wpt/mozilla/tests/css/attr_exists_selector.html
Normal file
16
tests/wpt/mozilla/tests/css/attr_exists_selector.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Attribute exists selector: [foo] and [*|foo]</title>
|
||||
<link rel=match href=attr_exists_selector_ref.html>
|
||||
<style>
|
||||
p[data-green] { color: green }
|
||||
p[*|data-red] { color: red }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p data-green="">This text should be green.</p>
|
||||
<p data-red="">This text should be red.</p>
|
||||
<p>This text should be black.</p>
|
||||
</body>
|
||||
</html>
|
11
tests/wpt/mozilla/tests/css/attr_exists_selector_ref.html
Normal file
11
tests/wpt/mozilla/tests/css/attr_exists_selector_ref.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Attribute exists selector: [foo] (reference)</title>
|
||||
</head>
|
||||
<body>
|
||||
<p style="color: green">This text should be green.</p>
|
||||
<p style="color: red">This text should be red.</p>
|
||||
<p>This text should be black.</p>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue