Part 2 - Add a test for a :first @page rules when the first page doesn't have a page name set.
This situation was also tested by some of the page-name wpt that were enabled
in part 1.
Differential Revision: https://phabricator.services.mozilla.com/D191768
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1859830
gecko-commit: fe6bbd79621a10ba369818f9a8d60ce1bdd133a1
gecko-reviewers: dholbert
diff --git a/css/css-page/pseudo-first-margin-004-print.html b/css/css-page/pseudo-first-margin-004-print.html
new file mode 100644
index 0000000..34183e3
--- /dev/null
+++ b/css/css-page/pseudo-first-margin-004-print.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+ <link rel="match" href="pseudo-first-margin-print-ref.html"/>
+ <link rel="help" href="https://www.w3.org/TR/css-page-3/#first-pseudo"/>
+ <style>
+@page :first {
+ margin: 1cm;
+}
+@page a {
+ margin: 0;
+}
+div {
+ width: 1cm;
+ height: 1cm;
+ border: 2px solid red;
+}
+ </style>
+ <body>
+ <div style="border-color: lightblue"></div>
+ <div style="page: a; border-color: pink"></div>
+ </body>
+</html>