13 lines
535 B
HTML
13 lines
535 B
HTML
<p>
|
|
Test that the CSS parser accepts <tt>caps-lock-indicator</tt> as a <tt>-webkit-appearance</tt> value.
|
|
</p>
|
|
<p id="result">FAIL: Test did not run</p>
|
|
<div id="target" style="display: none; -webkit-appearance: caps-lock-indicator;"></div>
|
|
<script>
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
|
|
var appearance = document.getElementById("target").style.webkitAppearance;
|
|
document.getElementById("result").innerText = appearance === "caps-lock-indicator" ? "PASS" : "FAIL: parsed as " + appearance;
|
|
</script>
|