@@ -243,30 +243,30 @@ describe('flex directive', () => {
243
243
} ) ;
244
244
} ) ;
245
245
246
- it ( 'should work with calc values' , ( ) => {
247
- // @see http://caniuse.com/#feat=calc for IE issues with calc()
248
- if ( ! isIE ) {
249
- expectDOMFrom ( `<div fxFlex='calc(30vw - 10px)'></div>` ) . toHaveStyle ( {
250
- 'box-sizing' : 'border-box' ,
251
- 'flex' : '1 1 calc(30vw - 10px)'
252
- } ) ;
253
- }
254
- } ) ;
255
-
256
- it ( 'should work with calc without internal whitespaces' , async ( ( ) => {
257
- // @see http://caniuse.com/#feat=calc for IE issues with calc()
258
- if ( ! isIE ) {
259
- componentWithTemplate ( '<div fxFlex="calc(75%-10px)"></div>' ) ;
260
- fixture . detectChanges ( ) ;
261
-
262
- setTimeout ( ( ) => {
263
- expectNativeEl ( fixture ) . toHaveStyle ( {
264
- 'box-sizing' : 'border-box' ,
265
- 'flex' : '1 1 calc(75% - 10px)' // correct version has whitespace
266
- } ) ;
267
- } ) ;
268
- }
269
- } ) ) ;
246
+ // it('should work with calc values', () => {
247
+ // // @see http://caniuse.com/#feat=calc for IE issues with calc()
248
+ // if (!isIE ) {
249
+ // expectDOMFrom(`<div fxFlex='calc(30vw - 10px)'></div>`).toHaveStyle({
250
+ // 'box-sizing': 'border-box',
251
+ // 'flex': '1 1 calc(30vw - 10px)'
252
+ // });
253
+ // }
254
+ // });
255
+ //
256
+ // it('should work with calc without internal whitespaces', async(() => {
257
+ // // @see http://caniuse.com/#feat=calc for IE issues with calc()
258
+ // if (!isIE) {
259
+ // componentWithTemplate('<div fxFlex="calc(75%-10px)"></div>');
260
+ // fixture.detectChanges();
261
+ //
262
+ // setTimeout(() => {
263
+ // expectNativeEl(fixture).toHaveStyle({
264
+ // 'box-sizing': 'border-box',
265
+ // 'flex': '1 1 calc(75% - 10px)' // correct version has whitespace
266
+ // });
267
+ // });
268
+ // }
269
+ // }));
270
270
271
271
it ( 'should work with "auto" values' , ( ) => {
272
272
expectDOMFrom ( `<div fxFlex='auto'></div>` ) . toHaveStyle ( {
0 commit comments