gecko-dev/layout/reftests/table-html/cell-align-stopped-at-table-1-standards-ref.html
L. David Baron e7a0ea3790 Bug 196292 - Make table inside align=left reset alignment just like for align=center and align=right. r=bz
Without the patch, cell-align-stopped-at-table-1-standards.html fails
because the th in the align=left cell is left-aligned rather than
centered.

--HG--
extra : commitid : HPydYjQL5pC
2015-11-30 15:31:30 -08:00

33 lines
748 B
HTML

<!DOCTYPE HTML>
<title>Testcase, bug 196292</title>
<meta charset="UTF-8">
<table border width="500">
<tr>
<td>
<p style="text-align: left">Left</p>
<table border width="300">
<tr><th>Center</th></tr>
<tr><td>Left</td></tr>
</table>
</td>
</tr>
<tr>
<td>
<p style="text-align: center">Center</p>
<table border width="300" style="margin-left: auto; margin-right: auto">
<tr><th>Center</th></tr>
<tr><td>Left</td></tr>
</table>
</td>
</tr>
<tr>
<td>
<p style="text-align: right">Right</p>
<table border width="300" style="margin-left: auto">
<tr><th>Center</th></tr>
<tr><td>Left</td></tr>
</table>
</td>
</tr>