diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/accordion/accordio.html | 4 | ||||
-rw-r--r-- | tests/unit/accordion/accordion.html | 4 | ||||
-rw-r--r-- | tests/unit/autocomplete/autocomplete.html | 2 | ||||
-rw-r--r-- | tests/unit/button/button.html | 2 | ||||
-rw-r--r-- | tests/unit/core/core.html | 2 | ||||
-rw-r--r-- | tests/unit/datepicker/datepicker.html | 2 | ||||
-rw-r--r-- | tests/unit/dialog/dialog.html | 2 | ||||
-rw-r--r-- | tests/unit/draggable/draggable.html | 2 | ||||
-rw-r--r-- | tests/unit/droppable/droppable.html | 2 | ||||
-rw-r--r-- | tests/unit/menu/menu.html | 2 | ||||
-rw-r--r-- | tests/unit/position/position.html | 2 | ||||
-rw-r--r-- | tests/unit/progressbar/progressbar.html | 2 | ||||
-rw-r--r-- | tests/unit/resizable/resizable.html | 2 | ||||
-rw-r--r-- | tests/unit/selectable/selectable.html | 2 | ||||
-rw-r--r-- | tests/unit/slider/slider.html | 2 | ||||
-rw-r--r-- | tests/unit/sortable/sortable.html | 2 | ||||
-rw-r--r-- | tests/unit/tabs/tabs.html | 2 | ||||
-rw-r--r-- | tests/unit/widget/widget.html | 2 | ||||
-rw-r--r-- | tests/unit/widget/widget_core.js | 2 |
19 files changed, 21 insertions, 21 deletions
diff --git a/tests/unit/accordion/accordio.html b/tests/unit/accordion/accordio.html index fdab26de8..22d88e90d 100644 --- a/tests/unit/accordion/accordio.html +++ b/tests/unit/accordion/accordio.html @@ -56,7 +56,7 @@ <script src="../swarminject.js"></script> <style> - #main { font-size: 10pt; font-family: "trebuchet ms", verdana, arial; } + #qunit-fixture { font-size: 10pt; font-family: "trebuchet ms", verdana, arial; } #list, #list1 *, #navigation, #navigation * { margin: 0; padding: 0; font-size: 12px; } </style> </head> @@ -69,7 +69,7 @@ <ol id="qunit-tests"> </ol> -<div id="main" style="position: absolute; top: -10000px; left: -10000px;"> +<div id="qunit-fixture"> <div> <div id="list1" class="foo"> diff --git a/tests/unit/accordion/accordion.html b/tests/unit/accordion/accordion.html index 60989694c..8eed65073 100644 --- a/tests/unit/accordion/accordion.html +++ b/tests/unit/accordion/accordion.html @@ -58,7 +58,7 @@ <script src="../swarminject.js"></script> <style> - #main { font-size: 10pt; font-family: "trebuchet ms", verdana, arial; } + #qunit-fixture { font-size: 10pt; font-family: "trebuchet ms", verdana, arial; } #list, #list1 *, #navigation, #navigation * { margin: 0; padding: 0; font-size: 12px; } </style> </head> @@ -71,7 +71,7 @@ <ol id="qunit-tests"> </ol> -<div id="main" style="position: absolute; top: -10000px; left: -10000px;"> +<div id="qunit-fixture"> <div> <div id="list1" class="foo"> diff --git a/tests/unit/autocomplete/autocomplete.html b/tests/unit/autocomplete/autocomplete.html index f871e3892..ef9d64baf 100644 --- a/tests/unit/autocomplete/autocomplete.html +++ b/tests/unit/autocomplete/autocomplete.html @@ -36,7 +36,7 @@ <ol id="qunit-tests"> </ol> -<div id="main" style="position: absolute; top: -10000px; left: -10000px;"> +<div id="qunit-fixture"> <div id="ac-wrap1" class="ac-wrap"></div> <div id="ac-wrap2" class="ac-wrap"><input id="autocomplete" class="foo" /></div> diff --git a/tests/unit/button/button.html b/tests/unit/button/button.html index 91910a232..627578654 100644 --- a/tests/unit/button/button.html +++ b/tests/unit/button/button.html @@ -34,7 +34,7 @@ <ol id="qunit-tests"> </ol> -<div id="main" style="position: absolute; top: -10000px; left: -10000px;"> +<div id="qunit-fixture"> <div><button id="button" class="foo">Label</button></div> diff --git a/tests/unit/core/core.html b/tests/unit/core/core.html index ce6663bb0..fb9cf0a61 100644 --- a/tests/unit/core/core.html +++ b/tests/unit/core/core.html @@ -32,7 +32,7 @@ <ol id="qunit-tests"> </ol> -<div id="main" style="position: absolute; top: -10000px; left: -10000px;"> +<div id="qunit-fixture"> <img src="../images/jqueryui_32x32.png" usemap="#mymap" width="10", height="10"> <map name="mymap"> diff --git a/tests/unit/datepicker/datepicker.html b/tests/unit/datepicker/datepicker.html index 509f0443e..5a20042de 100644 --- a/tests/unit/datepicker/datepicker.html +++ b/tests/unit/datepicker/datepicker.html @@ -46,7 +46,7 @@ <ol id="qunit-tests"> </ol> -<div id="main" style="position: absolute; top: -10000px; left: -10000px;"> +<div id="qunit-fixture"> <p><input type="text" id="inp"/><input type="text" id="alt"/><div id="inl"></div></p> </div> diff --git a/tests/unit/dialog/dialog.html b/tests/unit/dialog/dialog.html index d76bed854..7d8aafe6c 100644 --- a/tests/unit/dialog/dialog.html +++ b/tests/unit/dialog/dialog.html @@ -50,7 +50,7 @@ <ol id="qunit-tests"> </ol> -<div id="main" style="position: absolute; top: -10000px; left: -10000px;"> +<div id="qunit-fixture"> </div> </body> diff --git a/tests/unit/draggable/draggable.html b/tests/unit/draggable/draggable.html index a0a0834e3..bb2b0f7c1 100644 --- a/tests/unit/draggable/draggable.html +++ b/tests/unit/draggable/draggable.html @@ -43,7 +43,7 @@ <ol id="qunit-tests"> </ol> -<div id="main" style="position: absolute; top: -10000px; left: -10000px;"> +<div id="qunit-fixture"> <div id="draggable1" style="background: green; width: 200px; height: 100px;">Relative</div> <div id="draggable2" style="background: green; width: 200px; height: 100px; position: absolute; top: 10px; left: 10px;"><span>Absolute</span></div> <div style='width: 1px; height: 1000px;'></div> diff --git a/tests/unit/droppable/droppable.html b/tests/unit/droppable/droppable.html index 2ae6e1b07..0092647ce 100644 --- a/tests/unit/droppable/droppable.html +++ b/tests/unit/droppable/droppable.html @@ -44,7 +44,7 @@ <ol id="qunit-tests"> </ol> -<div id="main" style="position: absolute; top: -10000px; left: -10000px;"> +<div id="qunit-fixture"> <div id="draggable1" style="width: 25px; height: 25px;">Draggable</div> <div id="droppable1" style="width: 100px; height: 100px;">Droppable</div> <div style='width:1000px;height:1000px;'> </div> diff --git a/tests/unit/menu/menu.html b/tests/unit/menu/menu.html index 625001536..d134670cc 100644 --- a/tests/unit/menu/menu.html +++ b/tests/unit/menu/menu.html @@ -44,7 +44,7 @@ <script type="text/javascript" src="../swarminject.js"></script> <style> - #main { font-size: 10pt; font-family: 'trebuchet ms', verdana, arial; } + #qunit-fixture { font-size: 10pt; font-family: 'trebuchet ms', verdana, arial; } #list, #list1 *, #navigation, #navigation * { margin: 0; padding: 0; font-size: 12px; } .mainOnMoon {position: absolute; top: -10000px; left: -10000px;} </style> diff --git a/tests/unit/position/position.html b/tests/unit/position/position.html index 5413cfdd6..c9a2be82d 100644 --- a/tests/unit/position/position.html +++ b/tests/unit/position/position.html @@ -30,7 +30,7 @@ elements smaller than 10px have a line-height set on them to avoid a bug in IE6 .height() returns the greater of the height and line-height --> -<div id="main" style="position: absolute; top: 0; left: 0;"> +<div id="qunit-fixture" style="top: 0; left: 0;"> <div id="el1" style="position: absolute; width: 6px; height: 6px; line-height: 6px;"></div> <div id="el2" style="position: absolute; width: 6px; height: 6px; line-height: 6px;"></div> <div id="parent" style="position: absolute; width: 6px; height: 6px; top: 4px; left: 4px; line-height: 6px;"></div> diff --git a/tests/unit/progressbar/progressbar.html b/tests/unit/progressbar/progressbar.html index 4315fb103..7ec8d56d7 100644 --- a/tests/unit/progressbar/progressbar.html +++ b/tests/unit/progressbar/progressbar.html @@ -34,7 +34,7 @@ <ol id="qunit-tests"> </ol> -<div id="main" style="position: absolute; top: -10000px; left: -10000px;"> +<div id="qunit-fixture"> <div id="progressbar"></div> </div> diff --git a/tests/unit/resizable/resizable.html b/tests/unit/resizable/resizable.html index d41af4272..02d95e532 100644 --- a/tests/unit/resizable/resizable.html +++ b/tests/unit/resizable/resizable.html @@ -45,7 +45,7 @@ <ol id="qunit-tests"> </ol> -<div id="main" style="position: absolute; top: -10000px; left: -10000px;"> +<div id="qunit-fixture"> <div id="resizable1" style="background: green; width: 100px; height: 100px;">I'm a resizable.</div> <img src="images/test.jpg" id="resizable2" style="width: 100px; height: 100px;"/> </div> diff --git a/tests/unit/selectable/selectable.html b/tests/unit/selectable/selectable.html index ea93b24b8..d3aafe616 100644 --- a/tests/unit/selectable/selectable.html +++ b/tests/unit/selectable/selectable.html @@ -43,7 +43,7 @@ <ol id="qunit-tests"> </ol> -<div id="main" style="position: absolute; top: -10000px; left: -10000px;"> +<div id="qunit-fixture"> <ul id="selectable1"> <li>Item 1</li> <li>Item 2</li> diff --git a/tests/unit/slider/slider.html b/tests/unit/slider/slider.html index 24fb0c0b0..dffdcae6a 100644 --- a/tests/unit/slider/slider.html +++ b/tests/unit/slider/slider.html @@ -45,7 +45,7 @@ <ol id="qunit-tests"> </ol> -<div id="main" style="position: absolute; top: -10000px; left: -10000px;"> +<div id="qunit-fixture"> <div id="slider1"></div> <div id="slider3" style="position: relative; margin: 40px; width: 217px; height: 28px;"> <div class="ui-slider-handle" style="position: absolute; height: 21px; left: 0px; bottom: 0px; width: 17px;"></div> diff --git a/tests/unit/sortable/sortable.html b/tests/unit/sortable/sortable.html index fc1fc72fd..f753bf1a4 100644 --- a/tests/unit/sortable/sortable.html +++ b/tests/unit/sortable/sortable.html @@ -43,7 +43,7 @@ <ol id="qunit-tests"> </ol> -<div id="main" style="position: absolute; top: -10000px; left: -10000px;"> +<div id="qunit-fixture"> <ul id="sortable"> <li>Item 1</li> <li>Item 2</li> diff --git a/tests/unit/tabs/tabs.html b/tests/unit/tabs/tabs.html index d03104c4e..507b31822 100644 --- a/tests/unit/tabs/tabs.html +++ b/tests/unit/tabs/tabs.html @@ -45,7 +45,7 @@ <ol id="qunit-tests"> </ol> -<div id="main" style="position: absolute; top: -10000px; left: -10000px;"> +<div id="qunit-fixture"> <div id="tabs1"> <ul> diff --git a/tests/unit/widget/widget.html b/tests/unit/widget/widget.html index fda543ae0..c3b9bfe95 100644 --- a/tests/unit/widget/widget.html +++ b/tests/unit/widget/widget.html @@ -27,7 +27,7 @@ <ol id="qunit-tests"> </ol> -<div id="main" style="position: absolute; top: -10000px; left: -10000px;"> +<div id="qunit-fixture"> <div id="widget-wrapper"> <div id="widget"> diff --git a/tests/unit/widget/widget_core.js b/tests/unit/widget/widget_core.js index 11325140f..837e282c6 100644 --- a/tests/unit/widget/widget_core.js +++ b/tests/unit/widget/widget_core.js @@ -56,7 +56,7 @@ test( "element normalization", function() { $.ui.testWidget( {}, elem ); elem = $( "<div id='element-normalization-selector'></div>" ) - .appendTo( "#main" ); + .appendTo( "#qunit-fixture" ); $.ui.testWidget.prototype._create = function() { same( this.element[ 0 ], elem[ 0 ], "from selector" ); same( elem.data( "testWidget" ), this, "instace stored in .data()" ); |