]> source.dussan.org Git - jquery.git/commitdiff
CSS: Use pre-defined displays for html and body
authorOleg Gaidarenko <markelog@gmail.com>
Tue, 2 Sep 2014 20:11:05 +0000 (00:11 +0400)
committerOleg Gaidarenko <markelog@gmail.com>
Tue, 2 Sep 2014 20:11:05 +0000 (00:11 +0400)
Ref 60f546acb1c7136092b4fd01cccff052e468cc72
Ref 274feb53cc9a99633dfac785d8b3b837d192c43c

src/css/defaultDisplay.js

index 42e436a84c4da4f14a9cb44925f70404337d287b..2df1068bce4a28300f1bdf998050f7e173fe31f2 100644 (file)
@@ -4,7 +4,13 @@ define([
 ], function( jQuery ) {
 
 var iframe,
-       elemdisplay = {};
+       elemdisplay = {
+
+               // Support: Firefox
+               // We have to pre-define this values for FF (#10227)
+               HTML: "block",
+               BODY: "block"
+       };
 
 /**
  * Retrieve the actual display of a element