﻿<?xml version="1.0" encoding="utf-8"?>
<!--
CSS Text Decoration Module Level 3
W3C Candidate Recommendation, 03 July 2018
https://www.w3.org/TR/2018/CR-css-text-decor-3-20180703/
-->
<definitions xmlns="urn:schemas-jetbrains-com:css-xml">
  <property id="text-decoration" declared-in="3.0" url="https://www.w3.org/TR/css-text-decor-3/#propdef-text-decoration" applies="see individual properties" initial="see individual properties" inherited="yes" percentage="see individual properties">
    <description><![CDATA[<p>This property is a shorthand for setting
 <see cref="P:text-decoration-line" />,
 <see cref="P:text-decoration-color" />, and
 <see cref="P:text-decoration-style" /> in one declaration. Omitted values are set to their initial values. A text-decoration declaration that omits both the <span class="property">text-decoration-color</span> and <span class="property">text-decoration-style</span> values is backwards-compatible with CSS Levels 1 and 2.</p>]]></description>
    <group type="or">
      <group type="any">
        <property id="text-decoration-line"/>
        <property id="text-decoration-style"/>
        <property id="text-decoration-color"/>
      </group>
      <inline id="wide-keywords" inline="yes"/>
    </group>
  </property>

  <property id="text-decoration-color" declared-in="3.0" url="https://www.w3.org/TR/css-text-decor-3/#propdef-text-decoration-color" applies="all elements" initial="currentcolor" inherited="no" percentage="n/a" media="visual">
    <description><![CDATA[<p>This property specifies the color of text decoration (underlines overlines, and line-throughs) set on the element with
 <see cref="P:text-decoration-line" />.</p>]]></description>
    <group type="or">
      <inline id="color"/>
      <inline id="wide-keywords" inline="yes"/>
    </group>
  </property>

  <prefixed-property id="text-decoration-color" prefix="webkit" browsers="S6.0"/>
  <prefixed-property id="text-decoration-color" prefix="moz" browsers="FF6.0"/>

  <property id="text-decoration-line" declared-in="3.0" url="https://www.w3.org/TR/css-text-decor-3/#propdef-text-decoration-line" applies="all elements" initial="none" inherited="yes" percentage="n/a" media="visual">
    <description><![CDATA[<p>Specifies what line decorations, if any, are added to the element.</p>]]></description>
    <group type="or">
      <name value="none" tooltip="Neither produces nor inhibits text decoration."/>
      <group type="any">
        <name value="underline" tooltip="Each line of text is underlined."/>
        <name value="overline" tooltip="Each line of text has a line over it (i.e. on the opposite side from an underline)."/>
        <name value="line-through" tooltip="Each line of text has a line through the middle."/>
        <name value="blink" tooltip="The text blinks (alternates between visible and invisible). "/>
      </group>
      <inline id="wide-keywords" inline="yes"/>
    </group>
  </property>

  <prefixed-property id="text-decoration-line" prefix="moz" browsers="FF6.0"/>

  <property id="text-decoration-style" declared-in="3.0" url="https://www.w3.org/TR/css-text-decor-3/#propdef-text-decoration-style" applies="all elements" initial="solid" inherited="no" percentage="n/a" media="visual">
    <description><![CDATA[<p>This property specifies the style of the line(s) drawn for text decoration specified on the element.</p>]]></description>
    <group type="or">
      <name value="solid"/>
      <name value="double"/>
      <name value="dotted"/>
      <name value="dashed"/>
      <name value="wavy"/>
      <inline id="wide-keywords" inline="yes"/>
    </group>
  </property>

  <prefixed-property id="text-decoration-style" prefix="webkit" browsers="C24.0,O15.0"/>
  <prefixed-property id="text-decoration-style" prefix="moz" browsers="FF6.0"/>

  <property id="text-emphasis" declared-in="3.0" url="https://www.w3.org/TR/css-text-decor-3/#propdef-text-emphasis" applies="see individual properties" initial="see individual properties" inherited="yes" percentage="see individual properties">
    <description><![CDATA[<p>This property is a shorthand for setting
 <see cref="P:text-emphasis-style" /> and
 <see cref="P:text-emphasis-color" /> in one declaration. Omitted values are set to their initial values.</p>]]></description>
    <group type="or">
      <group type="any">
        <property id="text-emphasis-style"/>
        <property id="text-emphasis-color"/>
      </group>
      <inline id="wide-keywords" inline="yes"/>
    </group>
  </property>

  <prefixed-property id="text-emphasis" prefix="webkit" url="https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Mozilla_Extensions"/>

  <property id="text-emphasis-color" declared-in="3.0" url="https://www.w3.org/TR/css-text-decor-3/#propdef-text-emphasis-color" applies="all elements" initial="currentcolor" inherited="yes" percentage="n/a" media="visual">
    <description><![CDATA[<p>This property specifies the foreground color of the emphasis marks.</p>]]></description>
    <group type="or">
      <inline id="color"/>
      <inline id="wide-keywords" inline="yes"/>
    </group>
  </property>

  <prefixed-property id="text-emphasis-color" prefix="webkit" url="https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Mozilla_Extensions"/>

  <property id="text-emphasis-position" declared-in="3.0" url="https://www.w3.org/TR/css-text-decor-3/#propdef-text-emphasis-position" applies="all elements" initial="over right" inherited="yes" percentage="n/a" media="visual">
    <description><![CDATA[<p>This property describes where emphasis marks are drawn at. If <span class="css">[ right | left ]</span> is omitted, it defaults to <span class="css">right</span>.</p>]]></description>
    <group type="or">
      <group type="and">
        <group type="or">
          <name value="over" tooltip="Draw marks over the text in horizontal typographic modes."/>
          <name value="under" tooltip="Draw marks under the text in horizontal typographic modes."/>
        </group>
        <group type="or" min="0">
          <name value="right" tooltip="Draw marks to the right of the text in vertical typographic modes."/>
          <name value="left" tooltip="Draw marks to the left of the text in vertical typographic modes."/>
        </group>
      </group>
      <inline id="wide-keywords" inline="yes"/>
    </group>
  </property>

  <prefixed-property id="text-emphasis-position" prefix="webkit" url="https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Mozilla_Extensions"/>

  <property id="text-emphasis-style" declared-in="3.0" url="https://www.w3.org/TR/css-text-decor-3/#propdef-text-emphasis-style" applies="all elements" initial="none" inherited="yes" percentage="n/a" media="visual">
    <description><![CDATA[<p>This property applies emphasis marks to the element’s text.</p>]]></description>
    <group type="or">
      <name value="none" tooltip="No emphasis marks."/>
      <group type="any">
        <group type="or">
          <name value="filled" tooltip="The shape is filled with solid color."/>
          <name value="open" tooltip="The shape is hollow."/>
        </group>
        <group type="or">
          <name value="dot" tooltip="Display small circles as marks. The filled dot is U+2022 '•', and the open dot is U+25E6 '◦'."/>
          <name value="circle" tooltip="Display large circles as marks. The filled circle is U+25CF '●', and the open circle is U+25CB '○'."/>
          <name value="double-circle" tooltip="Display double circles as marks. The filled double-circle is U+25C9 '◉', and the open double-circle is U+25CE '◎'."/>
          <name value="triangle" tooltip="Display triangles as marks. The filled triangle is U+25B2 '▲', and the open triangle is U+25B3 '△'."/>
          <name value="sesame" tooltip="Display sesames as marks. The filled sesame is U+FE45 '﹅', and the open sesame is U+FE46 '﹆'."/>
        </group>
      </group>
      <string tooltip="Display the given string as marks. Authors should not specify more than one character in &lt;string&gt;. The UA may truncate or ignore strings consisting of more than one grapheme cluster."/>
      <inline id="wide-keywords" inline="yes"/>
    </group>
  </property>

  <prefixed-property id="text-emphasis-style" prefix="webkit" url="https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Mozilla_Extensions"/>

  <property id="text-shadow" declared-in="3.0" url="https://www.w3.org/TR/css-text-decor-3/#propdef-text-shadow" applies="all elements" initial="none" inherited="yes" percentage="n/a" media="visual">
    <description><![CDATA[<p>This property accepts a comma-separated list of shadow effects to be applied to the text of the element. Values are interpreted as for
 <see cref="P:box-shadow" /> [CSS-BACKGROUNDS-3]. (But note that spread values and the inset keyword are not allowed.) Each layer shadows the element’s text and all its text decorations (composited together). If the color of the shadow is not specified, it defaults to currentColor, i.e. the shadow’s color is taken from the element’s
 <see cref="P:color" /> property. </p>]]></description>
    <group type="or">
      <name value="none"/>
      <group type="and" comma-separated="yes">
        <inline id="color" min="0"/>
        <length min="2" max="3"/>
      </group>
      <inline id="wide-keywords" inline="yes"/>
    </group>
  </property>

  <property id="text-underline-position" declared-in="3.0" url="https://www.w3.org/TR/css-text-decor-3/#propdef-text-underline-position" applies="all elements" initial="auto" inherited="yes" percentage="n/a" media="visual">
    <description><![CDATA[<p>This property sets the position of an underline specified on the element. (It does not affect underlines specified by ancestor elements.) If left or right is specified alone, auto is also implied. </p>]]></description>
    <group type="or">
      <name value="auto" tooltip="The user agent may use any algorithm to determine the underline’s position; however it must be placed at or under the alphabetic baseline. It is suggested that the default underline position be close to the alphabetic baseline, unless that would either cross subscripted (or otherwise lowered) text or draw over glyphs from Asian scripts such as Han or Tibetan for which an alphabetic underline is too high: in such cases, shifting the underline lower or aligning to the em box edge as described for under may be more appropriate. A typical “alphabetic” underline is positioned just below the alphabetic baseline"/>
      <group type="any">
        <name value="under" tooltip="The underline is positioned under the element’s text content. In this case the underline usually does not cross the descenders. (This is sometimes called “accounting” underline.) This value can be combined with left or right if a particular side is preferred in vertical typographic modes. text-underline-position: under Because text-underline-position inherits, and is not reset by the text-decoration shorthand, the following example switches the document to use under underlining, which can be more appropriate for writing systems with long, complicated descenders. It is also often useful for mathematical or chemical texts that use many subscripts. :root { text-underline-position: under; } Note: The under value does not guarantee that the underline will not conflict with glyphs, as some fonts have descenders or diacritics that extend below the font’s descent metrics."/>
        <group type="or">
          <name value="left" tooltip="In vertical typographic modes, the underline is aligned as for under, except it is always aligned to the left edge of the text. If this causes the underline to be drawn on the &quot;over&quot; side of the text, then an overline also switches sides and is drawn on the &quot;under&quot; side."/>
          <name value="right" tooltip="In vertical typographic modes, the underline is aligned as for under, except it is always aligned to the right edge of the text. If this causes the underline to be drawn on the &quot;over&quot; side of the text, then an overline also switches sides and is drawn on the &quot;under&quot; side."/>
        </group>
      </group>
      <inline id="wide-keywords" inline="yes"/>
    </group>
  </property>
</definitions>