summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/html/rendering/the-details-element/details-page-break-before-2-print.html
blob: 2f3d12bbe3b45b1495be4b658225de87898b4008 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!DOCTYPE html>
<!-- Any copyright is dedicated to the Public Domain.
   - http://creativecommons.org/publicdomain/zero/1.0/ -->

<html>
  <link rel="match" href="details-two-pages-print-ref.html">
  <link rel="help" href="https://html.spec.whatwg.org/multipage/rendering.html#the-details-and-summary-elements">
  <style>
  summary {
    /* Hide the triangle for comparing with div in reftest. */
    list-style-type: none;
  }
  </style>
  <body>
    <details open>
      <summary>Summary<div style="page-break-before: always;"></div></summary>
      <p>This is the details.</p>
    </details>
  </body>
</html>