layout/reftests/w3c-css/submitted/css21/pagination/moz-css21-float-page-break-inside-avoid-5.html

changeset 0
6474c204b198
     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-5.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,34 @@
     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">
    1.11 +<style type="text/css">
    1.12 +@page { size:5in 3in; margin:0.5in; }
    1.13 +        html,body {
    1.14 +            color:black; background-color:white; font-size:16px; padding:0; margin:0;
    1.15 +        }
    1.16 +p { height: 0.5in; width: 1in; margin:0; background-color:blue; float:left; }
    1.17 +.test { float:left; clear:left; page-break-inside:avoid; width:3.3in; }
    1.18 +</style>
    1.19 +</head>
    1.20 +<body>
    1.21 +<br style="clear:both">
    1.22 +<div class="test">
    1.23 +<p>1</p><p>2</p><p>3</p>
    1.24 +<p>4</p><p>5</p><p>6</p>
    1.25 +</div>
    1.26 +<div class="test">
    1.27 +<p>1</p><p>2</p><p>3</p>
    1.28 +<p>4</p><p>5</p><p>6</p>
    1.29 +</div>
    1.30 +<div class="test">
    1.31 +<p>1</p><p>2</p><p>3</p>
    1.32 +<p>4</p><p>5</p><p>6</p>
    1.33 +</div>
    1.34 +
    1.35 +
    1.36 +</body>
    1.37 +</html>

mercurial