break-nested-float-in-flex-item-print-ref.html (735B)
1 <!DOCTYPE html> 2 <!-- Any copyright is dedicated to the Public Domain. 3 http://creativecommons.org/publicdomain/zero/1.0/ --> 4 <html> 5 <meta charset="utf-8"> 6 <title>CSS Flexbox Test Reference: Test for pagination of a nested float element in a flex item in a printing context</title> 7 <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> 8 <link rel="author" title="Mozilla" href="http://www.mozilla.org/"> 9 10 <style> 11 @page { size:5in 3in; margin:0.5in; } 12 13 :root { 14 print-color-adjust: exact; 15 } 16 17 html, body { 18 margin: 0; 19 } 20 #target { 21 background: green; 22 width: 2in; 23 height: 6in; /* Expected to cover 3 pages. */ 24 } 25 </style> 26 27 <body> 28 <div id="target"></div> 29 </body> 30 </html>