blob: e4819847a3f8127e221a5ec28e203150bcbcf0fc [file] [log] [blame]
<!DOCTYPE html><!-- webkit-test-runner [ experimental:WebAnimationsCSSIntegrationEnabled=false ] -->
This tests transitioning of elements containing a calc expression. The test passes if it does not crash.
<div>
<div style="width: calc(-100px + 100%);"></div>
</div>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
function boom() {
head = document.getElementsByTagName("head")[0];
var style = document.createElement("style");
style.innerHTML=":last-child {-webkit-transition-duration:.1s;}";
head.appendChild(style);
if (window.testRunner)
testRunner.notifyDone();
}
setTimeout(boom, 10);
</script>