mirror of
https://github.com/servo/servo.git
synced 2025-10-01 09:09:15 +01:00
Move focus_selector.html to wpt reftests.
This commit is contained in:
parent
5953387cb0
commit
f2d83cd59d
4 changed files with 25 additions and 1 deletions
|
@ -803,6 +803,18 @@
|
|||
"url": "/_mozilla/css/flex_nochild.html"
|
||||
}
|
||||
],
|
||||
"css/focus_selector.html": [
|
||||
{
|
||||
"path": "css/focus_selector.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/focus_selector_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/focus_selector.html"
|
||||
}
|
||||
],
|
||||
"css/font_advance.html": [
|
||||
{
|
||||
"path": "css/font_advance.html",
|
||||
|
@ -4800,6 +4812,18 @@
|
|||
"url": "/_mozilla/css/flex_nochild.html"
|
||||
}
|
||||
],
|
||||
"css/focus_selector.html": [
|
||||
{
|
||||
"path": "css/focus_selector.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/focus_selector_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/focus_selector.html"
|
||||
}
|
||||
],
|
||||
"css/font_advance.html": [
|
||||
{
|
||||
"path": "css/font_advance.html",
|
||||
|
|
19
tests/wpt/mozilla/tests/css/focus_selector.html
Normal file
19
tests/wpt/mozilla/tests/css/focus_selector.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel='match' href='focus_selector_ref.html'>
|
||||
<meta charset="UTF-8">
|
||||
<style>
|
||||
input:focus {
|
||||
outline: 2px solid orange;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<input id="a">
|
||||
<input id="b">
|
||||
<script>
|
||||
document.getElementById("a").focus();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
15
tests/wpt/mozilla/tests/css/focus_selector_ref.html
Normal file
15
tests/wpt/mozilla/tests/css/focus_selector_ref.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<style>
|
||||
#a {
|
||||
outline: 2px solid orange;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<input id="a">
|
||||
<input id="b">
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue