зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1359411 - Reftest. (test only: DONTBUILD)
MozReview-Commit-ID: H1y2uTW89i8
This commit is contained in:
Родитель
112dcab8dc
Коммит
7da60ffe84
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html><head><style>
|
||||
i:before{content:"X"}
|
||||
</style></head><body onload="runTest()"><div><button type="button"><i></i></button><p></p></div><editor contenteditable="true">focus me, then press the UP key</editor>
|
||||
<script>
|
||||
function runTest() {
|
||||
document.body.offsetHeight;
|
||||
var e = document.querySelector('editor');
|
||||
e.focus()
|
||||
}
|
||||
</script>
|
|
@ -0,0 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<html><head><script src="/tests/SimpleTest/EventUtils.js"></script><style>
|
||||
i:before{content:"X"}
|
||||
</style></head><body onload="runTest()"><div><button type="button"><i></i></button><p></p></div><editor contenteditable="true" onfocus="sendKey('UP')">focus me, then press the UP key</editor>
|
||||
<script>var e = document.querySelector('editor'); e.focus()</script>
|
||||
<script>
|
||||
function runTest() {
|
||||
document.body.offsetHeight;
|
||||
var e = document.querySelector('editor');
|
||||
e.focus()
|
||||
}
|
||||
</script>
|
|
@ -287,6 +287,8 @@ support-files =
|
|||
bug1354478-5-ref.html
|
||||
bug1354478-6.html
|
||||
bug1354478-6-ref.html
|
||||
bug1359411.html
|
||||
bug1359411-ref.html
|
||||
image_rgrg-256x256.png
|
||||
input-invalid-ref.html
|
||||
input-maxlength-invalid-change.html
|
||||
|
|
|
@ -192,6 +192,7 @@ var tests = [
|
|||
[ 'bug1354478-4.html' , 'bug1354478-4-ref.html'] ,
|
||||
[ 'bug1354478-5.html' , 'bug1354478-5-ref.html'] ,
|
||||
[ 'bug1354478-6.html' , 'bug1354478-6-ref.html'] ,
|
||||
[ 'bug1359411.html' , 'bug1359411-ref.html' ] ,
|
||||
function() {SpecialPowers.pushPrefEnv({'clear': [['layout.accessiblecaret.enabled']]}, nextTest);} ,
|
||||
];
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче