13490906e45faa0dd3501f1d1ca4c662ba62c981
[WebKit.git] / LayoutTests / fast / css / viewport-vmin-border.html
1 <!DOCTYPE html>
2 <html>
3     <head>
4         <script src="../../resources/js-test-pre.js"></script>
5         <script>
6             function runTest() {
7                 description('Tests that vmax unit works for border-width property');
8                                 
9                 shouldBeTrue("document.getElementById('borderDiv').offsetHeight > 100");
10                 isSuccessfullyParsed();
11             }
12         </script>
13         <style>
14             #borderDiv{
15                 width: 100px;
16                 height: 100px;
17                 background: green;
18                 border: 5vmin solid red;
19             }
20         </style>
21     </head>
22     <body onload="runTest()">
23         <div id="borderDiv"></div>
24     </body>
25 </html>