|
1 <!DOCTYPE HTML> |
|
2 <html> |
|
3 <head> |
|
4 <title>CSS Reference: Test for max-height:calc() on blocks</title> |
|
5 <link rel="author" title="L. David Baron" href="http://dbaron.org/"> |
|
6 <meta name="flags" content=""> |
|
7 <style type="text/css"> |
|
8 body { margin: 0 } |
|
9 body > div { float: left; width: 1px; background: blue; } |
|
10 </style> |
|
11 </head> |
|
12 <body> |
|
13 |
|
14 <!-- tests with a fixed-height container --> |
|
15 <div style="height: 50px"></div> |
|
16 <div style="height: 50px"></div> |
|
17 <div style="height: 75px"></div> |
|
18 <div style="height: 45px"></div> |
|
19 <div style="height: 40px"></div> |
|
20 <div style="height: 30px"></div> |
|
21 |
|
22 <!-- tests with an auto-height container --> |
|
23 <div style="height: 50px"></div> |
|
24 <div style="height: 300px"></div> |
|
25 <div style="height: 300px"></div> |
|
26 <div style="height: 300px"></div> |
|
27 <div style="height: 300px"></div> |
|
28 <div style="height: 300px"></div> |
|
29 </body> |
|
30 </html> |