Handling of non-CSS presentational hints - User stylesheet

The CSS2 spec says that non-css presentational hints should be “translated to the corresponding CSS rules with specificity equal to zero. The rules are assumed to be at the start of the author style sheet and may be overridden by subsequent style sheet rules.” This test will test the treatment of the FONT element, the ALIGN attribute, and colors specified on BODY (including link colors).

The first test tests behavior with an author stylesheet, and the second test tests behavior with a user stylesheet.

Since this is the second test, you must download the stylesheet and set it up as your user stylesheet before proceeding.

The body of this document should have a background image of a hurricane just northwest of Australia (or a light blue background), blue text, and unvisited links should be red, visited links should be green, and active links (click on one, but don't use the unvisited one) should be blue.

This should be in Times font because FACE should override user CSS.

This should be in Times, because the font does not inherit from its parent.

This should be in sans-serif, because the font does not inherit from its parent.

This should be in Times font because FACE should override user CSS.

This should be in Times, because the font does not inherit from its parent.

This should be in monospace, because the font does not inherit from its parent.

This should be in a sans-serif font.
This is preformatted text, and should be the UA default for PRE.
This should also be sans-serif.
This should be in a sans-serif font due to a FONT FACE. This really is illegal HTML for a FONT FACE to span a block-level element, but people do it anyway.
This is preformatted text, and should be the UA default for PRE.
The last word of this preformatted sentence should be bold.
This table should float left.
This table should float right.
This table should float left.
This table should float right.
This table should float right.
This table should float left.

This font should be quite large.


(Back to CSS Testing Information, David Baron)

LDB, dbaron@dbaron.org