inapplicable-properties-print.html (935B)
1 <!DOCTYPE html> 2 <link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org"> 3 <link rel="help" href="https://drafts.csswg.org/css-page-3/#margin-property-list"> 4 <meta name="assert" content="Test that inapplicable properties are ignored."> 5 <link rel="match" href="inapplicable-properties-print-ref.html"> 6 <style> 7 :root { 8 print-color-adjust: exact; 9 } 10 @page { 11 size: 400px; 12 margin: 100px; 13 14 @top-left-corner { 15 text-align: left; 16 vertical-align: top; 17 white-space: pre-wrap; 18 content: "Line 1\aLine 2"; 19 position: relative; 20 display: none; 21 columns: 2; 22 column-rule: solid red; 23 orphans: 1; 24 widows: 1; 25 rotate: 45deg; 26 top: 50px; 27 left: 90px; 28 width: 100px; 29 height:100px; 30 background: green; 31 } 32 } 33 body { 34 margin: 0; 35 } 36 </style> 37 In the top left corner there should be a green square with two lines inside.