summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-html/cell-align-stopped-at-table-1-quirks-ref.html
blob: 2b84dcf3b7d044271e839a110d477dc56123da58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<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>