diff options
Diffstat (limited to '')
-rw-r--r-- | layout/reftests/abs-pos/multi-column-1.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/layout/reftests/abs-pos/multi-column-1.html b/layout/reftests/abs-pos/multi-column-1.html new file mode 100644 index 0000000000..3d711dde81 --- /dev/null +++ b/layout/reftests/abs-pos/multi-column-1.html @@ -0,0 +1,31 @@ +<!DOCTYPE HTML> +<html> +<head> +<style type="text/css"> +div { + color: #222; + padding: 10px; + border: 2px solid; + position:relative; + + width:10em; + column-count:2; + -webkit-column-count:2; +} + +h2, h3 {position:absolute; width:3em; background: #f00; color:#fff;} +h2 { top: 0; left: 0; } +h3 { bottom: 0; right: 0; } + +p, h2, h3 {margin:0;} +p { visibility: hidden; } +</style> +</head> +<body> +<div> +<h2>Test</h2> +<h3>Test</h3> +<p>XXX<br>XXXX<br>XXX<br>XXXX<br>XXX<br>XXXX<br>XXX<br>XXXX<br>XXX<br>XXXX<br> </p> +</div> +</body> +</html> |