summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-page/page-margin-negative-print.tentative.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-page/page-margin-negative-print.tentative.html')
-rw-r--r--testing/web-platform/tests/css/css-page/page-margin-negative-print.tentative.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-page/page-margin-negative-print.tentative.html b/testing/web-platform/tests/css/css-page/page-margin-negative-print.tentative.html
new file mode 100644
index 0000000000..205a13f7a5
--- /dev/null
+++ b/testing/web-platform/tests/css/css-page/page-margin-negative-print.tentative.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
+<link rel="help" href="https://drafts.csswg.org/css-page-3/#page-properties">
+<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/8508">
+<link rel="match" href="page-margin-negative-print-ref.tentative.html">
+<style>
+ @page {
+ size: 300px;
+ margin: -20px;
+ }
+ body {
+ margin: 0;
+ background: yellow;
+ }
+ .fullpager {
+ width: 300px;
+ height: 300px;
+ border: 20px solid red;
+ background: green;
+ }
+</style>
+<div class="fullpager">
+ Green background, no red / yellow.
+</div>