1 <div style=
"background-position: 25% 75%">
2 <div id=
"target" style=
"background-position: inherit;"></div>
5 This tests that
<tt>background-position: inherit
</tt> is applied correctly.
10 if (window
.testRunner
)
11 testRunner
.dumpAsText();
13 var targetBackgroundPosition
= getComputedStyle(document
.getElementById("target")).backgroundPosition
,cssText
;
15 document
.getElementById("result").innerText
= targetBackgroundPosition
== "25% 75%" ? "PASS" : "FAIL: The inherited value was " + targetBackgroundPosition
;