Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css2.1 / 20110323 / overflow-applies-to-007.htm
blob2774e247446b01a46cc740928b7dcf9eccf0990e
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 'table-cell'</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 'table-cell'.">
11 <style type="text/css">
12 #table
14 border: 5px solid transparent;
15 color: white;
16 display: table;
17 font: 20px/1em Ahem;
18 height: 5em;
19 table-layout: fixed;
20 width: 5em;
22 #row
24 display: table-row;
26 #cell
28 display: table-cell;
29 overflow: hidden;
30 white-space: nowrap;
32 #span2
34 color: red;
36 </style>
37 </head>
38 <body>
39 <p>Test passes if there is no red visible on the page.</p>
40 <div id="table">
41 <div id="row">
42 <div id="cell"><span>XXXXX</span><span id="span2">XXXXX</span></div>
43 </div>
44 </div>
45 </body>
46 </html>