Bug 1016184 - part 3c - Fix test_focus_disabled.html. r=ehsan

Move the witness down so that touch caret won't cover other elements
when witness is focused().
This commit is contained in:
Ting-Yu Lin 2014-07-27 00:16:00 +02:00
parent 5fcaec2856
commit b3aa3dfe93

View File

@ -14,10 +14,6 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=375008
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=375008">Mozilla Bug 375008</a>
<p id="display"></p>
<div id="content">
<div>
<input id='witness'>
</div>
<div id='not-focusable'>
<!-- Disabled elements -->
<button hidden disabled>foo</button>
@ -52,6 +48,10 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=375008
<option hidden>foo</option>
</div>
<div>
<input id='witness'>
</div>
</div>
<pre id="test">
<script type="application/javascript">