Back to Chromium

Bug7112 1

third_party/blink/web_tests/tables/mozilla/bugs/bug7112-1.html

149.0.7827.21.0 KB
Original Source

This is a table with a td align=center that has a p, a table, and a p.

|

text

| text 3 |

text

|

This time the inner table has width="100%", so you can see that the CSS spec isn't quite being followed. The CSS spec says that the align=center carries down as text-align and never acts to move blocks. You're not moving the block for the table (above), but you're not doing the text-align inside it either. In quirks mode you should do the former, in standard mode, the latter.

|

text

| text 3 |

text

|

| Data of Table 1! |

| Data of Table 2! |

| Data of Table 3! |

| Data of Table 4! |

| Text, followed by

| A table. |

|

...should look identical to the first one below:

| Text, followed by

| A table. |

|

However, in standard mode, the first table should look like this:

| Text, followed by

| A table. |

|

For reference, the second table has its text all centered, the third table has the "A table." line aligned left.


See also: Strict Mode Version

-->