diff --git a/demos/dialog/animated.html b/demos/dialog/animated.html
index 808d0e926..92d7b642d 100644
--- a/demos/dialog/animated.html
+++ b/demos/dialog/animated.html
@@ -5,7 +5,6 @@
jQuery UI Dialog - Animation
-
diff --git a/demos/dialog/default.html b/demos/dialog/default.html
index 5dcb1a05c..19cf912e2 100644
--- a/demos/dialog/default.html
+++ b/demos/dialog/default.html
@@ -5,7 +5,6 @@
jQuery UI Dialog - Default functionality
-
diff --git a/demos/dialog/modal-confirmation.html b/demos/dialog/modal-confirmation.html
index cca3b296d..b9bf6396f 100644
--- a/demos/dialog/modal-confirmation.html
+++ b/demos/dialog/modal-confirmation.html
@@ -5,7 +5,6 @@
jQuery UI Dialog - Modal confirmation
-
diff --git a/demos/dialog/modal-form.html b/demos/dialog/modal-form.html
index 48452f862..1c0cd6fc3 100644
--- a/demos/dialog/modal-form.html
+++ b/demos/dialog/modal-form.html
@@ -5,7 +5,6 @@
jQuery UI Dialog - Modal form
-
diff --git a/demos/dialog/modal-message.html b/demos/dialog/modal-message.html
index d44331017..3c877b26e 100644
--- a/demos/dialog/modal-message.html
+++ b/demos/dialog/modal-message.html
@@ -5,7 +5,6 @@
jQuery UI Dialog - Modal message
-
diff --git a/demos/dialog/modal.html b/demos/dialog/modal.html
index 2b1ac2574..9bb6d95b2 100644
--- a/demos/dialog/modal.html
+++ b/demos/dialog/modal.html
@@ -5,7 +5,6 @@
jQuery UI Dialog - Basic modal
-
diff --git a/external/jquery.bgiframe-2.1.2.js b/external/jquery.bgiframe-2.1.2.js
deleted file mode 100644
index 5cd38bb1d..000000000
--- a/external/jquery.bgiframe-2.1.2.js
+++ /dev/null
@@ -1,39 +0,0 @@
-/*! Copyright (c) 2010 Brandon Aaron (http://brandonaaron.net)
- * Licensed under the MIT License (LICENSE.txt).
- *
- * Version 2.1.2
- */
-
-(function($){
-
-$.fn.bgiframe = ($.browser.msie && /msie 6\.0/i.test(navigator.userAgent) ? function(s) {
- s = $.extend({
- top : 'auto', // auto == .currentStyle.borderTopWidth
- left : 'auto', // auto == .currentStyle.borderLeftWidth
- width : 'auto', // auto == offsetWidth
- height : 'auto', // auto == offsetHeight
- opacity : true,
- src : 'javascript:false;'
- }, s);
- var html = '';
- return this.each(function() {
- if ( $(this).children('iframe.bgiframe').length === 0 )
- this.insertBefore( document.createElement(html), this.firstChild );
- });
-} : function() { return this; });
-
-// old alias
-$.fn.bgIframe = $.fn.bgiframe;
-
-function prop(n) {
- return n && n.constructor === Number ? n + 'px' : n;
-}
-
-})(jQuery);
\ No newline at end of file
diff --git a/tests/unit/dialog/dialog.html b/tests/unit/dialog/dialog.html
index 5a7fc8fe5..c00c52fab 100644
--- a/tests/unit/dialog/dialog.html
+++ b/tests/unit/dialog/dialog.html
@@ -5,7 +5,6 @@
jQuery UI Dialog Test Suite
-
diff --git a/tests/visual/dialog/animated.html b/tests/visual/dialog/animated.html
index 2a4c38d2e..8fc296471 100644
--- a/tests/visual/dialog/animated.html
+++ b/tests/visual/dialog/animated.html
@@ -5,7 +5,6 @@
Dialog Visual Test
-
diff --git a/tests/visual/dialog/complex-dialogs.html b/tests/visual/dialog/complex-dialogs.html
index 264787185..f6d4aa162 100644
--- a/tests/visual/dialog/complex-dialogs.html
+++ b/tests/visual/dialog/complex-dialogs.html
@@ -5,7 +5,6 @@
Dialog Visual Test
-
diff --git a/tests/visual/dialog/form.html b/tests/visual/dialog/form.html
index c974a500a..47ed5e0b5 100644
--- a/tests/visual/dialog/form.html
+++ b/tests/visual/dialog/form.html
@@ -5,7 +5,6 @@
Dialog Visual Test
-
diff --git a/tests/visual/dialog/performance.html b/tests/visual/dialog/performance.html
index 0b3bc6e58..fb863488d 100644
--- a/tests/visual/dialog/performance.html
+++ b/tests/visual/dialog/performance.html
@@ -5,7 +5,6 @@
Dialog Visual Test - Modal Dialog in Large DOM
-
diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js
index 327bfa17e..1da5a6b25 100644
--- a/ui/jquery.ui.autocomplete.js
+++ b/ui/jquery.ui.autocomplete.js
@@ -288,10 +288,6 @@ $.widget( "ui.autocomplete", {
.addClass( "ui-helper-hidden-accessible" )
.insertAfter( this.element );
- if ( $.fn.bgiframe ) {
- this.menu.element.bgiframe();
- }
-
// turning off autocomplete prevents the browser from remembering the
// value when navigating through history, so we re-enable autocomplete
// if the page is unloaded before the widget is destroyed. #7790
diff --git a/ui/jquery.ui.dialog.js b/ui/jquery.ui.dialog.js
index 4188a38c0..e96802e96 100644
--- a/ui/jquery.ui.dialog.js
+++ b/ui/jquery.ui.dialog.js
@@ -170,10 +170,6 @@ $.widget("ui.dialog", {
this._createButtons( options.buttons );
this._isOpen = false;
- if ( $.fn.bgiframe ) {
- uiDialog.bgiframe();
- }
-
// prevent tabbing out of dialogs
this._on( uiDialog, { keydown: function( event ) {
if ( event.keyCode !== $.ui.keyCode.TAB ) {
@@ -670,10 +666,6 @@ $.extend( $.ui.dialog.overlay, {
dialog._keepFocus( event );
});
- if ( $.fn.bgiframe ) {
- $el.bgiframe();
- }
-
this.instances.push( $el );
return $el;
},
diff --git a/ui/jquery.ui.position.js b/ui/jquery.ui.position.js
index edbb0f6ff..a5dc31834 100644
--- a/ui/jquery.ui.position.js
+++ b/ui/jquery.ui.position.js
@@ -230,10 +230,6 @@ $.fn.position = function( options ) {
}
});
- if ( $.fn.bgiframe ) {
- elem.bgiframe();
- }
-
if ( options.using ) {
// adds feedback as second argument to using callback, if present
using = function( props ) {
diff --git a/ui/jquery.ui.tooltip.js b/ui/jquery.ui.tooltip.js
index f93dd7a2f..f1f919ad3 100644
--- a/ui/jquery.ui.tooltip.js
+++ b/ui/jquery.ui.tooltip.js
@@ -357,9 +357,6 @@ $.widget( "ui.tooltip", {
.addClass( "ui-tooltip-content" )
.appendTo( tooltip );
tooltip.appendTo( this.document[0].body );
- if ( $.fn.bgiframe ) {
- tooltip.bgiframe();
- }
this.tooltips[ id ] = element;
return tooltip;
},