1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/box-properties/max-height-1-ref.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,46 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 + <head> 1.7 + <style> 1.8 + div:empty { background: yellow; border: 1px solid black; 1.9 + padding: 0; margin: 0; } 1.10 + body > div:not(:empty) { height: 20px} 1.11 + </style> 1.12 + </head> 1.13 + <body> 1.14 + <div style="height: 10px; max-height: 15px;"></div> 1.15 + <div style="height: 10px; max-height: 5px;"></div> 1.16 + <div style="height: 10px; max-height: 5px; min-height: 2px"></div> 1.17 + <div style="height: 10px; max-height: 5px; min-height: 15px"></div> 1.18 + <div style="max-height: 5px; min-height: 15px"></div> 1.19 + <div> 1.20 + <div style="height: 50%;"></div> 1.21 + </div> 1.22 + <div> 1.23 + <div style="height: 50%; max-height: 15px;"></div> 1.24 + </div> 1.25 + <div> 1.26 + <div style="height: 50%; max-height: 5px;"></div> 1.27 + </div> 1.28 + <div> 1.29 + <div style="height: 50%; max-height: 75%;"></div> 1.30 + </div> 1.31 + <div> 1.32 + <div style="height: 50%; max-height: 10%;"></div> 1.33 + </div> 1.34 + <div style="padding: 10px 0;"> 1.35 + <div style="height: 50%; max-height: 75%;"></div> 1.36 + </div> 1.37 + <div style="padding: 10px 0;"> 1.38 + <div style="height: 50%; max-height: 10%;"></div> 1.39 + </div> 1.40 + <div style="border-width: 10px 0; border-style: solid; 1.41 + border-color: transparent;"> 1.42 + <div style="height: 50%; max-height: 75%;"></div> 1.43 + </div> 1.44 + <div style="border-width: 10px 0; border-style: solid; 1.45 + border-color: transparent;"> 1.46 + <div style="height: 50%; max-height: 10%;"></div> 1.47 + </div> 1.48 + </body> 1.49 +</html>