chore: add test showing CSS calc() failure
This commit is contained in:
parent
491e1fdd2c
commit
77604b8b18
@ -164,5 +164,11 @@ export function main() {
|
|||||||
expect(css).toEqual(styleStr);
|
expect(css).toEqual(styleStr);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
it('should leave calc() unchanged', () => {
|
||||||
|
var styleStr = 'a {height:calc(100% - 55px);}';
|
||||||
|
var css = s(styleStr, 'a');
|
||||||
|
expect(css).toEqual(styleStr);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user