[css3-fonts] fixup defn of feature values map

Mon, 08 Jul 2013 14:36:49 +0900

author
John Daggett <jdaggett@mozilla.com>
date
Mon, 08 Jul 2013 14:36:49 +0900
changeset 8653
cf5a35e610f8
parent 8652
9a3981ef04ce
child 8654
aad9d3a5502b

[css3-fonts] fixup defn of feature values map

css-fonts/Fonts.html file | annotate | diff | comparison | revisions
     1.1 --- a/css-fonts/Fonts.html	Sun Jul 07 01:11:54 2013 +0200
     1.2 +++ b/css-fonts/Fonts.html	Mon Jul 08 14:36:49 2013 +0900
     1.3 @@ -115,7 +115,7 @@
     1.4  
     1.5     <h1>CSS Fonts Module Level 3</h1>
     1.6  
     1.7 -   <h2 class="no-num no-toc" id=editors-draft-5-july-2013>Editor's Draft 5
     1.8 +   <h2 class="no-num no-toc" id=editors-draft-8-july-2013>Editor's Draft 8
     1.9      July 2013</h2>
    1.10  
    1.11     <dl id=authors>
    1.12 @@ -123,7 +123,7 @@
    1.13  
    1.14      <dd><a
    1.15       href="http://dev.w3.org/csswg/css-fonts/">http://dev.w3.org/csswg/css-fonts/</a>
    1.16 -     <!-- <dd><a href="http://www.w3.org/TR/2013/ED-css-fonts-3-20130705/">http://www.w3.org/TR/2013/ED-css-fonts-3-20130705/</a> -->
    1.17 +     <!-- <dd><a href="http://www.w3.org/TR/2013/ED-css-fonts-3-20130708/">http://www.w3.org/TR/2013/ED-css-fonts-3-20130708/</a> -->
    1.18       
    1.19  
    1.20      <dt>Latest version:
    1.21 @@ -5806,25 +5806,25 @@
    1.22     title="@ornaments">@ornaments</code> <a href="#featurevalueblock"><i
    1.23     title="feature_value_block">feature value block</i></a> and so forth.
    1.24  
    1.25 -  <p>The <code>CSSFontFeatureValuesMap</code> interface inherits the
    1.26 +  <p>The <code>CSSFontFeatureValuesMap</code> interface uses the default
    1.27     <code>clear</code>, <code>delete</code>, <code>get</code>, and
    1.28     <code>has</code> methods from <code>MapClass</code>. The <code>set</code>
    1.29 -   method takes an array of unsigned integers and associates it with a given
    1.30 -   <code>featureValueName</code>. The method behaves the same as the
    1.31 -   inherited method in <code>MapClass</code> except that either a single
    1.32 -   value or a sequence of values is permitted and the method throws and
    1.33 +   method takes a sequence of unsigned integers and associates it with a
    1.34 +   given <code>featureValueName</code>. The method behaves the same as the
    1.35 +   default method in <code>MapClass</code> except that a single unsigned long
    1.36 +   value is treated as a sequence of a single value. The method throws an
    1.37     exception if an invalid number of values is passed in. If the associated
    1.38     <a href="#featurevalueblock"><i title="feature_value_block">feature value
    1.39     block</i></a> only allows a limited number of values, the <code>set</code>
    1.40     method throws an <code>InvalidAccessError</code> exception when the input
    1.41 -   array to <code>set</code> contains more than the limited number of values.
    1.42 -   See the description of <a
    1.43 +   sequence to <code>set</code> contains more than the limited number of
    1.44 +   values. See the description of <a
    1.45     href="#multi-valued-feature-value-definitions">multi-valued feature value
    1.46     definitions</a> for details on the maximum number of values allowed for a
    1.47     given type of <a href="#featurevalueblock"><i
    1.48     title="feature_value_block">feature value block</i></a>. The
    1.49 -   <code>get</code> method always returns an array of values, even if the
    1.50 -   array only contains a single value.
    1.51 +   <code>get</code> method always returns a sequence of values, even if the
    1.52 +   sequence only contains a single value.
    1.53  
    1.54    <h2 class=no-num id=platform-props-to-css>Appendix A: Mapping platform font
    1.55     properties to CSS properties</h2>

mercurial