File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -128,32 +128,6 @@ class Processor {
128128 }
129129 }
130130
131- if ( this . prefixes . options . flexbox !== false ) {
132- if ( decl . prop === 'grid-row-end' &&
133- decl . value . indexOf ( 'span' ) === - 1
134- ) {
135- result . warn (
136- 'IE supports only grid-row-end with span. ' +
137- 'You should add grid: false option to Autoprefixer ' +
138- 'and use some JS grid polyfill for full spec support' ,
139- { node : decl }
140- ) ;
141- }
142- if ( decl . prop === 'grid-row' ) {
143- if ( decl . value . indexOf ( '/' ) !== - 1 &&
144- decl . value . indexOf ( 'span' ) === - 1
145- ) {
146- result . warn (
147- 'IE supports only grid-row with / and span. ' +
148- 'You should add grid: false option ' +
149- 'to Autoprefixer and use some JS grid polyfill ' +
150- 'for full spec support' ,
151- { node : decl }
152- ) ;
153- }
154- }
155- }
156-
157131 let prefixer ;
158132
159133 if ( decl . prop === 'transition' ||
Original file line number Diff line number Diff line change @@ -445,27 +445,6 @@ describe('hacks', () => {
445445 ] ) ;
446446 } ) ;
447447
448- it ( 'warns on unsupported grid features' , ( ) => {
449- const css = read ( 'nogrid' ) ;
450- const instance = autoprefixer ( { browsers : [ 'IE 10' ] , grid : true } ) ;
451- const result = postcss ( [ instance ] ) . process ( css ) ;
452- expect ( result . warnings ( ) . map ( i => i . toString ( ) ) ) . toEqual ( [
453- 'autoprefixer: <css input>:2:5: IE supports only grid-row-end ' +
454- 'with span. You should add grid: false option to Autoprefixer ' +
455- 'and use some JS grid polyfill for full spec support' ,
456- 'autoprefixer: <css input>:3:5: IE supports only grid-row ' +
457- 'with / and span. You should add grid: false option to ' +
458- 'Autoprefixer and use some JS grid polyfill for full spec support'
459- ] ) ;
460- } ) ;
461-
462- it ( 'does not warns on unsupported grid on disabled grid' , ( ) => {
463- const css = read ( 'nogrid' ) ;
464- const instance = autoprefixer ( { browsers : [ 'IE 10' ] , flexbox : false } ) ;
465- const result = postcss ( [ instance ] ) . process ( css ) ;
466- expect ( result . warnings ( ) . length ) . toEqual ( 0 ) ;
467- } ) ;
468-
469448 it ( 'supports intrinsic sizing' , ( ) => {
470449 const input = read ( 'intrinsic' ) ;
471450 const output = read ( 'intrinsic.out' ) ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments