Back to Chromium

Table Inheritance Tests - 1

third_party/blink/web_tests/tables/mozilla/bugs/bug2479-4.html

150.0.7829.23.2 KB
Original Source

Table Inheritance Tests - 1

If you have any comments to make regarding this test, e-mail [email protected].

PrerequisitesBrowsers that are subjected to this test should support CSS1 and the CSS2 table model.

0. Control

The following four tests should look identical, namely, like this:

This text should be white on black, bold, twice the size of normal text, and sans serif.

There are some minor exceptions, however. The x.1 tests should fill the viewport width, the other tests need not. Also, browsers attempting to have backwards compatibility with the buggy behaviour of legacy browsers may omit to inherit the color and font-size in 1.1, which will make 1.1 (but only 1.1) unreadable. That is the problem with not following the specs.

1. HTML Tables

1.1 Inheritance through a DIV

| This text should be white on black, bold, twice the size of normal text, and sans serif. |

1.2 Styles set directly on TABLE

| This text should be white on black, bold, twice the size of normal text, and sans serif. |

2. Explicit CSS Tables

2.1 Inheritance through a DIV

This text should be white on black, bold, twice the size of normal text, and sans serif.

2.2 Styles set directly on TABLE

This text should be white on black, bold, twice the size of normal text, and sans serif.

2.3 Styles set directly on ROW

This text should be white on black, bold, twice the size of normal text, and sans serif.

2.4 Styles set directly on CELL

This text should be white on black, bold, twice the size of normal text, and sans serif.

3. Implicit CSS Tables (table explicit)

3.1 Inheritance through a DIV

This text should be white on black, bold, twice the size of normal text, and sans serif.

3.2 Styles set directly on TABLE

This text should be white on black, bold, twice the size of normal text, and sans serif.

4. Implicit CSS Tables (row explicit)

4.1 Inheritance through a DIV

This text should be white on black, bold, twice the size of normal text, and sans serif.

4.2 Styles set directly on ROW

This text should be white on black, bold, twice the size of normal text, and sans serif.

5. Implicit CSS Tables (cell explicit)

5.1 Inheritance through a DIV

This text should be white on black, bold, twice the size of normal text, and sans serif.

5.2 Styles set directly on CELL

This text should be white on black, bold, twice the size of normal text, and sans serif.

Submit Results

How does your browser fare on this test? The tests all render identically, and this browser may or may not grok CSS2 tables. The tests all render identically, and this browser does grok CSS2 tables. The tests all render identically, but this browser does not grok CSS2 tables. The tests do not render all the same. Any of the tests render black-on-black. Untestable: CSS not supported. Comment:


Up to the Table Tests.

Up to the Evil Tests Page.

Bugzilla: Bug 1044

This page is maintained by Ian Hickson ([email protected]).

Last updated in March 1999.