fo:text-decoration
Attribute group information
Namespace: http://www.w3.org/1999/XSL/Format
Schema document: fo.xsd
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
text-decoration | [0..1] | Anonymous | 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: |
Used in
- Anonymous type of element fo:character
- Anonymous type of element fo:initial-property-set
- Anonymous type of element fo:inline
- Anonymous type of element fo:page-number
- Anonymous type of element fo:page-number-citation
- Anonymous type of element fo:page-number-citation-last
- Anonymous type of element fo:scaling-value-citation
- Attribute group fo:character-properties