blob: 5870d97f6213daf8b44ce4a95cd4f61bdafcb463 [file] [log] [blame]
<!DOCTYPE html>
<style>
div {
-webkit-transition: -webkit-transform 50ms;
}
#div2 {
-webkit-transform: translate(calc(10% + 10px));
}
</style>
<body>
<p>Bug <a href="https://crbug.com/261474">http://crbug.com/261474</a>: Dereference null pointer crash in Length::decrementCalculatedRef()</p>
<p>The test passes if it does not crash.</p>
<div id="div1"></div>
<div id="div2"></div>
</body>
<script>
if (window.testRunner)
testRunner.dumpAsText();
document.getElementById("div1").style.webkitTransform = "translate(calc(10% + 20px))";
document.getElementById("div2").style.webkitTransform = "none";
</script>