summaryrefslogtreecommitdiffstats
path: root/layout/reftests/pagination/fieldset-008-ref.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/pagination/fieldset-008-ref.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/layout/reftests/pagination/fieldset-008-ref.html b/layout/reftests/pagination/fieldset-008-ref.html
new file mode 100644
index 0000000000..31db8e9162
--- /dev/null
+++ b/layout/reftests/pagination/fieldset-008-ref.html
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html class="reftest-paged">
+<head>
+ <title>Reference: fieldset fragmentation</title>
+ <link rel="author" title="Mats Palmgren" href="https://bugzilla.mozilla.org/show_bug.cgi?id=471015">
+ <meta name="flags" content="paged">
+ <style>
+@page { size:5in 3in; margin:0.5in; }
+html,body {
+ color:black; background-color:white; font:0.5in/1 monospace; padding:0; margin:0;
+}
+fieldset {
+ padding: 0.5em;
+ margin: 1em;
+ border: 1em solid black;
+ border-bottom-width: 0;
+}
+legend {
+ padding: 0;
+ margin: 0;
+ width: 0;
+ height: 0;
+}
+p {
+ margin: 1em;
+ margin-top: 0;
+ padding: 0;
+ border: 1em solid black;
+ border-top-width: 0;
+}
+.pb { page-break-after: always; }
+</style>
+</head>
+<body>
+ <fieldset class="pb"><legend></legend>A</fieldset>
+ <p></p>
+ <span>AFTER</span>
+</body>
+</html>