old-tests/tests_onhold/1_dom/2530-2.js
raw| 1 | // DATA_TEMPLATE: dom_data |
| 2 | oTest.fnStart( "User given with is left when no scrolling" ); |
| 3 | |
| 4 | $(document).ready( function () { |
| 5 | $('#example')[0].style.width = "80%"; |
| 6 | $('#example').dataTable(); |
| 7 | |
| 8 | oTest.fnTest( |
| 9 | "Check user width is left", |
| 10 | null, |
| 11 | function () { return $('#example').width() == 640; } |
| 12 | ); |
| 13 | |
| 14 | oTest.fnComplete(); |
| 15 | } ); |