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

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: Update test and cleanup the patch Created 7 years, 2 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
« no previous file with comments | « no previous file | LayoutTests/fast/css/getComputedStyle/getComputedStyle-background-position-calc-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | LayoutTests/fast/css/getComputedStyle/getComputedStyle-background-position-calc-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698