svg:PresentationAttributes-TextContentElements

The following presentation attributes apply to text content elements

Attribute Group Information

Attributes

QName Type Fixed Default Use Inheritable Annotation
alignment-baseline restriction of string optional
baseline-shift svg:BaselineShiftValueType optional
direction restriction of string optional
dominant-baseline restriction of string optional
glyph-orientation-horizontal svg:GlyphOrientationHorizontalValueType optional
glyph-orientation-vertical svg:GlyphOrientationVerticalValueType optional
letter-spacing svg:SpacingValueType optional
text-anchor restriction of string optional
text-decoration svg:TextDecorationValueType optional
unicode-bidi restriction of string optional
word-spacing svg:SpacingValueType optional

Used By

Source

<attributeGroup name="PresentationAttributes-TextContentElements">
  <annotation>
    <documentation>The following presentation attributes apply to text content elements</documentation>
  </annotation>
  <attribute name="alignment-baseline" use="optional">
    <simpleType>
      <restriction base="string">
        <enumeration value="baseline"/>
        <enumeration value="top"/>
        <enumeration value="before-edge"/>
        <enumeration value="text-top"/>
        <enumeration value="text-before-edge"/>
        <enumeration value="middle"/>
        <enumeration value="bottom"/>
        <enumeration value="after-edge"/>
        <enumeration value="text-bottom"/>
        <enumeration value="text-after-edge"/>
        <enumeration value="ideographic"/>
        <enumeration value="lower"/>
        <enumeration value="hanging"/>
        <enumeration value="mathematical"/>
        <enumeration value="inherit"/>
      </restriction>
    </simpleType>
  </attribute>
  <attribute name="baseline-shift" type="svg:BaselineShiftValueType" use="optional"/>
  <attribute name="direction" use="optional">
    <simpleType>
      <restriction base="string">
        <enumeration value="ltr"/>
        <enumeration value="rtl"/>
        <enumeration value="inherit"/>
      </restriction>
    </simpleType>
  </attribute>
  <attribute name="dominant-baseline" use="optional">
    <simpleType>
      <restriction base="string">
        <enumeration value="auto"/>
        <enumeration value="autosense-script"/>
        <enumeration value="no-change"/>
        <enumeration value="reset"/>
        <enumeration value="ideographic"/>
        <enumeration value="lower"/>
        <enumeration value="hanging"/>
        <enumeration value="mathematical"/>
        <enumeration value="inherit"/>
      </restriction>
    </simpleType>
  </attribute>
  <attribute name="glyph-orientation-horizontal" type="svg:GlyphOrientationHorizontalValueType" use="optional"/>
  <attribute name="glyph-orientation-vertical" type="svg:GlyphOrientationVerticalValueType" use="optional"/>
  <attribute name="letter-spacing" type="svg:SpacingValueType" use="optional"/>
  <attribute name="text-anchor" use="optional">
    <simpleType>
      <restriction base="string">
        <enumeration value="start"/>
        <enumeration value="middle"/>
        <enumeration value="end"/>
        <enumeration value="inherit"/>
      </restriction>
    </simpleType>
  </attribute>
  <attribute name="text-decoration" type="svg:TextDecorationValueType" use="optional"/>
  <attribute name="unicode-bidi" use="optional">
    <simpleType>
      <restriction base="string">
        <enumeration value="normal"/>
        <enumeration value="embed"/>
        <enumeration value="bidi-override"/>
        <enumeration value="inherit"/>
      </restriction>
    </simpleType>
  </attribute>
  <attribute name="word-spacing" type="svg:SpacingValueType" use="optional"/>
</attributeGroup>