Merge branch 'master' into PROT-9-webservice
[proteocache.git] / webapp / resources / datatables-1.9.4 / media / unit_testing / tests_onhold / 1_dom / 2530-2.js
diff --git a/webapp/resources/datatables-1.9.4/media/unit_testing/tests_onhold/1_dom/2530-2.js b/webapp/resources/datatables-1.9.4/media/unit_testing/tests_onhold/1_dom/2530-2.js
new file mode 100755 (executable)
index 0000000..cba8cf8
--- /dev/null
@@ -0,0 +1,15 @@
+// DATA_TEMPLATE: dom_data
+oTest.fnStart( "User given with is left when no scrolling" );
+
+$(document).ready( function () {
+       $('#example')[0].style.width = "80%";
+       $('#example').dataTable();
+       
+       oTest.fnTest( 
+               "Check user width is left",
+               null,
+               function () { return $('#example').width() == 640; }
+       );
+       
+       oTest.fnComplete();
+} );
\ No newline at end of file