testing/web-platform/tests/css/css-backgrounds/background-image-table-cells-straddling-no-repeat.html
author Lando <lando@lando.test>
Fri, 11 Jul 2025 04:32:24 +0000 (4 hours ago)
changeset 796014 f14d1c1492bc6791542a001365abbca4bd9b28db
parent 771755 ad661303ea8a384f1346fdeed4e29dea655d65a3
permissions -rw-r--r--
Merge autoland to mozilla-central
<!doctype html>
<title>'no-repeat' background on table row straddling table cells</title>
<link rel="help" href="https://www.w3.org/TR/CSS21/tables.html#table-layers">
<link rel="help" href="https://drafts.csswg.org/css-tables/#drawing-cell-backgrounds">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<meta name="fuzzy" content="maxDifference=0-1; totalPixels=0-4500">
<style>
.green {
  background-image: linear-gradient(green, green);
  background-position: 100px 0px;
  background-repeat: no-repeat;
  background-size: 100px 100px;
}
</style>
<p>Test passes if there is a filled green square.</p>
<table style="border-spacing: 0; margin-left: -100px">
  <tr class="green">
    <td style="padding: 0; height: 100px; width: 150px"></td>
    <td style="padding: 0; height: 100px; width: 50px"></td>
  </tr>
</table>