We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4964e7 commit e37799aCopy full SHA for e37799a
modules/angular2/test/core/compiler/shadow_css_spec.ts
@@ -165,10 +165,13 @@ export function main() {
165
});
166
}
167
168
- it('should leave calc() unchanged', () => {
169
- var styleStr = 'a {height:calc(100% - 55px);}';
170
- var css = s(styleStr, 'a');
171
- expect(css).toEqual(styleStr);
172
- });
+ // 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');
173
+ expect(css).toEqual(styleStr);
174
+ });
175
+ }
176
177
0 commit comments