testing/web-platform/tests/css/css-page/page-size-012-print.html
author Duncan McIntosh <dmcintosh@mozilla.com>
Wed, 09 Jul 2025 19:42:02 +0000 (7 hours ago)
changeset 795924 9ccc6a2267cbf69c621fec973bd28573c2a45a1f
parent 782105 f2ea3ae402ea8bfbc7665d9f336738763653f837
permissions -rw-r--r--
Bug 1966586 - Reuse other browser windows when opening _blank links in Taskbar Tabs windows. r=nrishel This doesn't affect other tab additions, nor does it stop the tab bar from appearing altogether. The idea is that _if_ another tab is somehow made, the user should see it; but we should not create new tabs if we can avoid it. This also adds tests for opening URIs in popups and taskbar tabs to make it less likely that this breaks in future. Differential Revision: https://phabricator.services.mozilla.com/D253726
<!DOCTYPE html>
<title>Test vertical writing mode with specified page size and logical margins.</title>
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-page-3/#at-page-rule">
<link rel="help" href="https://www.w3.org/TR/css-page-3/#typedef-page-size-page-size">
<link rel="match" href="page-size-012-print-ref.html">
<style>
  @page {
    size: 600px 400px;
    margin: 0;
    margin-inline-start: 50px;
  }
  @page :first {
    margin-inline-start: 0;
    margin-block-start: 50px;
  }
  :root {
    print-color-adjust: exact;
    writing-mode: vertical-rl;
  }
  body { margin: 0; }
</style>
<div style="background:yellow;">
  50px to the left of page box right edge.<br>
  Page widths larger than heights.<br>
</div>
<div style="break-before:page; background:yellow;">
  50px below the page box top edge.<br>
</div>