Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/rendering/the-details-element/details-page-break-after-1-print.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<!-- Any copyright is dedicated to the Public Domain.
<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 style="page-break-after: always;">Summary</summary>
<p>This is the details.</p>
</details>
</body>
</html>