background-image-table-cells-straddling-no-repeat.html (849B)
1 <!doctype html> 2 <title>'no-repeat' background on table row straddling table cells</title> 3 <link rel="help" href="https://www.w3.org/TR/CSS21/tables.html#table-layers"> 4 <link rel="help" href="https://drafts.csswg.org/css-tables/#drawing-cell-backgrounds"> 5 <link rel="match" href="../reference/ref-filled-green-100px-square-only.html"> 6 <meta name="fuzzy" content="maxDifference=0-1; totalPixels=0-4500"> 7 <style> 8 .green { 9 background-image: linear-gradient(green, green); 10 background-position: 100px 0px; 11 background-repeat: no-repeat; 12 background-size: 100px 100px; 13 } 14 </style> 15 <p>Test passes if there is a filled green square.</p> 16 <table style="border-spacing: 0; margin-left: -100px"> 17 <tr class="green"> 18 <td style="padding: 0; height: 100px; width: 150px"></td> 19 <td style="padding: 0; height: 100px; width: 50px"></td> 20 </tr> 21 </table>