aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-02-26 13:31:45 +0100
committerScott González <scott.gonzalez@gmail.com>2011-02-26 13:31:45 +0100
commitffb96bc97228d4be0750f205ea76f510d220769d (patch)
treed90c94aad00abd5b116015f27cd71a56a9b22d34 /tests
parent48f060ac25a805f8070a3ec5daf8be8e56d2b60b (diff)
downloadjquery-ui-ffb96bc97228d4be0750f205ea76f510d220769d.tar.gz
jquery-ui-ffb96bc97228d4be0750f205ea76f510d220769d.zip
Widget tests: Work around a bug in jQuery core in IE 9rc.
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/widget/widget_core.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unit/widget/widget_core.js b/tests/unit/widget/widget_core.js
index 837e282c6..319423797 100644
--- a/tests/unit/widget/widget_core.js
+++ b/tests/unit/widget/widget_core.js
@@ -29,6 +29,8 @@ test( "element normalization", function() {
$.widget( "ui.testWidget", {} );
$.ui.testWidget.prototype._create = function() {
+ // workaround for core ticket #8381
+ this.element.appendTo( "#qunit-fixture" );
ok( this.element.is( "div" ), "generated div" );
same( this.element.data( "testWidget" ), this, "intance stored in .data()" );
};