background-image-print-ref.html (1006B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1769429"> 6 <style> 7 :root { 8 print-color-adjust: exact; 9 } 10 body { 11 font-family: century; 12 font-weight: bold; 13 color: black; 14 print-color-adjust: exact; 15 } 16 .tile { 17 width: 16px; 18 height: 16px; 19 background-repeat: no-repeat; 20 } 21 .white { background: white } 22 .magenta { background: magenta } 23 .lime { background: lime } 24 .cyan { background: cyan } 25 .blue { background: blue } 26 .red { background: red } 27 .green { background: green } 28 .gray { background: gray } 29 .yellow { background: yellow } 30 </style> 31 </head> 32 <body> 33 <div class="tile white"></div> 34 <div class="tile magenta"></div> 35 <div class="tile lime"></div> 36 <div class="tile cyan"></div> 37 <div class="tile blue"></div> 38 <div class="tile red"></div> 39 <div class="tile green"></div> 40 <div class="tile gray"></div> 41 <div class="tile yellow"></div> 42 </body> 43 </html>