blob: 8ef9328c67f1fb6f5a2b068b1eaee0ccf00d7dbc [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">
function runTests()
{
if (window.testRunner)
testRunner.dumpAsText();
var pre = document.querySelector('pre');
pre.style.backgroundPosition = 'left calc(10% + 20px) bottom calc(30px + 40%)';
pre.innerText += getComputedStyle(pre).backgroundPosition;
}
</script>
</head>
<body onload="runTests();">
<p>Test calling on background-position property specified with calc on computed styles.</p>
<pre id="console"></pre>
</body>
</html>