@@ -25,7 +25,7 @@ QUnit.test( "zoom of doom (#13089)", function( assert ) {
2525 } else {
2626 ok ( ! document . body . style . zoom , "No zoom added to the body" ) ;
2727 }
28- } ) ;
28+ } ) ;
2929
3030if ( jQuery . css ) {
3131 testIframeWithCallback (
@@ -48,6 +48,18 @@ if ( jQuery.css ) {
4848 } ) ;
4949 }
5050 ) ;
51+
52+ testIframeWithCallback (
53+ "box-sizing does not affect jQuery.support.shrinkWrapBlocks" ,
54+ "support/shrinkWrapBlocks.html" ,
55+ function ( shrinkWrapBlocks , assert ) {
56+ assert . expect ( 1 ) ;
57+ assert . strictEqual (
58+ shrinkWrapBlocks ,
59+ computedSupport . shrinkWrapBlocks ,
60+ "jQuery.support.shrinkWrapBlocks properties are the same"
61+ ) ;
62+ } ) ;
5163}
5264
5365testIframeWithCallback (
@@ -116,6 +128,7 @@ testIframeWithCallback(
116128 "reliableHiddenOffsets" : true ,
117129 "reliableMarginRight" : true ,
118130 "reliableMarginLeft" : true ,
131+ "shrinkWrapBlocks" : false ,
119132 "style" : true ,
120133 "submit" : true ,
121134 "tbody" : true
@@ -156,6 +169,7 @@ testIframeWithCallback(
156169 "reliableHiddenOffsets" : true ,
157170 "reliableMarginRight" : true ,
158171 "reliableMarginLeft" : false ,
172+ "shrinkWrapBlocks" : false ,
159173 "style" : true ,
160174 "submit" : true ,
161175 "tbody" : true
@@ -196,6 +210,7 @@ testIframeWithCallback(
196210 "reliableHiddenOffsets" : true ,
197211 "reliableMarginRight" : true ,
198212 "reliableMarginLeft" : true ,
213+ "shrinkWrapBlocks" : false ,
199214 "style" : true ,
200215 "submit" : true ,
201216 "tbody" : true
@@ -236,6 +251,7 @@ testIframeWithCallback(
236251 "reliableHiddenOffsets" : true ,
237252 "reliableMarginRight" : true ,
238253 "reliableMarginLeft" : true ,
254+ "shrinkWrapBlocks" : false ,
239255 "style" : true ,
240256 "submit" : true ,
241257 "tbody" : true
@@ -276,6 +292,7 @@ testIframeWithCallback(
276292 "reliableHiddenOffsets" : false ,
277293 "reliableMarginRight" : true ,
278294 "reliableMarginLeft" : false ,
295+ "shrinkWrapBlocks" : false ,
279296 "style" : false ,
280297 "submit" : false ,
281298 "tbody" : true
@@ -316,6 +333,7 @@ testIframeWithCallback(
316333 "reliableHiddenOffsets" : false ,
317334 "reliableMarginRight" : true ,
318335 "reliableMarginLeft" : false ,
336+ "shrinkWrapBlocks" : false ,
319337 "style" : false ,
320338 "submit" : false ,
321339 "tbody" : false
@@ -356,6 +374,7 @@ testIframeWithCallback(
356374 "reliableHiddenOffsets" : false ,
357375 "reliableMarginRight" : true ,
358376 "reliableMarginLeft" : false ,
377+ "shrinkWrapBlocks" : true ,
359378 "style" : false ,
360379 "submit" : false ,
361380 "tbody" : false
@@ -399,6 +418,7 @@ testIframeWithCallback(
399418 "reliableHiddenOffsets" : true ,
400419 "reliableMarginRight" : true ,
401420 "reliableMarginLeft" : true ,
421+ "shrinkWrapBlocks" : false ,
402422 "style" : true ,
403423 "submit" : true ,
404424 "tbody" : true
@@ -439,6 +459,7 @@ testIframeWithCallback(
439459 "reliableHiddenOffsets" : true ,
440460 "reliableMarginRight" : true ,
441461 "reliableMarginLeft" : true ,
462+ "shrinkWrapBlocks" : false ,
442463 "style" : true ,
443464 "submit" : true ,
444465 "tbody" : true
@@ -479,6 +500,7 @@ testIframeWithCallback(
479500 "reliableHiddenOffsets" : true ,
480501 "reliableMarginRight" : true ,
481502 "reliableMarginLeft" : true ,
503+ "shrinkWrapBlocks" : false ,
482504 "style" : true ,
483505 "submit" : true ,
484506 "tbody" : true
@@ -519,6 +541,7 @@ testIframeWithCallback(
519541 "reliableHiddenOffsets" : true ,
520542 "reliableMarginRight" : true ,
521543 "reliableMarginLeft" : false ,
544+ "shrinkWrapBlocks" : false ,
522545 "style" : true ,
523546 "submit" : true ,
524547 "tbody" : true
@@ -559,6 +582,7 @@ testIframeWithCallback(
559582 "reliableHiddenOffsets" : true ,
560583 "reliableMarginRight" : true ,
561584 "reliableMarginLeft" : true ,
585+ "shrinkWrapBlocks" : false ,
562586 "style" : true ,
563587 "submit" : true ,
564588 "tbody" : true
@@ -599,6 +623,7 @@ testIframeWithCallback(
599623 "reliableHiddenOffsets" : true ,
600624 "reliableMarginRight" : true ,
601625 "reliableMarginLeft" : false ,
626+ "shrinkWrapBlocks" : false ,
602627 "style" : true ,
603628 "submit" : true ,
604629 "tbody" : true
@@ -639,6 +664,7 @@ testIframeWithCallback(
639664 "reliableHiddenOffsets" : true ,
640665 "reliableMarginRight" : true ,
641666 "reliableMarginLeft" : true ,
667+ "shrinkWrapBlocks" : false ,
642668 "style" : true ,
643669 "submit" : true ,
644670 "tbody" : true
@@ -679,6 +705,7 @@ testIframeWithCallback(
679705 "reliableHiddenOffsets" : true ,
680706 "reliableMarginRight" : true ,
681707 "reliableMarginLeft" : true ,
708+ "shrinkWrapBlocks" : false ,
682709 "style" : true ,
683710 "submit" : true ,
684711 "tbody" : true
@@ -719,6 +746,7 @@ testIframeWithCallback(
719746 "reliableHiddenOffsets" : true ,
720747 "reliableMarginRight" : true ,
721748 "reliableMarginLeft" : true ,
749+ "shrinkWrapBlocks" : false ,
722750 "style" : true ,
723751 "submit" : true ,
724752 "tbody" : true
@@ -759,6 +787,7 @@ testIframeWithCallback(
759787 "reliableHiddenOffsets" : true ,
760788 "reliableMarginRight" : true ,
761789 "reliableMarginLeft" : true ,
790+ "shrinkWrapBlocks" : false ,
762791 "style" : true ,
763792 "submit" : true ,
764793 "tbody" : true
@@ -799,6 +828,7 @@ testIframeWithCallback(
799828 "reliableHiddenOffsets" : true ,
800829 "reliableMarginRight" : true ,
801830 "reliableMarginLeft" : true ,
831+ "shrinkWrapBlocks" : false ,
802832 "style" : true ,
803833 "submit" : true ,
804834 "tbody" : true
@@ -839,6 +869,7 @@ testIframeWithCallback(
839869 "reliableHiddenOffsets" : true ,
840870 "reliableMarginRight" : true ,
841871 "reliableMarginLeft" : true ,
872+ "shrinkWrapBlocks" : false ,
842873 "style" : true ,
843874 "submit" : true ,
844875 "tbody" : true
0 commit comments