Evil Tests: Inheritance Set Through Tables
Author: Ian Hickson

# Table Inheritance Tests - 1

If you have any comments to make regarding this test, e-mail py8ieh=eviltests@bath.ac.uk.

Prerequisites
  Browsers 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 compatability 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?
Comment:

Up to the Table Tests.

Up to the Evil Tests Page.

Bugzilla: Bug 1044

This page is maintained by Ian Hickson (py8ieh@bath.ac.uk).

Last updated in March 1999.