mirror of
https://github.com/servo/servo.git
synced 2025-08-16 19:05:33 +01:00
Move attr_selector_case_sensitivity.html to wpt reftests.
This commit is contained in:
parent
7880a1b25f
commit
86fd10e016
4 changed files with 25 additions and 1 deletions
|
@ -183,6 +183,18 @@
|
|||
"url": "/_mozilla/css/attr_exists_selector.html"
|
||||
}
|
||||
],
|
||||
"css/attr_selector_case_sensitivity.html": [
|
||||
{
|
||||
"path": "css/attr_selector_case_sensitivity.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/attr_selector_case_sensitivity_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/attr_selector_case_sensitivity.html"
|
||||
}
|
||||
],
|
||||
"css/background.html": [
|
||||
{
|
||||
"path": "css/background.html",
|
||||
|
@ -1160,6 +1172,18 @@
|
|||
"url": "/_mozilla/css/attr_exists_selector.html"
|
||||
}
|
||||
],
|
||||
"css/attr_selector_case_sensitivity.html": [
|
||||
{
|
||||
"path": "css/attr_selector_case_sensitivity.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/attr_selector_case_sensitivity_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/attr_selector_case_sensitivity.html"
|
||||
}
|
||||
],
|
||||
"css/background.html": [
|
||||
{
|
||||
"path": "css/background.html",
|
||||
|
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Attribute selector case-sensitivity: [foo=bar] and [foo=bar i]</title>
|
||||
<link rel=match href=attr_selector_case_sensitivity_ref.html>
|
||||
<style>
|
||||
p[data-foo=Bar] { color: green }
|
||||
p[data-foo=bar] { color: red }
|
||||
p[data-foo=baz i] { color: green }
|
||||
p[data-foo=baz] { color: red }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p data-foo="Bar">This text should be green.</p>
|
||||
<p data-foo="Baz">This text should be green.</p>
|
||||
<p>This text should be black.</p>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Attribute selector case-sensitivity: [foo=bar] and [foo=bar i]</title>
|
||||
<style>
|
||||
p[data-foo=Bar] { color: green }
|
||||
p[data-foo=bar] { color: red }
|
||||
p[data-foo=baz i] { color: green }
|
||||
p[data-foo=baz] { color: red }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p style="color: green">This text should be green.</p>
|
||||
<p style="color: green">This text should be green.</p>
|
||||
<p>This text should be black.</p>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue