summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-page/page-name-margin-001-ref.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/css-page/page-name-margin-001-ref.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/layout/reftests/css-page/page-name-margin-001-ref.html b/layout/reftests/css-page/page-name-margin-001-ref.html
new file mode 100644
index 0000000000..c438cbf858
--- /dev/null
+++ b/layout/reftests/css-page/page-name-margin-001-ref.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html class="reftest-paged">
+ <style>
+@page {
+ margin: 0;
+}
+.block {
+ width: 1cm;
+ height: 1cm;
+ border: 2px solid red;
+}
+ </style>
+ <body>
+ <div style="padding: 0; break-after: page">
+ <div class="block" style="border-color: lightblue"></div>
+ </div>
+ <div style="padding: 1cm; break-after: page">
+ <div class="block" style="border-color: pink"></div>
+ </div>
+ <div style="padding: 2cm">
+ <div class="block" style="border-color: gray"></div>
+ </div>
+ </body>
+</html>