Skip to content

Commit 411f09b

Browse files
author
John Daggett
committed
[css3-fonts] fixup defn of feature values map
1 parent c936ac1 commit 411f09b

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

css-fonts/Fonts.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -115,15 +115,15 @@
115115

116116
<h1>CSS Fonts Module Level 3</h1>
117117

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
119119
July 2013</h2>
120120

121121
<dl id=authors>
122122
<dt>This version:
123123

124124
<dd><a
125125
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> -->
127127

128128

129129
<dt>Latest version:
@@ -5806,25 +5806,25 @@ <h3 id=om-fontfeaturevalues><span class=secno>8.2 </span>The <a
58065806
title="@ornaments">@ornaments</code> <a href="#featurevalueblock"><i
58075807
title="feature_value_block">feature value block</i></a> and so forth.
58085808

5809-
<p>The <code>CSSFontFeatureValuesMap</code> interface inherits the
5809+
<p>The <code>CSSFontFeatureValuesMap</code> interface uses the default
58105810
<code>clear</code>, <code>delete</code>, <code>get</code>, and
58115811
<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
58165816
exception if an invalid number of values is passed in. If the associated
58175817
<a href="#featurevalueblock"><i title="feature_value_block">feature value
58185818
block</i></a> only allows a limited number of values, the <code>set</code>
58195819
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
58225822
href="#multi-valued-feature-value-definitions">multi-valued feature value
58235823
definitions</a> for details on the maximum number of values allowed for a
58245824
given type of <a href="#featurevalueblock"><i
58255825
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.
58285828

58295829
<h2 class=no-num id=platform-props-to-css>Appendix A: Mapping platform font
58305830
properties to CSS properties</h2>

0 commit comments

Comments
 (0)