Index: LayoutTests/fast/css/getComputedStyle/getComputedStyle-background-position-calc.html |
diff --git a/LayoutTests/fast/css/getComputedStyle/getComputedStyle-background-position-calc.html b/LayoutTests/fast/css/getComputedStyle/getComputedStyle-background-position-calc.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8ef9328c67f1fb6f5a2b068b1eaee0ccf00d7dbc |
--- /dev/null |
+++ b/LayoutTests/fast/css/getComputedStyle/getComputedStyle-background-position-calc.html |
@@ -0,0 +1,20 @@ |
+<!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> |