@@ -5,7 +5,7 @@ module.exports = {
55 warnings : 1 ,
66 } , {
77 source : 'body { left: 0 }' ,
8- args : [ 'always' , { except : 'left' } ] ,
8+ args : [ 'always' , { except : 'left' } ] ,
99 warnings : 0 ,
1010 } , {
1111 source : 'body { top: 0; left: 0 }' ,
@@ -21,7 +21,7 @@ module.exports = {
2121 warnings : 2
2222 } , {
2323 source : 'body { top: 0; margin-left: 0 }' ,
24- args : [ 'always' , { except : [ 'top' , / ^ m a r g i n / ] } ] ,
24+ args : [ 'always' , { except : [ 'top' , / ^ m a r g i n / ] } ] ,
2525 warnings : 0
2626 } , {
2727 source : 'body { padding-left: 0; margin-right: 0 }' ,
@@ -78,13 +78,37 @@ module.exports = {
7878 } , {
7979 source : 'body:dir(ltr) { text-align: left }' ,
8080 expect : 'body:dir(ltr) { text-align: left }' ,
81- args : [ 'always' ]
81+ args : [ 'always' ]
8282 } , {
8383 source : 'body { float: left; text-align: left }' ,
8484 expect : 'body { float: left; text-align: start }' ,
85- args : [ 'always' , {
86- except : [ / ^ f l o a t $ / i]
85+ args : [ 'always' , {
86+ except : [ / ^ f l o a t $ / i ]
8787 } ]
88+ } , {
89+ source : 'body { width: 0; }' ,
90+ expect : 'body { inline-size: 0; }' ,
91+ args : 'always'
92+ } , {
93+ source : 'body { min-width: 0; }' ,
94+ expect : 'body { min-inline-size: 0; }' ,
95+ args : 'always'
96+ } , {
97+ source : 'body { max-width: 0; }' ,
98+ expect : 'body { max-inline-size: 0; }' ,
99+ args : 'always'
100+ } , {
101+ source : 'body { height: 0; }' ,
102+ expect : 'body { block-size: 0; }' ,
103+ args : 'always'
104+ } , {
105+ source : 'body { min-height: 0; }' ,
106+ expect : 'body { min-block-size: 0; }' ,
107+ args : 'always'
108+ } , {
109+ source : 'body { max-height: 0; }' ,
110+ expect : 'body { max-block-size: 0; }' ,
111+ args : 'always'
88112 } , {
89113 source : 'body { border-left: 0; }' ,
90114 expect : 'body { border-inline-start: 0; }' ,
@@ -101,7 +125,7 @@ module.exports = {
101125 source : 'body { border-bottom: 0; }' ,
102126 expect : 'body { border-block-end: 0; }' ,
103127 args : 'always'
104- } , {
128+ } , {
105129 source : 'body { border-left-color: 0; }' ,
106130 expect : 'body { border-inline-start-color: 0; }' ,
107131 args : 'always'
0 commit comments