Schema Central > XSL-FO 1.1 > fo.xsd > text-decoration
Advanced search
Need XML Help?

Recommended Reading:

Definitive XML Schema

 

Web Service Contract Design and Versioning for SOA

 

Advanced XML Applications

 

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

See http://www.w3.org/TR/xsl11/#text-decoration.

Attribute information

Namespace: None

Schema document: fo.xsd

Type: Anonymous

Properties: Local, Unqualified

Value

  • Union of:
      from type fo:inherit
    • Type based on xsd:token
      • Valid value
        inherit
    • Type based on xsd:token
      • Valid valueDescription
        noneProduces no text decoration.
    • List of:
      • Type based on xsd:token
        • Valid valueDescription
          underlineEach line of text is underlined.
          no-underlineTurns off underlining, if any.
          overlineEach line of text has a line above it.
          no-overlineTurns off overlining, if any.
          line-throughEach line of text has a line through the middle.
          no-line-throughTurns off line-through, if any.
          blinkText blinks (alternates between visible and invisible). Conforming user agents are not required to support this value.
          no-blinkTurns off blinking, if any.
      • Minimum length of list: 1
      • Maximum length of list: 4
  • Used in

    Site developed and hosted by Datypic, Inc.

    Please report errors or comments about this site to contrib@functx.com