flexbox-single-column-vertical-rl-4.html (1611B)
1 <!DOCTYPE html> 2 <!-- Any copyright is dedicated to the Public Domain. 3 http://creativecommons.org/publicdomain/zero/1.0/ --> 4 <html class="reftest-paged"> 5 <meta charset="utf-8"> 6 <title>CSS Flexbox Test: Fragmentation of nested block-size:auto flex containers with a tall flex item in print context, not top-of-page</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 <link rel="help" href="https://drafts.csswg.org/css-flexbox-1/#pagination"> 10 <link rel="match" href="flexbox-single-column-vertical-rl-4-ref.html"> 11 <meta name="assert" content="This test verifies fragmentation of a tall flex item in nested block-size:auto single-line column flex containers in print context."> 12 13 <style> 14 html { 15 writing-mode: vertical-rl; 16 } 17 @page { size:5in 3in; margin:0.5in; } 18 19 html, body { 20 font-size: 12pt; margin: 0; 21 } 22 23 .flexContainer { 24 display: flex; 25 flex-wrap: nowrap; 26 flex-direction: column; 27 background: gray; 28 border: 0.25in solid lightgray; 29 } 30 article { 31 background: yellow; 32 block-size: 2in; 33 } 34 </style> 35 36 <body> 37 <div style="block-size: 0.25in; background: lightblue"></div> 38 <div class="flexContainer"> 39 <div class="flexContainer"> 40 <div class="flexContainer"> 41 <!-- <article> is expected to have 1 inch in the first page and 1 inch 42 in the second page. --> 43 <article></article> 44 </div> 45 </div> 46 </div> 47 <div style="block-size: 0.25in; background: lightblue"></div> 48 </body> 49 </html>