text-decoration
Decorations that are added to the text of an element. If the property is specified for a block-level element, it affects all inline-level descendants of the element. If it is specified for (or affects) an inline-level element, it affects all boxes generated by the element. If the element has no content or no text content (e.g., the IMG element in HTML), user agents must ignore this property. This property is not inherited, but descendant boxes of a block box should be formatted with the same decoration (e.g., they should all be underlined). The color of decorations should remain the same even if descendant elements have different "color" values. CSS2 Reference: "text-decoration" property
Attribute information
Namespace: None
Schema document: fo.xsd
Type: Anonymous
Properties: Local, Unqualified
Value
- Type based on xsd:token
Valid value inherit
- Type based on xsd:token
Valid value Description none Produces no text decoration.
- List of:
- Type based on xsd:token
Valid value Description underline Each line of text is underlined. no-underline Turns off underlining, if any. overline Each line of text has a line above it. no-overline Turns off overlining, if any. line-through Each line of text has a line through the middle. no-line-through Turns off line-through, if any. blink Text blinks (alternates between visible and invisible). Conforming user agents are not required to support this value. no-blink Turns off blinking, if any.
- Minimum length of list: 1
- Maximum length of list: 4
- Type based on xsd:token
from type fo:inherit
Used in
- Attribute group fo:text-decoration
- Anonymous type of element fo:character via reference to fo:character-properties
- Anonymous type of element fo:initial-property-set via reference to fo:text-decoration
- Anonymous type of element fo:inline via reference to fo:text-decoration
- Anonymous type of element fo:page-number via reference to fo:text-decoration
- Anonymous type of element fo:page-number-citation via reference to fo:text-decoration
- Anonymous type of element fo:page-number-citation-last via reference to fo:text-decoration
- Anonymous type of element fo:scaling-value-citation via reference to fo:text-decoration
- Attribute group fo:character-properties via reference to fo:text-decoration