Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css2.1 / 20110323 / overflow-applies-to-003.htm
blob9bfe998aabe8dadfffb7f1db3fef3e2eb9843c4e
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-footer-group'</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 not apply to elements with 'display' set to 'table-footer-group'.">
11 <style type="text/css">
12 #test
14 display: table-footer-group;
15 overflow: hidden;
17 #table
19 border: 5px solid transparent;
20 color: white;
21 display: table;
22 font: 20px/1em Ahem;
23 height: 5em;
24 table-layout: fixed;
25 width: 5em;
27 #row
29 display: table-row;
31 #cell
33 display: table-cell;
34 white-space: nowrap;
36 #span2
38 color: green;
40 </style>
41 </head>
42 <body>
43 <p>Test passes if there is a green box below.</p>
44 <div id="table">
45 <div id="test">
46 <div id="row">
47 <div id="cell"><span>XXXXX</span><span id="span2">XXXXX</span></div>
48 </div>
49 </div>
50 </div>
51 </body>
52 </html>