﻿<?xml version="1.0" encoding="utf-8"?>
<definitions xmlns="urn:schemas-jetbrains-com:css-xml">
  <property id="font-style" declared-in="1.0" rules="@font-face" initial="all" tooltip="The style of a font." url="https://www.w3.org/TR/css-fonts-4/#descdef-font-face-font-style">
    <group type="or">
      <name value="normal"/>
      <name value="italic"/>
      <group>
        <name value="oblique"/>
        <angle min="0" max="2"/>
      </group>
    </group>
  </property>

  <property id="accent-height" declared-in="1.0" rules="@font-face" tooltip="The distance from the baseline to the top of accent characters, measure by a distance within the font coordinate system." url="http://www.w3.org/TR/2000/03/WD-SVG-20000303/fonts.html#FontElementAccentHeightAttribute">
    <number/>
  </property>
  <property id="horiz-origin-x" declared-in="1.0" rules="@font-face" initial="0" tooltip="The X-coordinate in the font coordinate system of the origin of a glyph to be used when drawing horizontally oriented text." url="http://www.w3.org/TR/2000/03/WD-SVG-20000303/fonts.html#FontElementHorizOriginXAttribute">
    <number/>
  </property>
  <property id="horiz-origin-y" declared-in="1.0" rules="@font-face" initial="0" tooltip="The Y-coordinate in the font coordinate system of the origin of a glyph to be used when drawing horizontally oriented text." url="http://www.w3.org/TR/2000/03/WD-SVG-20000303/fonts.html#FontElementHorizOriginYAttribute">
    <number/>
  </property>
  <property id="horiz-adv-x" declared-in="1.0" rules="@font-face" tooltip="The default horizontal advance after rendering a glyph in horizontal orientation." url="http://www.w3.org/TR/2000/03/WD-SVG-20000303/fonts.html#FontElementHorizAdvXAttribute">
    <number/>
  </property>
  <property id="vert-origin-x" declared-in="1.0" rules="@font-face" tooltip="The X-coordinate in the font coordinate system of the origin of a glyph to be used when drawing vertically oriented text." url="http://www.w3.org/TR/2000/03/WD-SVG-20000303/fonts.html#FontElementVertOriginXAttribute">
    <number/>
  </property>
  <property id="vert-origin-y" declared-in="1.0" rules="@font-face" tooltip="The Y-coordinate in the font coordinate system of the origin of a glyph to be used when drawing vertically oriented text." url="http://www.w3.org/TR/2000/03/WD-SVG-20000303/fonts.html#FontElementVertOriginYAttribute">
    <number/>
  </property>
  <property id="vert-adv-y" declared-in="1.0" rules="@font-face" tooltip="The default vertical advance after rendering a glyph in vertical orientation." url="http://www.w3.org/TR/2000/03/WD-SVG-20000303/fonts.html#FontElementVertAdvYAttribute">
    <number/>
  </property>
  <property id="text-bottom" declared-in="1.0" rules="@font-face" tooltip="The bottom of the font within the font coordinate system." url="http://www.w3.org/TR/2000/03/WD-SVG-20000303/fonts.html#FontElementTextBottomAttribute">
    <number/>
  </property>
  <property id="ideographic" declared-in="1.0" rules="@font-face" tooltip="The ideographic baseline of a font within the font coordinate system." url="http://www.w3.org/TR/2000/03/WD-SVG-20000303/fonts.html#FontElementIdeographicAttribute">
    <number/>
  </property>
  <property id="hanging" declared-in="1.0" rules="@font-face" tooltip="The hanging baseline of a font within the font coordinate system." url="http://www.w3.org/TR/2000/03/WD-SVG-20000303/fonts.html#FontElementHangingAttribute">
    <number/>
  </property>
  <property id="text-top" declared-in="1.0" rules="@font-face" tooltip="The top of the font within the font coordinate system." url="http://www.w3.org/TR/2000/03/WD-SVG-20000303/fonts.html#FontElementTextTopAttribute">
    <number/>
  </property>
  <property id="font-face-name" declared-in="1.0" rules="@font-face" tooltip="The full name of a particular face of a font family." url="http://www.w3.org/TR/2000/03/WD-SVG-20000303/fonts.html#FontElementFontFaceNameAttribute">
    <inline id="font-family" />
  </property>
  <property id="underline-position" declared-in="1.0" rules="@font-face" tooltip="The ideal position of an underline within the font coordinate system." url="http://www.w3.org/TR/2000/03/WD-SVG-20000303/fonts.html#FontElementUnderlinePositionAttribute">
    <number/>
  </property>
  <property id="underline-thickness" declared-in="1.0" rules="@font-face" tooltip="The ideal thickness of an underline, expressed as a length within the font coordinate system." url="http://www.w3.org/TR/2000/03/WD-SVG-20000303/fonts.html#FontElementUnderlineThicknessAttribute">
    <number/>
  </property>
  <property id="strikethrough-position" declared-in="1.0" rules="@font-face" tooltip="The ideal position of a strike-through within the font coordinate system." url="http://www.w3.org/TR/2000/03/WD-SVG-20000303/fonts.html#FontElementStrikeThroughPositionAttribute">
    <number/>
  </property>
  <property id="strikethrough-thickness" declared-in="1.0" rules="@font-face" tooltip="The ideal thickness of a strike-through, expressed as a length within the font coordinate system." url="http://www.w3.org/TR/2000/03/WD-SVG-20000303/fonts.html#FontElementStrikeThroughThicknessAttribute">
    <number/>
  </property>
  <property id="overline-position" declared-in="1.0" rules="@font-face" tooltip="The ideal position of an overline within the font coordinate system." url="http://www.w3.org/TR/2000/03/WD-SVG-20000303/fonts.html#FontElementOverlinePositionAttribute">
    <number/>
  </property>
  <property id="overline-thickness" declared-in="1.0" rules="@font-face" tooltip="The ideal thickness of an overline, expressed as a length within the font coordinate system." url="http://www.w3.org/TR/2000/03/WD-SVG-20000303/fonts.html#FontElementOverlineThicknessAttribute">
    <number/>
  </property>
  <property id="units-per-em" declared-in="1.0" rules="@font-face" tooltip="The following descriptor specifies the number of 'units' per em." url="http://www.w3.org/TR/2002/WD-css3-webfonts-20020802/#units-per-em">
    <number />
  </property>
  <property id="panose-1" declared-in="1.0" rules="@font-face" initial="0 0 0 0 0 0 0 0 0 0" tooltip="This is the descriptor for the Panose-1 number and consists of ten decimal integers, separated by whitespace." url="http://www.w3.org/TR/2002/WD-css3-webfonts-20020802/#panose-1">
    <number min="10" max="10" />
  </property>
  <property id="stemv" declared-in="1.0" rules="@font-face" tooltip="This is the descriptor for the vertical stem width of the font. If the value is undefined, the descriptor is not used for matching." url="http://www.w3.org/TR/2002/WD-css3-webfonts-20020802/#stemv">
    <number />
  </property>
  <property id="stemh" declared-in="1.0" rules="@font-face" tooltip="This is the descriptor for the horizontal stem width of the font. If the value is undefined, the descriptor is not used for matching." url="http://www.w3.org/TR/2002/WD-css3-webfonts-20020802/#stemh">
    <number />
  </property>
  <property id="slope" declared-in="1.0" rules="@font-face" initial="0" tooltip="This is the descriptor for the vertical stroke angle of the font." url="http://www.w3.org/TR/2002/WD-css3-webfonts-20020802/#slope">
    <number />
  </property>
  <property id="cap-height" declared-in="1.0" rules="@font-face" tooltip="This is the descriptor for the number of the height of uppercase glyphs of the font." url="http://www.w3.org/TR/2002/WD-css3-webfonts-20020802/#cap-height">
    <number />
  </property>
  <property id="x-height" declared-in="1.0" rules="@font-face" tooltip="This is the descriptor for the height of lowercase glyphs of the font." url="http://www.w3.org/TR/2002/WD-css3-webfonts-20020802/#x-height">
    <number />
  </property>
  <property id="ascent" declared-in="1.0" rules="@font-face" tooltip="This is the descriptor for the maximum unaccented height of the font." url="http://www.w3.org/TR/2002/WD-css3-webfonts-20020802/#ascent">
    <number />
  </property>
  <property id="descent" declared-in="1.0" rules="@font-face" tooltip="This is the descriptor for the maximum unaccented depth of the font." url="http://www.w3.org/TR/2002/WD-css3-webfonts-20020802/#descent">
    <number />
  </property>
  <property id="widths" declared-in="1.0" rules="@font-face" tooltip="This is the descriptor for the glyph widths." url="http://www.w3.org/TR/2002/WD-css3-webfonts-20020802/#widths">
    <group>
      <urange min="0" />
      <number min="1" max="-1" />
      <text value="," />
      <urange min="0" />
      <number min="1" max="-1" />
    </group> 
  </property>
  <property id="bbox" declared-in="1.0" rules="@font-face" tooltip="This is the descriptor for the maximal bounding box of the font." url="http://www.w3.org/TR/2002/WD-css3-webfonts-20020802/#bbox">
    <group>
      <number name="lower left x" />
      <text value="," />
      <number name="lower left y" />
      <text value="," />
      <number name="upper right x" />
      <text value="," />
      <number name="upper right y" /> 
      </group>
  </property>
  <property id="definition-src" declared-in="1.0" rules="@font-face" tooltip="The font descriptors may either be within the font description in the style sheet." url="http://www.w3.org/TR/2002/WD-css3-webfonts-20020802/#definition-src">
    <inline id="uri"/>
  </property>
  <property id="baseline" declared-in="1.0" rules="@font-face" initial="0" tooltip="This is the descriptor for the lower baseline of a font." url="http://www.w3.org/TR/2002/WD-css3-webfonts-20020802/#baseline">
    <number/>
  </property>
  <property id="centerline" declared-in="1.0" rules="@font-face" tooltip="This is the descriptor for the central baseline of a font." url="http://www.w3.org/TR/2002/WD-css3-webfonts-20020802/#centerline">
    <number/>
  </property>
  <property id="mathline" declared-in="1.0" rules="@font-face" tooltip="This is the descriptor for the mathematical baseline of a font." url="http://www.w3.org/TR/2002/WD-css3-webfonts-20020802/#mathline">
    <number/>
  </property>
  <property id="topline" declared-in="1.0" rules="@font-face" tooltip="This is the descriptor for the top baseline of a font." url="http://www.w3.org/TR/2002/WD-css3-webfonts-20020802/#topline">
    <number/>
  </property>

  <named-value id="font-face-name" declared-in="3.0" rules="@font-face"
               url="http://www.w3.org/TR/2013/CR-css-fonts-3-20131003/#font-face-name-value">
    <invoke id="local"/>
  </named-value>
  <named-value id="font-format" declared-in="3.0" rules="@font-face" url="http://www.w3.org/TR/2013/CR-css-fonts-3-20131003/#descdef-src">
    <group type="or">
      <string value="woff" tooltip="WOFF (Web Open Font Format) .woff"/>
      <string value="truetype" tooltip="TrueType .ttf"/>
      <string value="opentype" tooltip="OpenType .ttf, .otf"/>
      <string value="embedded-opentype" tooltip="Embedded OpenType .eot"/>
      <string value="svg" tooltip="SVG Font .svg, .svgz"/>
      <string/>
    </group>
  </named-value>

  <property id="font-family" declared-in="3.0" url="http://www.w3.org/TR/2013/CR-css-fonts-3-20131003/#descdef-font-family"
            rules="@font-face">
    <description><![CDATA[
      <p>This descriptor defines the font family name that will be used in all CSS font family name matching. It is required for the
        @font-face rule to be valid.</p>
      ]]></description>
    <inline id="font-family"/>
  </property>

  <function id="format" declared-in="3.0" rules="@font-face" url="http://www.w3.org/TR/2013/CR-css-fonts-3-20131003/#descdef-font-family">
    <inline id="font-format" comma-separated="yes"/>
  </function>
  <function id="local" declared-in="3.0" rules="@font-face" url="http://www.w3.org/TR/2013/CR-css-fonts-3-20131003/#font-face-name-value">
    <inline id="font-family"/>
  </function>

  <property id="src" declared-in="3.0" rules="@font-face" url="http://www.w3.org/TR/2013/CR-css-fonts-3-20131003/#descdef-src">
    <description><![CDATA[
      <p>This descriptor specifies the resource containing font data. It is required for the @font-face rule to be valid.</p>
      ]]></description>
    <group type="or" comma-separated="yes">
      <group>
        <invoke id="url"/>
        <invoke id="format" min="0"/>
      </group>
      <inline id="font-face-name"/>
    </group>
  </property>

  <property id="font-weight" declared-in="3.0" url="http://www.w3.org/TR/2013/CR-css-fonts-3-20131003/#descdef-font-weight" applies="all elements"
            rules="@font-face" initial="normal" inherited="yes" percentage="N/A" media="visual">
    <description>
      <![CDATA[
      <p>The ‘font-weight’ property specifies the weight of glyphs in the font, their degree of blackness or stroke thickness. </p>
      ]]></description>
    <group type="or">
      <name value="normal" tooltip="Same as ‘400’,"/>
      <name value="bold" tooltip="Same as ‘700’."/>
      <text value="100"/>
      <text value="200"/>
      <text value="300"/>
      <text value="400"/>
      <text value="500"/>
      <text value="600"/>
      <text value="700"/>
      <text value="800"/>
      <text value="900"/>
      <inline id="wide-keywords" inline="yes"/>
    </group>
  </property>

  <property id="unicode-range" declared-in="1.0" rules="@font-face" initial="U+0-10FFFF"
            tooltip="The range of ISO 10646 characters [UNICODE] covered by the font."
            url="http://www.w3.org/TR/2013/CR-css-fonts-3-20131003/#descdef-unicode-range">
    <urange comma-separated="yes"/>
  </property>

  <property id="font-feature-settings" declared-in="3.0"
            url="http://www.w3.org/TR/2013/CR-css-fonts-3-20131003/#descdef-font-feature-settings"
            rules="@font-face" applies="all elements" initial="normal" inherited="yes" percentage="N/A" media="visual">
    <description>
      <![CDATA[
      <p>This property provides low-level control over OpenType font features. It is intended as a way of providing access to font features
        that are not widely used but are needed for a particular use case. </p>
      ]]></description>
    <group type="or">
      <name value="normal"/>
      <inline id="feature-tag-value" comma-separated="yes"/>
    </group>
  </property>
  <prefixed-property id="font-feature-settings" prefix="moz" browsers="FF4.0"
                     url="https://developer.mozilla.org/en-US/docs/Web/CSS/font-feature-settings"/>
  <prefixed-property id="font-feature-settings" prefix="o" browsers="O18.0"
                     url="https://developer.mozilla.org/en-US/docs/Web/CSS/font-feature-settings"/>
  <prefixed-property id="font-feature-settings" prefix="webkit" browsers="C16.0"
                     url="https://developer.mozilla.org/en-US/docs/Web/CSS/font-feature-settings"/>

  <property id="font-variant" declared-in="3.0" url="https://www.w3.org/TR/css-fonts-4/#descdef-font-face-font-variant"
            applies="all elements"
            rules="@font-face" initial="normal" inherited="yes" percentage="see individual properties" media="visual">
    <description>
      <![CDATA[
      <p>The ‘font-variant’ property is a shorthand for all font-variant subproperties. The value <dfn id="font-variant-normal-value"
                                                                                                       title="normal!!font-variant">‘<code
          class="property">normal</code>’</dfn> resets all subproperties of ‘font-variant’ to their inital value. The <dfn
          id="font-variant-none-value" title="none!!font-variant">‘<code class="property">none</code>’</dfn> value sets
        ‘font-variant-ligatures’ to ‘<code class="property">none</code>’ and resets all other font feature properties to their initial
        value. Like other shorthands, using ‘font-variant’ resets unspecified ‘font-variant’ subproperties to their initial values. It does
        not reset the values of either ‘font-language-override’ or ‘font-feature-settings’. </p>
      ]]></description>
    <group type="or">
      <name value="normal"/>
      <name value="none"/>
      <group type="any">
        <inline id="common-lig-values"/>
        <inline id="discretionary-lig-values"/>
        <inline id="historical-lig-values"/>
        <inline id="contextual-alt-values"/>
        <invoke id="stylistic"/>
        <name value="historical-forms"/>
        <invoke id="styleset"/>
        <invoke id="character-variant"/>
        <invoke id="swash"/>
        <invoke id="ornaments"/>
        <invoke id="annotation"/>

        <group type="or">
          <name value="small-caps"/>
          <name value="all-small-caps"/>
          <name value="petite-caps"/>
          <name value="all-petite-caps"/>
          <name value="unicase"/>
          <name value="titling-caps"/>
        </group>
        <inline id="numeric-figure-values"/>
        <inline id="numeric-spacing-values"/>
        <inline id="numeric-fraction-values"/>
        <name value="ordinal"/>
        <name value="slashed-zero"/>
        <inline id="east-asian-variant-values"/>
        <inline id="east-asian-width-values"/>
        <name value="ruby" tooltip="Enables display of ruby variant glyphs (OpenType feature: ruby)."/>
        <group type="or">
          <name value="sub"/>
          <name value="super"/>
        </group>
      </group>
    </group>
  </property>

  <property id="font-stretch" declared-in="4.0" url="https://www.w3.org/TR/css-fonts-4/#descdef-font-face-font-stretch" applies="all elements"
            rules="@font-face" initial="normal" inherited="yes" percentage="N/A" media="visual">
    <description>
      <![CDATA[
      <p>The ‘font-stretch’ property selects a normal, condensed, or expanded face from a font family.</p>
      ]]></description>
    <group type="or" max="2">
      <name value="normal"/>
      <name value="ultra-condensed"/>
      <name value="extra-condensed"/>
      <name value="condensed"/>
      <name value="semi-condensed"/>
      <name value="semi-expanded"/>
      <name value="expanded"/>
      <name value="extra-expanded"/>
      <name value="ultra-expanded"/>
      <percentage/>
    </group>
  </property>

  <property id="font-style" declared-in="3.0" url="http://www.w3.org/TR/2013/CR-css-fonts-3-20131003/#descdef-font-style" applies="all elements"
            rules="@font-face" initial="normal" inherited="yes" percentage="N/A" media="visual">
    <description>
      <![CDATA[
      <p>The ‘font-style’ property allows italic or oblique faces to be selected. Italic forms are generally cursive in nature while oblique
        faces are typically sloped versions of the regular face. Oblique faces can be simulated by artificially sloping the glyphs of the
        regular face.</p>
      ]]></description>
    <group type="or">
      <name value="normal" tooltip="selects a face that is classified as a normal face, one that is neither italic or obliqued"/>
      <name value="italic" tooltip="selects a font that is labeled as an italic face, or an oblique face if one is not"/>
      <name value="oblique" tooltip="selects a font that is labeled as an oblique face, or an italic face if one is not"/>
    </group>
  </property>

  <property id="font-display" declared-in="4.0" url="https://www.w3.org/TR/css-fonts-4/#descdef-font-face-font-display"
            rules="@font-face" initial="auto">
    <description>
      <![CDATA[
      <p>The font-display descriptor for @font-face determines how a font face is displayed, based on whether and when it is downloaded and ready to use.</p>
      ]]></description>
    <group type="or">
      <name value="auto"/>
      <name value="block"/>
      <name value="swap"/>
      <name value="fallback"/>
      <name value="optional"/>
    </group>
  </property>

  <property id="font-language-override" declared-in="4.0" url="https://www.w3.org/TR/css-fonts-4/#descdef-font-face-font-language-override"
            rules="@font-face" initial="normal">
    <description>
      <![CDATA[
      <p>This descriptor defines initial settings that apply when the font defined by an @font-face rule is rendered.</p>
      ]]></description>
    <group type="or">
      <name value="normal"/>
      <string/>
    </group>
  </property>

  <property id="font-variation-settings" declared-in="4.0" url="https://www.w3.org/TR/css-fonts-4/#descdef-font-face-font-variation-settings"
            rules="@font-face" initial="normal">
    <description>
      <![CDATA[
      <p>These descriptors define initial settings that apply when the font defined by an @font-face rule is rendered. They do not affect font selection.</p>
      ]]></description>
    <group type="or">
      <name value="normal"/>
      <group comma-separated="yes">
        <string/>
        <number/>
      </group>
    </group>
  </property>

</definitions>
