|
115 | 115 |
|
116 | 116 | <h1>CSS Fonts Module Level 3</h1> |
117 | 117 |
|
118 | | - <h2 class="no-num no-toc" id=editors-draft-5-july-2013>Editor's Draft 5 |
| 118 | + <h2 class="no-num no-toc" id=editors-draft-8-july-2013>Editor's Draft 8 |
119 | 119 | July 2013</h2> |
120 | 120 |
|
121 | 121 | <dl id=authors> |
122 | 122 | <dt>This version: |
123 | 123 |
|
124 | 124 | <dd><a |
125 | 125 | href="http://dev.w3.org/csswg/css-fonts/">http://dev.w3.org/csswg/css-fonts/</a> |
126 | | - <!-- <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> --> |
| 126 | + <!-- <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> --> |
127 | 127 |
|
128 | 128 |
|
129 | 129 | <dt>Latest version: |
@@ -5806,25 +5806,25 @@ <h3 id=om-fontfeaturevalues><span class=secno>8.2 </span>The <a |
5806 | 5806 | title="@ornaments">@ornaments</code> <a href="#featurevalueblock"><i |
5807 | 5807 | title="feature_value_block">feature value block</i></a> and so forth. |
5808 | 5808 |
|
5809 | | - <p>The <code>CSSFontFeatureValuesMap</code> interface inherits the |
| 5809 | + <p>The <code>CSSFontFeatureValuesMap</code> interface uses the default |
5810 | 5810 | <code>clear</code>, <code>delete</code>, <code>get</code>, and |
5811 | 5811 | <code>has</code> methods from <code>MapClass</code>. The <code>set</code> |
5812 | | - method takes an array of unsigned integers and associates it with a given |
5813 | | - <code>featureValueName</code>. The method behaves the same as the |
5814 | | - inherited method in <code>MapClass</code> except that either a single |
5815 | | - value or a sequence of values is permitted and the method throws and |
| 5812 | + method takes a sequence of unsigned integers and associates it with a |
| 5813 | + given <code>featureValueName</code>. The method behaves the same as the |
| 5814 | + default method in <code>MapClass</code> except that a single unsigned long |
| 5815 | + value is treated as a sequence of a single value. The method throws an |
5816 | 5816 | exception if an invalid number of values is passed in. If the associated |
5817 | 5817 | <a href="#featurevalueblock"><i title="feature_value_block">feature value |
5818 | 5818 | block</i></a> only allows a limited number of values, the <code>set</code> |
5819 | 5819 | method throws an <code>InvalidAccessError</code> exception when the input |
5820 | | - array to <code>set</code> contains more than the limited number of values. |
5821 | | - See the description of <a |
| 5820 | + sequence to <code>set</code> contains more than the limited number of |
| 5821 | + values. See the description of <a |
5822 | 5822 | href="#multi-valued-feature-value-definitions">multi-valued feature value |
5823 | 5823 | definitions</a> for details on the maximum number of values allowed for a |
5824 | 5824 | given type of <a href="#featurevalueblock"><i |
5825 | 5825 | title="feature_value_block">feature value block</i></a>. The |
5826 | | - <code>get</code> method always returns an array of values, even if the |
5827 | | - array only contains a single value. |
| 5826 | + <code>get</code> method always returns a sequence of values, even if the |
| 5827 | + sequence only contains a single value. |
5828 | 5828 |
|
5829 | 5829 | <h2 class=no-num id=platform-props-to-css>Appendix A: Mapping platform font |
5830 | 5830 | properties to CSS properties</h2> |
|
0 commit comments