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() {
2424
2525	// Preliminary tests 
2626	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+ 
2829
2930	all  =  div . getElementsByTagName (  "*"  ) ; 
3031	a  =  div . getElementsByTagName (  "a"  ) [  0  ] ; 
@@ -152,8 +153,8 @@ jQuery.support = (function() {
152153	if  (  body  )  { 
153154		jQuery . extend (  testElementStyle ,  { 
154155			position : "absolute" , 
155- 			left : - 1000 , 
156- 			top : - 1000 
156+ 			left : "-1000px" , 
157+ 			top : "-1000px" 
157158		} ) ; 
158159	} 
159160	for  (  i  in  testElementStyle  )  { 
@@ -185,7 +186,7 @@ jQuery.support = (function() {
185186		support . shrinkWrapBlocks  =  (  div . offsetWidth  !==  2  ) ; 
186187	} 
187188
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>" ; 
189190	tds  =  div . getElementsByTagName (  "td"  ) ; 
190191
191192	// Check if table cells still have offsetWidth/Height when they are set 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments