OLD | NEW |
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/st
rict.dtd"> | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/st
rict.dtd"> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <title>CSS Test: Block-level non-replaced elements in normal flow when '
overflow' does not compute to 'visible' and 'height' is 'auto'</title> | 4 <title>CSS Test: Block-level non-replaced elements in normal flow when '
overflow' does not compute to 'visible' and 'height' is 'auto'</title> |
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/"> | 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/"> |
6 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#normal-bl
ock"> | 6 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#normal-bl
ock"> |
7 <meta name="flags" content=""> | 7 <meta name="flags" content=""> |
8 <meta name="assert" content="The 'height' is the 'height' of the child b
lock box when a block-level non-replaced element is in normal flow and 'overflow
' does not compute to 'visible'."> | 8 <meta name="assert" content="The 'height' is the 'height' of the child b
lock box when a block-level non-replaced element is in normal flow and 'overflow
' does not compute to 'visible'."> |
9 <style type="text/css"> | 9 <style type="text/css"> |
10 html, body | 10 html, body |
(...skipping 16 matching lines...) Expand all Loading... |
27 #div2 | 27 #div2 |
28 { | 28 { |
29 background: orange; | 29 background: orange; |
30 height: 2in; | 30 height: 2in; |
31 left: 1in; | 31 left: 1in; |
32 position: absolute; | 32 position: absolute; |
33 top: 0; | 33 top: 0; |
34 } | 34 } |
35 </style> | 35 </style> |
36 </head> | 36 </head> |
| 37 <script> |
| 38 if (window.internals) { |
| 39 window.internals.settings.setForceCompositingMode(true); |
| 40 } |
| 41 </script> |
37 <body> | 42 <body> |
38 <p>Test passes if the blue and orange boxes below are the same height.</
p> | 43 <p>Test passes if the blue and orange boxes below are the same height.</
p> |
39 <div> | 44 <div> |
40 <div id="div1"> | 45 <div id="div1"> |
41 <div></div> | 46 <div></div> |
42 </div> | 47 </div> |
43 <div id="div2"></div> | 48 <div id="div2"></div> |
44 </div> | 49 </div> |
45 </body> | 50 </body> |
46 </html> | 51 </html> |
OLD | NEW |