blob: 1fe2d4217d7093c560b4592ccf23bc7aa5dc584d [file] [log] [blame]
<script>
function test()
{
if (window.testRunner)
testRunner.dumpAsText();
var radio = document.getElementById("radio");
var padding = getComputedStyle(radio, "").getPropertyValue("padding-left");
if (padding == "0px")
document.getElementById("result").innerHTML = "PASS";
else
document.getElementById("result").innerHTML = "FAIL: padding should be 0px but is " + padding;
}
</script>
<body onload="test()">
<p>This test checks the padding for radio buttons with no theme. This was wrong at one point because
of a typo in the html4.css file.</p>
<p id="result">FAIL</p>
<input id="radio" type="radio" style="-webkit-appearance:none">
</body>