зеркало из https://github.com/mozilla/pjs.git
Add reftest for bug 372776. r=bernd.
This commit is contained in:
Родитель
8d98880cc2
Коммит
1c1f70a1e9
|
@ -92,6 +92,7 @@ include pixel-rounding/reftest.list
|
|||
== table-dom/insertCellsExpandZeroRowspan.html table-dom/insertCellsExpandZeroRowspan-ref.html
|
||||
== table-dom/insertCellsRebuild1.html table-dom/insertCellsRebuild1-ref.html
|
||||
== table-dom/insertCellsRebuild2.html table-dom/insertCellsRebuild2-ref.html
|
||||
== table-dom/insertCellsZeroColspan.html table-dom/insertCellsZeroColspan-ref.html
|
||||
== table-dom/insertColGroups1.html table-dom/insertColGroups1-ref.html
|
||||
== table-dom/insertColGroups2.html table-dom/insertColGroups2-ref.html
|
||||
== table-dom/insertCols1.html table-dom/insertCols1-ref.html
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
|
||||
"http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<HEAD>
|
||||
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<table bgcolor=orange border>
|
||||
<tr>
|
||||
<td>c11</td><td>c12</td><td>c13</td><td>c14</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>c21</td><td colspan="0">X1</td>
|
||||
</tr>
|
||||
</table>
|
||||
</BODY></HTML>
|
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
|
||||
"http://www.w3.org/TR/REC-html40/strict.dtd">
|
||||
<HEAD>
|
||||
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<table bgcolor=orange border>
|
||||
<tr>
|
||||
<td>c11</td><td>c12</td><td>c13</td><td>c14</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="c21">c21</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<script>
|
||||
document.body.offsetWidth;
|
||||
|
||||
c21 = document.getElementById("c21");
|
||||
|
||||
td = document.createElement("td");
|
||||
td.setAttribute("colspan", "0");
|
||||
td.appendChild(document.createTextNode("X1"));
|
||||
|
||||
c21.parentNode.insertBefore(td, c21.nextSibling);
|
||||
</script>
|
||||
|
||||
</BODY></HTML>
|
Загрузка…
Ссылка в новой задаче