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: Font-size and 'display: table-row-group' elements</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#propdef-font-size">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-size-props">
8 <meta name="flags" content="ahem">
9 <meta name="assert" content="The 'font-size' property applies to 'display: table-row-group' elements.">
10 <style type="text/css">
11 #div1
12 {
13 background: orange;
14 height: 1in;
15 width: 1in;
16 }
17 div
18 {
19 font-family: Ahem;
20 line-height: 1em;
21 }
22 #table
23 {
24 display: table;
25 }
26 #test
27 {
28 display: table-row-group;
29 font-size: 1in;
30 }
31 #row
32 {
33 display: table-row;
34 }
35 #cell
36 {
37 display: table-cell;
38 }
39 </style>
40 </head>
41 <body>
42 <p>Test passes if the boxes below are the same size.</p>
43 <div id="div1"></div>
44 <div id="table">
45 <div id="test">
46 <div id="row">
47 <div id="cell">X</div>
48 </div>
49 </div>
50 </div>
51 </body>
52 </html>