mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 09:57:32 +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
32
editor/reftests/input-text-notheme-onfocus-reframe.html
Normal file
32
editor/reftests/input-text-notheme-onfocus-reframe.html
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<title>bug 536421</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<style>
|
||||
input { border:1px solid blue; }
|
||||
</style>
|
||||
</head>
|
||||
<body onload="doTest()">
|
||||
<input value="test" id="textbox" onfocus="triggerBug();" type="text">
|
||||
<script type="text/javascript">
|
||||
function finishTest()
|
||||
{
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
function triggerBug()
|
||||
{
|
||||
var t = document.getElementById("textbox");
|
||||
t.style.display = "none";
|
||||
document.body.offsetWidth;
|
||||
t.style.display = "";
|
||||
finishTest();
|
||||
}
|
||||
function doTest()
|
||||
{
|
||||
var t = document.getElementById("textbox");
|
||||
t.focus();
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue