]> source.dussan.org Git - jquery-ui.git/commitdiff
Resizable Tests: fix IE8 test fail due to unspecified border style
authorMike Sherov <mike.sherov@gmail.com>
Thu, 14 Aug 2014 03:06:21 +0000 (23:06 -0400)
committerMike Sherov <mike.sherov@gmail.com>
Thu, 14 Aug 2014 03:06:21 +0000 (23:06 -0400)
IE <9 does not correctly set the height of an element if the borderWidth
is non-zero but no borderStyle is specified.

tests/unit/resizable/resizable_options.js

index 36d600061f1a67e8d7ef5f13e54b88b22862eb16..c46801bc54d1c6f812f23afa66f8d4c4364ca7a7 100644 (file)
@@ -306,7 +306,7 @@ test( "grid - maintains grid with padding and border when approaching no dimensi
        var handle = ".ui-resizable-nw",
                target = $( "#resizable1" ).css({
                        padding: 5,
-                       borderWidth: 5,
+                       border: "5px solid black",
                        width: 80,
                        height: 80
                }).resizable({