CSS1 Test Suite: 5.4.3 text-decoration


[Previous] [Next] [Section] [Contents] [Specification]

The style declarations which apply to the text below are:

.one {text-decoration: underline;}
.two {text-decoration: overline;}
.three {text-decoration: line-through;}
.four {text-decoration: blink;}
B.five {text-decoration: none;}
.six {text-decoration: underline overline;}
.seven {text-decoration: underline overline line-through;}


This sentence should be underlined.

This sentence should be overlined.

This sentence should have stricken text (linethrough).

This element should be blinking. (It is not required, however, that UAs support this behavior.)

The text in this element should be underlined. The boldfaced text in this element should also be underlined. This is because the parent's underline will 'span' the boldfaced text, even if the inline element has no underline of its own.

This sentence should be underlined and overlined.

This sentence should be underlined, overlined, and stricken.

There should be nothing visible between this sentence and the one above (there is an empty paragraph element with class of seven).

Text decorations only apply to the text of an element, so the image at the end of this sentence should not be overlined: [Image]. The underline of the parent element should hold true beneath the image, however, since text-decoration 'spans' child elements.

The underlining in this sentence should be green, no matter what the text color may be.

The colors of the underlining in this sentence should be the same as that of the parent text (that is, the first word in the sentence, which should be black).

TABLE Testing Section
 

This sentence should be underlined.

This sentence should be overlined.

This sentence should have stricken text (linethrough).

This element should be blinking. (It is not required, however, that UAs support this behavior.)

The text in this element should be underlined. The boldfaced text in this element should also be underlined. This is because the parent's underline will 'span' the boldfaced text, even if the inline element has no underline of its own.

This sentence should be underlined and overlined.

This sentence should be underlined, overlined, and stricken.

There should be nothing visible between this sentence and the one above (there is an empty paragraph element with class of seven).

Text decorations only apply to the text of an element, so the image at the end of this sentence should not be overlined: [Image]. The underline of the parent element should hold true beneath the image, however, since text-decoration 'spans' child elements.

The underlining in this sentence should be green, no matter what the text color may be.

The colors of the underlining in this sentence should be the same as that of the parent text (that is, the first word in the sentence, which should be black).


[Previous] [Next] [Section] [Contents] [Specification]