mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 07:48:38 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
21
layout/reftests/forms/input/text/select.html
Normal file
21
layout/reftests/forms/input/text/select.html
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<html class="reftest-wait">
|
||||
<head>
|
||||
<script type="text/javascript">
|
||||
function finishTest() {
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
function runTest() {
|
||||
var field = document.getElementById('field');
|
||||
field.focus();
|
||||
field.disabled = true;
|
||||
field.setSelectionRange(0, 4);
|
||||
field.disabled = false;
|
||||
field.select();
|
||||
setTimeout(finishTest, 0);
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="runTest()">
|
||||
<input id="field" type="text" value="1234">
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue