File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,8 @@ jQuery.support = (function() {
24
24
25
25
// Preliminary tests
26
26
div . setAttribute ( "className" , "t" ) ;
27
- div . innerHTML = " <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>" ;
27
+ div . innerHTML = " <link><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type=checkbox>" ;
28
+
28
29
29
30
all = div . getElementsByTagName ( "*" ) ;
30
31
a = div . getElementsByTagName ( "a" ) [ 0 ] ;
@@ -152,8 +153,8 @@ jQuery.support = (function() {
152
153
if ( body ) {
153
154
jQuery . extend ( testElementStyle , {
154
155
position : "absolute" ,
155
- left : - 1000 ,
156
- top : - 1000
156
+ left : "-1000px" ,
157
+ top : "-1000px"
157
158
} ) ;
158
159
}
159
160
for ( i in testElementStyle ) {
@@ -185,7 +186,7 @@ jQuery.support = (function() {
185
186
support . shrinkWrapBlocks = ( div . offsetWidth !== 2 ) ;
186
187
}
187
188
188
- div . innerHTML = "<table><tr><td style='padding:0;border:0;display:none'></td><td> </td></tr></table>" ;
189
+ div . innerHTML = "<table><tr><td style='padding:0;border:0;display:none'></td><td>t </td></tr></table>" ;
189
190
tds = div . getElementsByTagName ( "td" ) ;
190
191
191
192
// Check if table cells still have offsetWidth/Height when they are set
You can’t perform that action at this time.
0 commit comments