blob: cc083232617b588364ca4101dabd919610ca90aa [file] [log] [blame]
<script>
function test()
{
if (window.layoutTestController)
layoutTestController.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>