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

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 <!DOCTYPE html>
michael@0 2 <html lang="en-US" class="reftest-print">
michael@0 3 <head>
michael@0 4 <title>CSS Test: CSS 2.1 page-break-inside:avoid</title>
michael@0 5 <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=685012">
michael@0 6 <link rel="help" href="http://www.w3.org/TR/CSS21/page.html#propdef-page-break-inside">
michael@0 7 <meta name="flags" content="paged">
michael@0 8 <style type="text/css">
michael@0 9 @page { size:5in 3in; margin:0.5in; }
michael@0 10 p { height: 1in; width: 1in; margin:0; background-color:blue; }
michael@0 11 .test { page-break-inside:avoid; }
michael@0 12 </style>
michael@0 13 </head>
michael@0 14 <body>
michael@0 15 <div class="test"><p>1</p></div>
michael@0 16 <div><div><div class="test"><p>2</p><p>3</p></div></div></div>
michael@0 17
michael@0 18
michael@0 19 </body>
michael@0 20 </html>

mercurial