summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-page/subpixel-page-size-001-print.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-page/subpixel-page-size-001-print.html')
-rw-r--r--testing/web-platform/tests/css/css-page/subpixel-page-size-001-print.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-page/subpixel-page-size-001-print.html b/testing/web-platform/tests/css/css-page/subpixel-page-size-001-print.html
new file mode 100644
index 0000000000..9054cd4513
--- /dev/null
+++ b/testing/web-platform/tests/css/css-page/subpixel-page-size-001-print.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
+<link rel="help" href="https://www.w3.org/TR/css-page-3/#page-size-prop">
+<link rel="match" href="subpixel-page-size-001-print-ref.html">
+<meta name=reftest-pages content="2">
+<style>
+ body { margin: 0; }
+ @page {
+ size: 400px 123.9px;
+ margin: 0;
+ }
+</style>
+<div style="height:123.9px; background:red;">
+ This page should not be printed.
+</div>
+There should be no red.