tizen beta release
[framework/web/webkit-efl.git] / LayoutTests / fast / css / background-position-inherit.html
1 <div style="background-position: 25% 75%">
2     <div id="target" style="background-position: inherit;"></div>
3 </div>
4 <p>
5     This tests that <tt>background-position: inherit</tt> is applied correctly.
6 </p>
7 <p id="result">
8 </p>
9 <script>
10     if (window.layoutTestController)
11         layoutTestController.dumpAsText();
12
13     var targetBackgroundPosition = getComputedStyle(document.getElementById("target")).backgroundPosition,cssText;
14
15     document.getElementById("result").innerText = targetBackgroundPosition == "25% 75%" ? "PASS" : "FAIL: The inherited value was " + targetBackgroundPosition;
16 </script>