Skip to content

Commit a772418

Browse files
committed
CSS: Use pre-defined displays for html and body
Ref 60f546a Ref 274feb5
1 parent 274feb5 commit a772418

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/css/defaultDisplay.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,13 @@ define([
44
], function( jQuery ) {
55

66
var iframe,
7-
elemdisplay = {};
7+
elemdisplay = {
8+
9+
// Support: Firefox
10+
// We have to pre-define this values for FF (#10227)
11+
HTML: "block",
12+
BODY: "block"
13+
};
814

915
/**
1016
* Retrieve the actual display of a element

0 commit comments

Comments
 (0)