Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / getComputedStyle / getComputedStyle-background-position-calc.html
blob8ef9328c67f1fb6f5a2b068b1eaee0ccf00d7dbc
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script type="text/javascript">
6 function runTests()
8 if (window.testRunner)
9 testRunner.dumpAsText();
10 var pre = document.querySelector('pre');
11 pre.style.backgroundPosition = 'left calc(10% + 20px) bottom calc(30px + 40%)';
12 pre.innerText += getComputedStyle(pre).backgroundPosition;
14 </script>
15 </head>
16 <body onload="runTests();">
17 <p>Test calling on background-position property specified with calc on computed styles.</p>
18 <pre id="console"></pre>
19 </body>
20 </html>