]> source.dussan.org Git - jquery-ui.git/commitdiff
Core: Ensure forms in tests have some actual content
authorScott González <scott.gonzalez@gmail.com>
Wed, 30 Jul 2014 14:16:29 +0000 (10:16 -0400)
committerScott González <scott.gonzalez@gmail.com>
Wed, 30 Jul 2014 14:16:29 +0000 (10:16 -0400)
Empty forms have no height, so they're considered hidden in jquery-git as of
jquery/jquery@10399ddcf8a239acc27bdec9231b996b178224d3

tests/unit/core/core.html

index 006abb50d9a2cd13ea0f7484aa69000e3e0b656b..6490a4ae8b74db0f5b929f31e71d823730327579 100644 (file)
        <area shape="rect" coords="1,1,2,2" href="foo.html" id="areaNoImg" alt="">
 </map>
 
-<form id="formNoTabindex"></form>
-<form id="formTabindex" tabindex="1"></form>
+<form id="formNoTabindex">
+       <input>
+</form>
+
+<form id="formTabindex" tabindex="1">
+       <input>
+</form>
 
 <div>
        <input id="visibleAncestor-inputTypeNone">