blob: e3f03ae9f60e8803d4fd929d323d15efe98d581b [file] [log] [blame]
<!DOCTYPE html>
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>