Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1116)

Side by Side Diff: LayoutTests/fast/css/getComputedStyle/getComputedStyle-background-position-calc.html

Issue 23651010: Fix getComputedStyle background-position to output calc values (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script type="text/javascript">
5
6 function runTests()
7 {
8 if (window.testRunner)
9 testRunner.dumpAsText();
10 var pre = document.querySelector('pre');
11 pre.style.backgroundPosition = 'left calc(10% + 20px) bottom calc(30 px + 40%)';
12 pre.innerText += getComputedStyle(pre).backgroundPosition;
13 }
14 </script>
15 </head>
16 <body onload="runTests();">
17 <p>Test calling on background-position property specified with calc on compu ted styles.</p>
18 <pre id="console"></pre>
19 </body>
20 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698