mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
Bug 394468, fix scale test by moving scales around, r=mano, test change only
This commit is contained in:
parent
0394bd60f9
commit
6491040ce1
@ -11,12 +11,14 @@
|
||||
<script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
||||
<script type="application/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
|
||||
|
||||
<scale id="scale-horizontal-normal"/>
|
||||
<scale id="scale-horizontal-reverse" dir="reverse"/>
|
||||
<vbox align="start">
|
||||
<hbox>
|
||||
<vbox>
|
||||
<scale id="scale-horizontal-normal"/>
|
||||
<scale id="scale-horizontal-reverse" dir="reverse"/>
|
||||
</vbox>
|
||||
<scale id="scale-vertical-normal" orient="vertical"/>
|
||||
<scale id="scale-vertical-reverse" orient="vertical" dir="reverse"/>
|
||||
</vbox>
|
||||
</hbox>
|
||||
|
||||
<body xmlns="http://www.w3.org/1999/xhtml">
|
||||
<p id="display"></p>
|
||||
@ -119,10 +121,6 @@ function testtag_scale_UI(element, testid, horiz, reverse)
|
||||
synthesizeKeyExpectEvent("VK_END", { }, element, "change", testid + "key end");
|
||||
is(element.value, reverse ? 0 : 20, testid + " key end");
|
||||
|
||||
// XXXndeakin disable these tests for now
|
||||
if (!horiz)
|
||||
return;
|
||||
|
||||
testtag_scale_UI_Mouse(element, testid, horiz, reverse, 4);
|
||||
|
||||
element.min = 6;
|
||||
|
Loading…
Reference in New Issue
Block a user