1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/w3c-css/submitted/multicol3/moz-multicol3-column-balancing-break-inside-avoid-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,49 @@ 1.4 +<!DOCTYPE HTML> 1.5 +<html><head> 1.6 + <title>CSS Test: Balancing Overflow, page-break-inside:avoid</title> 1.7 + <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=685012"> 1.8 + <link rel="help" href="http://www.w3.org/TR/CSS21/page.html#propdef-page-break-inside"> 1.9 + <meta name="flags" content="paged"> 1.10 + <meta charset="utf-8"> 1.11 + <style type="text/css"> 1.12 +@page { size:5in 3in; margin:0.5in; } 1.13 + 1.14 + html,body { 1.15 + color:black; background-color:white; font-size:16px; padding:0; margin:0; 1.16 + } 1.17 + 1.18 + .colset { 1.19 + -moz-column-count: 3; 1.20 + -moz-column-gap: 0; 1.21 + border: solid silver; 1.22 + width: 9em; 1.23 + } 1.24 + p { margin: 0; page-break-inside:avoid; } 1.25 + .short { height: 5px; page-break-inside:avoid; } 1.26 + .short p { page-break-inside:auto; } 1.27 + 1.28 + </style> 1.29 +</head> 1.30 +<body> 1.31 + 1.32 +<div class="colset"> 1.33 +<p>one</p> 1.34 +<p>two three</p> 1.35 +<p>four five</p> 1.36 +</div> 1.37 + 1.38 +<div class="colset"> 1.39 + <p>one two three four five</p> 1.40 +</div> 1.41 + 1.42 +<div class="colset"> 1.43 +<p>one two</p> 1.44 +<p>three four five</p> 1.45 +</div> 1.46 + 1.47 +<div class="colset"> 1.48 + <div class="short"><p>one two three four five</p></div> 1.49 +</div> 1.50 + 1.51 +</body> 1.52 +</html>