summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-html/cell-align-stopped-at-table-1-standards-ref.html
blob: 4b9088d35dc9b6c96779320f012ce0f4b2f15bb6 (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
32
<!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>