This test passes if it doesn't crash
<div style="-webkit-line-clamp:calc(2*3)"></div>
<div style="-webkit-line-clamp:calc(2%)"></div>
<div style="-webkit-line-clamp:foo()"></div>

<script>
window.testRunner && testRunner.dumpAsText();
</script>
