[css3-fonts] add animatable attribute to font properties

Wed, 06 Feb 2013 10:00:12 -0700

author
John Daggett <jdaggett@mozilla.com>
date
Wed, 06 Feb 2013 10:00:12 -0700
changeset 7361
55bbedf65a90
parent 7360
8a7e54f09a0e
child 7362
a2d67885ffdd

[css3-fonts] add animatable attribute to font properties

css3-fonts/Overview.html file | annotate | diff | comparison | revisions
     1.1 --- a/css3-fonts/Overview.html	Wed Feb 06 08:32:36 2013 -0800
     1.2 +++ b/css3-fonts/Overview.html	Wed Feb 06 10:00:12 2013 -0700
     1.3 @@ -645,6 +645,11 @@
     1.4       <td>Computed value:
     1.5  
     1.6       <td>as specified
     1.7 +
     1.8 +    <tr>
     1.9 +     <td>Animatable:
    1.10 +
    1.11 +     <td>no
    1.12    </table>
    1.13  
    1.14    <p>This property specifies a prioritized list of font family names or
    1.15 @@ -916,6 +921,13 @@
    1.16       <td>Computed value:
    1.17  
    1.18       <td>see description
    1.19 +
    1.20 +    <tr>
    1.21 +     <td>Animatable:
    1.22 +
    1.23 +     <td>as <a
    1.24 +      href="http://dev.w3.org/csswg/css3-transitions/#animtype-font-weight">font
    1.25 +      weight</a>
    1.26    </table>
    1.27  
    1.28    <p>The <a class=noxref href="#font-weight-prop"><span
    1.29 @@ -1140,6 +1152,11 @@
    1.30       <td>Computed value:
    1.31  
    1.32       <td>as specified
    1.33 +
    1.34 +    <tr>
    1.35 +     <td>Animatable:
    1.36 +
    1.37 +     <td>as <a href="#font-stretch-animation">font stretch</a>
    1.38    </table>
    1.39  
    1.40    <p>The <a class=noxref href="#font-stretch-prop"><span
    1.41 @@ -1182,6 +1199,12 @@
    1.42     <p class=caption>Width mappings for a font family with condensed, normal
    1.43      and expanded width faces
    1.44    </div>
    1.45 +
    1.46 +  <p id=font-stretch-animation>Animation of font stretch: Font stretch is
    1.47 +   interpolated in discrete steps. The interpolation happens as though the
    1.48 +   ordered values are equally spaced real numbers. The interpolation result
    1.49 +   is rounded to the nearest value, with values exactly halfway between two
    1.50 +   values rounded towards the later value in the list above.</p>
    1.51    <!-- prop: font-style -->
    1.52  
    1.53    <h3 id=font-style-prop><span class=secno>3.4 </span>Font style: the <a
    1.54 @@ -1228,6 +1251,11 @@
    1.55       <td>Computed value:
    1.56  
    1.57       <td>as specified
    1.58 +
    1.59 +    <tr>
    1.60 +     <td>Animatable:
    1.61 +
    1.62 +     <td>no
    1.63    </table>
    1.64  
    1.65    <p>The <a class=noxref href="#font-style-prop"><span
    1.66 @@ -1314,6 +1342,12 @@
    1.67       <td>Computed value:
    1.68  
    1.69       <td>absolute length
    1.70 +
    1.71 +    <tr>
    1.72 +     <td>Animatable:
    1.73 +
    1.74 +     <td>as <a
    1.75 +      href="http://dev.w3.org/csswg/css3-transitions/#animtype-length">length</a>
    1.76    </table>
    1.77  
    1.78    <p>This property indicates the desired height of glyphs from the font. For
    1.79 @@ -1535,6 +1569,12 @@
    1.80       <td>Computed value:
    1.81  
    1.82       <td>as specified
    1.83 +
    1.84 +    <tr>
    1.85 +     <td>Animatable:
    1.86 +
    1.87 +     <td>as <a
    1.88 +      href="http://dev.w3.org/csswg/css3-transitions/#animtype-number">number</a>
    1.89    </table>
    1.90  
    1.91    <p>For any given font size, the apparent size and legibility of text varies
    1.92 @@ -1727,6 +1767,11 @@
    1.93       <td>Computed value:
    1.94  
    1.95       <td>see individual properties
    1.96 +
    1.97 +    <tr>
    1.98 +     <td>Animatable:
    1.99 +
   1.100 +     <td>see individual properties
   1.101    </table>
   1.102  
   1.103    <p>The <span class=property>‘<a href="#propdef-font"><code
   1.104 @@ -1993,6 +2038,11 @@
   1.105       <td>Computed value:
   1.106  
   1.107       <td>as specified
   1.108 +
   1.109 +    <tr>
   1.110 +     <td>Animatable:
   1.111 +
   1.112 +     <td>no
   1.113    </table>
   1.114  
   1.115    <p>This property controls whether user agents are allowed to synthesize
   1.116 @@ -2262,7 +2312,8 @@
   1.117     format hints "truetype" and "opentype" must be considered as synonymous; a
   1.118     format hint of "opentype" does not imply that the font contains Postscript
   1.119     CFF style glyph data or that it contains OpenType layout information (see
   1.120 -   Appendix A for more background on this).
   1.121 +   <a href="#platform-props-to-css">Appendix A</a> for more background on
   1.122 +   this).
   1.123  
   1.124    <p>When authors would prefer to use a locally available copy of a given
   1.125     font and download it if it's not, local() can be used. The locally
   1.126 @@ -2910,13 +2961,13 @@
   1.127    <p class=note> For authors this means that font family names are matched
   1.128     case insensitively, whether or not those names exist in a platform font or
   1.129     in the <code>@font-face</code> rules contained in a stylesheet. Authors
   1.130 -   should take care to normalize the names they use when using combining
   1.131 -   diacritics, since names containing combining diacritics won't match
   1.132 -   equivalent names that use precomposed characters. For example, a family
   1.133 -   name that contains an uppercase A (U+0041) followed by a combining ring
   1.134 -   (U+030A) will <strong>not</strong> match a name that is identical except
   1.135 -   that it uses the precomposed lowercase a-ring character (U+00E5) instead
   1.136 -   of the combining sequence.
   1.137 +   should take care to ensure that names use a character sequence consistent
   1.138 +   with the actual font family name, particularly when using combining
   1.139 +   characters such as diacritical marks. For example, a family name that
   1.140 +   contains an uppercase A (U+0041) followed by a combining ring (U+030A)
   1.141 +   will <strong>not</strong> match a name that looks identical but which uses
   1.142 +   the precomposed lowercase a-ring character (U+00E5) instead of the
   1.143 +   combining sequence.
   1.144  
   1.145    <h3 id=font-style-matching><span class=secno>5.2 </span>Matching font
   1.146     styles</h3>
   1.147 @@ -3353,6 +3404,11 @@
   1.148       <td>Computed value:
   1.149  
   1.150       <td>as specified
   1.151 +
   1.152 +    <tr>
   1.153 +     <td>Animatable:
   1.154 +
   1.155 +     <td>no
   1.156    </table>
   1.157  
   1.158    <p>Kerning is the contextual adjustment of inter-glyph spacing. This
   1.159 @@ -3428,6 +3484,11 @@
   1.160       <td>Computed value:
   1.161  
   1.162       <td>as specified
   1.163 +
   1.164 +    <tr>
   1.165 +     <td>Animatable:
   1.166 +
   1.167 +     <td>no
   1.168    </table>
   1.169  
   1.170    <p>Ligatures and contextual forms are ways of combining glyphs to produce
   1.171 @@ -3571,6 +3632,11 @@
   1.172       <td>Computed value:
   1.173  
   1.174       <td>as specified
   1.175 +
   1.176 +    <tr>
   1.177 +     <td>Animatable:
   1.178 +
   1.179 +     <td>no
   1.180    </table>
   1.181  
   1.182    <p>This property is used to enable typographic subscript and superscript
   1.183 @@ -3732,6 +3798,11 @@
   1.184       <td>Computed value:
   1.185  
   1.186       <td>as specified
   1.187 +
   1.188 +    <tr>
   1.189 +     <td>Animatable:
   1.190 +
   1.191 +     <td>no
   1.192    </table>
   1.193  
   1.194    <p>Specifies control over capitalized forms.
   1.195 @@ -3920,6 +3991,11 @@
   1.196       <td>Computed value:
   1.197  
   1.198       <td>as specified
   1.199 +
   1.200 +    <tr>
   1.201 +     <td>Animatable:
   1.202 +
   1.203 +     <td>no
   1.204    </table>
   1.205  
   1.206    <p>Specifies control over numerical forms.
   1.207 @@ -4078,6 +4154,11 @@
   1.208       <td>Computed value:
   1.209  
   1.210       <td>as specified
   1.211 +
   1.212 +    <tr>
   1.213 +     <td>Animatable:
   1.214 +
   1.215 +     <td>no
   1.216    </table>
   1.217  
   1.218    <p>For any given character, fonts can provide a variety of alternate glyphs
   1.219 @@ -4486,6 +4567,11 @@
   1.220       <td>Computed value:
   1.221  
   1.222       <td>as specified
   1.223 +
   1.224 +    <tr>
   1.225 +     <td>Animatable:
   1.226 +
   1.227 +     <td>no
   1.228    </table>
   1.229  
   1.230    <p>Allows control of glyph substitution and sizing in East Asian text.
   1.231 @@ -4627,7 +4713,7 @@
   1.232      <tr>
   1.233       <td>Percentages:
   1.234  
   1.235 -     <td>N/A
   1.236 +     <td>see individual properties
   1.237  
   1.238      <tr>
   1.239       <td>Media:
   1.240 @@ -4637,7 +4723,12 @@
   1.241      <tr>
   1.242       <td>Computed value:
   1.243  
   1.244 -     <td>as specified
   1.245 +     <td>see individual properties
   1.246 +
   1.247 +    <tr>
   1.248 +     <td>Animatable:
   1.249 +
   1.250 +     <td>see individual properties
   1.251    </table>
   1.252  
   1.253    <p>The value ‘<a href="#normal2"><code
   1.254 @@ -4701,6 +4792,11 @@
   1.255       <td>Computed value:
   1.256  
   1.257       <td>as specified
   1.258 +
   1.259 +    <tr>
   1.260 +     <td>Animatable:
   1.261 +
   1.262 +     <td>no
   1.263    </table>
   1.264  
   1.265    <p>This property provides low-level control over OpenType font features. It
   1.266 @@ -4831,6 +4927,11 @@
   1.267       <td>Computed value:
   1.268  
   1.269       <td>as specified
   1.270 +
   1.271 +    <tr>
   1.272 +     <td>Animatable:
   1.273 +
   1.274 +     <td>no
   1.275    </table>
   1.276  
   1.277    <p>The value of ‘<a href="#normal2"><code
   1.278 @@ -6603,7 +6704,7 @@
   1.279  
   1.280       <td>yes
   1.281  
   1.282 -     <td>N/A
   1.283 +     <td>see individual properties
   1.284  
   1.285       <td>visual
   1.286  

mercurial