Move focus_selector.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-22 09:16:45 -04:00
parent 5953387cb0
commit f2d83cd59d
4 changed files with 25 additions and 1 deletions

View file

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

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

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