1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/w3c-css/submitted/css21/pagination/moz-css21-float-page-break-inside-avoid-7.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,27 @@ 1.4 +<!DOCTYPE html> 1.5 +<html lang="en-US" class="reftest-print"> 1.6 +<head> 1.7 + <title>CSS Test: CSS 2.1 page-break-inside:avoid</title> 1.8 + <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=685012"> 1.9 + <link rel="help" href="http://www.w3.org/TR/CSS21/page.html#propdef-page-break-inside"> 1.10 + <meta name="flags" content="paged"><style type="text/css"> 1.11 +@page { size:5in 3in; margin:0.5in; } 1.12 +html,body { 1.13 + color:black; background-color:white; font-size:16px; padding:0; margin:0; height:100%; 1.14 +} 1.15 + 1.16 +.test { 1.17 + page-break-inside:avoid; 1.18 + height:60%; 1.19 + float:left; 1.20 + clear:left; 1.21 + background-color:blue; 1.22 +} 1.23 +</style> 1.24 +</head> 1.25 +<body> 1.26 +<br style="clear:both"> 1.27 +<div class="test">1</div> 1.28 +<div class="test">2</div>X 1.29 +</body> 1.30 +</html>