Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / borders / negative-border-width.html
blob3328e4480d3faaee0939d06fd930f9192ccbec27
1 <html>
2 <head>
3 <meta description="A negative border width property should not be valid" feature="DOMStyle" />
4 <title>Negative border width property</title>
5 <style type="text/css">
6 #testDiv
8 border: solid black 10px;
11 </style>
12 <script>
13 if (window.testRunner)
14 window.testRunner.dumpAsText();
15 </script>
16 </head>
17 <body>
18 <div id="testDiv" style="border-top-width: -10px;">This div should have a 10px border</div>
19 <div id="testresult">Fail</div>
20 <script type="text/javascript">
21 if(testDiv.style.borderTopWidth == "")
23 document.getElementById("testresult").innerHTML = "Pass";
25 </script>
26 </body>
27 </html>