From a7724186c98734529b06bebb8f2dc7fc2b641011 Mon Sep 17 00:00:00 2001 From: Oleg Gaidarenko Date: Wed, 3 Sep 2014 00:11:05 +0400 Subject: [PATCH] CSS: Use pre-defined displays for html and body Ref 60f546acb1c7136092b4fd01cccff052e468cc72 Ref 274feb53cc9a99633dfac785d8b3b837d192c43c --- src/css/defaultDisplay.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/css/defaultDisplay.js b/src/css/defaultDisplay.js index 42e436a84..2df1068bc 100644 --- a/src/css/defaultDisplay.js +++ b/src/css/defaultDisplay.js @@ -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