Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css2.1 / 20110323 / overflow-applies-to-009.htm
blobe514c5e644b97b82c972546be9f7d74f1a52bcf7
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: overflow applied to elements with 'display' set to 'block'</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/visufx.html#propdef-overflow">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/visufx.html#overflow">
8 <meta name="flags" content="ahem">
9 <script src="../../resources/ahem.js"></script>
10 <meta name="assert" content="The 'overflow' property applies to elements with 'display' set to 'block'.">
11 <style type="text/css">
12 span
14 border: 5px solid transparent;
15 color: white;
16 display: block;
17 font: 20px/1em Ahem;
18 height: 5em;
19 overflow: hidden;
20 width: 5em;
22 #test
24 color: red;
26 </style>
27 </head>
28 <body>
29 <p>Test passes if there is no red visible on the page.</p>
30 <div>
31 <span><b>XXXXX</b><b id="test">XXXXX</b></span>
32 </div>
33 </body>
34 </html>