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