mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +01:00
Move submit_focus_a.html to wpt reftests.
This commit is contained in:
parent
af75427f19
commit
cb6c43c18e
4 changed files with 25 additions and 1 deletions
|
@ -603,6 +603,18 @@
|
|||
"url": "/_mozilla/css/stacking_context_rtl.html"
|
||||
}
|
||||
],
|
||||
"css/submit_focus_a.html": [
|
||||
{
|
||||
"path": "css/submit_focus_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/submit_focus_b.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/submit_focus_a.html"
|
||||
}
|
||||
],
|
||||
"css/table_auto_width.html": [
|
||||
{
|
||||
"path": "css/table_auto_width.html",
|
||||
|
@ -2588,6 +2600,18 @@
|
|||
"url": "/_mozilla/css/stacking_context_rtl.html"
|
||||
}
|
||||
],
|
||||
"css/submit_focus_a.html": [
|
||||
{
|
||||
"path": "css/submit_focus_a.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/submit_focus_b.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/submit_focus_a.html"
|
||||
}
|
||||
],
|
||||
"css/table_auto_width.html": [
|
||||
{
|
||||
"path": "css/table_auto_width.html",
|
||||
|
|
11
tests/wpt/mozilla/tests/css/submit_focus_a.html
Normal file
11
tests/wpt/mozilla/tests/css/submit_focus_a.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
<link rel='match' href='submit_focus_b.html'>
|
||||
<style>
|
||||
button {
|
||||
display: inline-block;
|
||||
}
|
||||
</style>
|
||||
<button id="1">Submit</button>
|
||||
<script>
|
||||
var elem = document.getElementById('1');
|
||||
elem.focus();
|
||||
</script>
|
11
tests/wpt/mozilla/tests/css/submit_focus_b.html
Normal file
11
tests/wpt/mozilla/tests/css/submit_focus_b.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
<style>
|
||||
input {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
</style>
|
||||
<input id="1" type="submit"></input>
|
||||
<script>
|
||||
var elem = document.getElementById('1');
|
||||
elem.focus();
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue