table-background-print.html (1127B)
1 <!DOCTYPE HTML> 2 <html> 3 <link rel="match" href="table-background-print-ref.html"> 4 <link rel="help" href="https://html.spec.whatwg.org/multipage/rendering.html#tables-2"> 5 <link rel="help" href="https://drafts.csswg.org/css-break/"> 6 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=816498"> 7 <style> 8 :root { 9 print-color-adjust: exact; 10 } 11 </style> 12 <body> 13 <table background="resources/aqua-yellow-32x32.png"> 14 <thead background="resources/blue-16x20-green-16x20.png"> 15 <tr> 16 <td> 17 Foo 18 </td> 19 <td background="resources/yellow-32x32.png"> 20 Bar 21 </td> 22 </tr> 23 </thead> 24 <tbody background="resources/red-32x32.png"> 25 <tr> 26 <th background="resources/fuchsia-32x32.png"> 27 Foo 28 </th> 29 <th> 30 Bar 31 </th> 32 </tr> 33 <tr background="resources/fuchsia-32x32.png"> 34 <td> 35 Foo 36 </td> 37 <td background="resources/yellow-32x32.png"> 38 Bar 39 </td> 40 </tr> 41 </tbody> 42 <tfoot background="resources/yellow-32x32.png"> 43 <tr> 44 <td> 45 Baz 46 </td> 47 </tr> 48 </tfoot> 49 </table> 50 </body> 51 </html>