Commit 9dc74ec1 authored by mitz@apple.com's avatar mitz@apple.com

Reviewed by Adele.

        - add test for r30823 (background-position: inherit)

        * fast/css/background-position-inherit-expected.txt: Added.
        * fast/css/background-position-inherit.html: Added.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30841 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 2060803d
2008-03-06 Dan Bernstein <mitz@apple.com>
Reviewed by Adele.
- add test for r30823 (background-position: inherit)
* fast/css/background-position-inherit-expected.txt: Added.
* fast/css/background-position-inherit.html: Added.
2008-03-05 Justin Garcia <justin.garcia@apple.com>
Reviewed by Darin.
This tests that background-position: inherit is applied correctly.
PASS
<div style="background-position: 25% 75%">
<div id="target" style="background-position: inherit;"></div>
</div>
<p>
This tests that <tt>background-position: inherit</tt> is applied correctly.
</p>
<p id="result">
</p>
<script>
if (window.layoutTestController)
layoutTestController.dumpAsText();
var targetBackgroundPosition = getComputedStyle(document.getElementById("target")).backgroundPosition,cssText;
document.getElementById("result").innerText = targetBackgroundPosition == "25% 75%" ? "PASS" : "FAIL: The inherited value was " + targetBackgroundPosition;
</script>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment