layout/reftests/w3c-css/submitted/css21/pagination/moz-css21-float-page-break-inside-avoid-9.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-9.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,32 @@
     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 +.ib {
    1.24 +  display:inline-block;
    1.25 +  height:100%;
    1.26 +  width:1px;
    1.27 +}
    1.28 +</style>
    1.29 +</head>
    1.30 +<body>
    1.31 +<br style="clear:both">
    1.32 +<div class="test">1</div>
    1.33 +<div style="height:60%;clear:both;">A<div class="test" style="height:100%;">2</div><span>X<span class="ib"></span><br>Y</span></div>
    1.34 +</body>
    1.35 +</html>

mercurial