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
Родитель 4099ebe260
Коммит 39b275e404
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -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">