From 73620e88fd9f44f93281eabe87e1c5dbb4f5a91c Mon Sep 17 00:00:00 2001 From: Pixel998 Date: Tue, 4 Aug 2026 22:04:47 +0300 Subject: [PATCH] test: cover `@page` margin properties --- tests/rules/no-invalid-at-rules.test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/rules/no-invalid-at-rules.test.js b/tests/rules/no-invalid-at-rules.test.js index 2a87fbd6..ea5e8e02 100644 --- a/tests/rules/no-invalid-at-rules.test.js +++ b/tests/rules/no-invalid-at-rules.test.js @@ -42,6 +42,7 @@ ruleTester.run("no-invalid-at-rules", rule, { ".foo { @starting-style { opacity: 0; transform: translateY(-10px); } }", ".foo { @media (min-width: 768px) { color: red; @media (orientation: landscape) { background: blue; @supports (display: flex) { display: flex; } } } }", "@property --my-color { syntax: ''; inherits: false; initial-value: #c0ffee; }", + "@page { size: landscape; margin: 1in; margin-top: 1in; margin-right: 1in; margin-bottom: 1in; margin-left: 1in; }", "@media (max-width: 800px) { .foo { color: red; } }", ".foo { @media (max-width: 800px) { & .bar { color: red; } &:hover { background: blue; } } }", "@layer base { .foo { color: red; } }",