diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-break/flexbox/multi-line-row-flex-fragmentation-064-print-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-break/flexbox/multi-line-row-flex-fragmentation-064-print-ref.html | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-break/flexbox/multi-line-row-flex-fragmentation-064-print-ref.html b/testing/web-platform/tests/css/css-break/flexbox/multi-line-row-flex-fragmentation-064-print-ref.html new file mode 100644 index 0000000000..bc659553ed --- /dev/null +++ b/testing/web-platform/tests/css/css-break/flexbox/multi-line-row-flex-fragmentation-064-print-ref.html @@ -0,0 +1,46 @@ +<!DOCTYPE html> +<html> + <meta charset="utf-8"> + <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com"> + <link rel="author" title="Mozilla" href="https://www.mozilla.org/"> + + <style> + @page { size: 5in 3in; margin: 0.5in; } + body { margin: 0; } + + .flexbox { + border: 0.25in solid black; + font-size: 0.25in; + } + .item { + position: relative; + contain: size; + box-sizing: border-box; + border: 4px solid purple; + width: 50%; + height: 0.5in; + } + .gap { + height: 0.25in; + } + </style> + + <!-- This div makes the flexbox not at the top of first page. --> + <div style="height: 0.25in; background: gray;"></div> + + <div class="flexbox"> + <div class="item" style="width: 100%;">1-1</div> + <div class="gap"></div> + <div class="item">2-1</div> + <div class="gap"></div> + <div class="item" style="left: 1.75in;">2-2</div> + <div class="gap"></div> + <div class="item" style="left: 1.75in;">3-2</div> + <div class="gap" style="height: 1.25in;"></div> + <div class="item">3-1</div> + <div class="gap" style="height: 0.75in;"></div> + <div class="item">4-1</div> + </div> + + <div style="height: 0.25in; background: gray;"></div> +</html> |