blob: deb454ec09b86a4ab303b87e175b233ab81ef3f3 [file] [log] [blame]
<html>
<head>
<meta description="A negative border width property should not be valid" feature="DOMStyle" />
<title>Negative border width property</title>
<style type="text/css">
#testDiv
{
border: solid black 10px;
}
</style>
<script>
if (window.testRunner)
window.testRunner.dumpAsText();
</script>
</head>
<body>
<div id="testDiv" style="border-top-width: -10px;">This div should have a 10px border</div>
<div id="testresult">Fail</div>
<script type="text/javascript">
if(testDiv.style.borderTopWidth == "")
{
document.getElementById("testresult").innerHTML = "Pass";
}
</script>
</body>
</html>