summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-page/page-name-fixed-pos-001-print.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-page/page-name-fixed-pos-001-print.html')
-rw-r--r--testing/web-platform/tests/css/css-page/page-name-fixed-pos-001-print.html24
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-page/page-name-fixed-pos-001-print.html b/testing/web-platform/tests/css/css-page/page-name-fixed-pos-001-print.html
new file mode 100644
index 0000000000..495c66ce2e
--- /dev/null
+++ b/testing/web-platform/tests/css/css-page/page-name-fixed-pos-001-print.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<html>
+ <link rel="match" href="page-name-fixed-pos-001-print-ref.html"/>
+ <link rel="help" href="https://www.w3.org/TR/css-page-3/#using-named-pages"/>
+ <style>
+div {
+ width: 1in;
+ height: 1in;
+ border: 1px solid black;
+}
+.fixed {
+ position: fixed;
+ display: flex;
+ left: 0.5in;
+ top: 0.5in;
+ border-color: blue;
+}
+ </style>
+ <body>
+ <div class="fixed">fixed</div>
+ <div style="page: a">a</div>
+ <div class="page: b">b</div>
+ </body>
+</html>