Commit 7f0ccc95 authored by Boris Zbarsky's avatar Boris Zbarsky
Browse files

Bug 1395312 part 2. Table backgrounds should be drawn or not based on the...

Bug 1395312 part 2.  Table backgrounds should be drawn or not based on the visibility of the relevant cell, not of the column/row/colgroup/rowgroup they come from.  r=heycam

MozReview-Commit-ID: B863KFWjLLW
parent 8216808d
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
<!DOCTYPE html>
<table style="width: 200px; height: 200px; empty-cells: hide; color: white">
  <colgroup style="background: red">
    <col style="background: red">
  </colgroup>
  <tbody style="background: red">
    <tr style="background: red">
      <td></td>
      <td style="visibility: hidden">X</td>
    </tr>
  </tbody>
</table>
+12 −0
Original line number Diff line number Diff line
<!DOCTYPE html>
<table style="width: 200px; height: 200px; empty-cells: show; color: white">
  <colgroup style="background: red">
    <col style="background: red">
  </colgroup>
  <tbody style="background: red">
    <tr style="background: red">
      <td style="background: white"></td>
      <td style="visibility: hidden"></td>
    </tr>
  </tbody>
</table>
+14 −0
Original line number Diff line number Diff line
<!DOCTYPE html>
<table style="width: 200px; height: 200px; empty-cells: show; border-collapse: collapse">
  <colgroup style="background: red">
    <col style="background: red">
  </colgroup>
  <tbody style="background: red">
    <tr style="background: red">
      <td style="background: green">
      </td>
      <td style="background: white">
      </td>
    </tr>
  </tbody>
</table>
+14 −0
Original line number Diff line number Diff line
<!DOCTYPE html>
<table style="width: 200px; height: 200px; empty-cells: hide; border-collapse: collapse">
  <colgroup style="background: red">
    <col style="background: red">
  </colgroup>
  <tbody style="background: red">
    <tr style="background: green; visibility: hidden">
      <td style="visibility: visible">
      </td>
      <td>
      </td>
    </tr>
  </tbody>
</table>
+4 −0
Original line number Diff line number Diff line
@@ -60,3 +60,7 @@ fuzzy-if(d2d||skiaContent,1,95000) == border-separate-opacity-table.html border-
== empty-cells-default-2.html empty-cells-default-2-ref.html
fuzzy-if(OSX,1,113) fuzzy-if(winWidget,1,12) fuzzy-if(winWidget&&!layersGPUAccelerated,82,116) fuzzy-if(skiaContent,84,5500) fuzzy-if(Android,2,5957) == table-row-opacity-dynamic-1.html table-row-opacity-dynamic-1-ref.html
== table-row-opacity-dynamic-2.html table-row-opacity-dynamic-2-ref.html

== hidden-cells-1.html about:blank
== hidden-cells-2.html about:blank
== hidden-cells-3.html hidden-cells-3-ref.html
Loading