mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 08:48:39 +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
30
layout/base/tests/bug1237236-1-ref.html
Normal file
30
layout/base/tests/bug1237236-1-ref.html
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
|
||||
<meta charset="utf-8">
|
||||
<title>Testcase #1 for bug 1237236</title>
|
||||
<script>
|
||||
function test1() {
|
||||
synthesizeKey("VK_DOWN", { }); // move caret to the second line
|
||||
// caret should now be at the start of the second line
|
||||
document.body.offsetHeight;
|
||||
setTimeout(function(){ document.documentElement.removeAttribute("class"); },0);
|
||||
}
|
||||
function runTests() {
|
||||
document.querySelector('textarea').focus();
|
||||
document.body.offsetHeight;
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<textarea onfocus="test1()" spellcheck="false" style="-moz-appearance:none">abc
|
||||
def</textarea>
|
||||
|
||||
<script>
|
||||
SimpleTest.waitForFocus(runTests);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue