Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / textarea-scrollbar-height.html
blob99f53f5cbd0ff734abafa96b973903c25ea3406a
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <style type="text/css">
5 body {font:13px/1.22 arial;}
6 li {overflow:auto;}
7 </style>
9 <script>
10 if (window.testRunner)
11 testRunner.dumpAsText();
13 function checkForVerticalScrollbar() {
14 var actual_height = document.getElementById('list_item').clientHeight;
15 var scroll_height = document.getElementById('list_item').scrollHeight;
16 if (actual_height == scroll_height )
17 document.getElementById('sourceViewDiv').innerHTML=' This test: PASSED!';
20 </script>
21 </head>
22 <body onload="checkForVerticalScrollbar()">
23 <p> <b> Vertical scrollbar should not be created when there is no overflow. </b> </p>
24 <p> This test passes if the list item below, bordered in blue, has no vertical scrollbar. </p>
25 <ul >
26 <li id="list_item" style="border:1px solid blue;">
27 list item
28 </li>
29 </ul>
30 <div id='sourceViewDiv'>This test: FAILED</div>
31 </body>
32 </html>