Move attr_selector_case_sensitivity.html to wpt reftests.

This commit is contained in:
Ms2ger 2015-10-09 10:31:31 +02:00
parent 7880a1b25f
commit 86fd10e016
4 changed files with 25 additions and 1 deletions

View file

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

View file

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

View file

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