fix(test): Android browser does not support calc() a CSS unit value
Closes #5001
This commit is contained in:
parent
c4964e7c9b
commit
e37799a2a5
|
@ -165,10 +165,13 @@ export function main() {
|
|||
});
|
||||
}
|
||||
|
||||
// Android browser does not support calc(), see http://caniuse.com/#feat=calc
|
||||
if (!browserDetection.isAndroid) {
|
||||
it('should leave calc() unchanged', () => {
|
||||
var styleStr = 'a {height:calc(100% - 55px);}';
|
||||
var css = s(styleStr, 'a');
|
||||
expect(css).toEqual(styleStr);
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue