Skip to content

Commit 83eae74

Browse files
committed
[css-fonts-4] Fix more markup.
1 parent bd5ac0a commit 83eae74

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

css-fonts-4/Overview.bs

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2933,7 +2933,14 @@ Alternates and swashes: the 'font-variant-alternates' property</h3>
29332933

29342934
<pre class="propdef">
29352935
Name: font-variant-alternates
2936-
Value: normal | [ <<stylistic>> || <<historical-forms>> || <<styleset>> || <<character-variant>> || <<swash>> || <<ornaments>> || <<annotation>> ]
2936+
2937+
Value: normal | [ stylistic(<<feature-value-name>>) ||
2938+
historical-forms ||
2939+
styleset(<<feature-value-name>>#) ||
2940+
character-variant(<<feature-value-name>>#) ||
2941+
swash(<<feature-value-name>>) ||
2942+
ornaments(<<feature-value-name>>) ||
2943+
annotation(<<feature-value-name>>) ]
29372944
Initial: normal
29382945
Applies to: all elements
29392946
Inherited: yes
@@ -3020,7 +3027,7 @@ Individual values have the following meanings:
30203027
Some fonts may offer ornament glyphs as alternates for a wide collection of characters; however, displaying arbitrary
30213028
characters (e.g., alphanumerics) as ornaments is poor practice as it distorts the semantics of the data. Font designers
30223029
are encouraged to encode all ornaments (except those explicitly encoded in the Unicode Dingbats blocks, etc.) as
3023-
alternates for the bullet character (U+2022) to allow authors to select the desired glyph using 'ornaments'.
3030+
alternates for the bullet character (U+2022) to allow authors to select the desired glyph using ''ornaments()''.
30243031
</dd>
30253032

30263033
<div class="featex"><img alt="ornaments example" src="images/ornm.png"></div>
@@ -3249,10 +3256,10 @@ feature value block must be ignored.
32493256
<h4 id="multi-value-features">
32503257
Multi-valued feature value definitions</h4>
32513258

3252-
Most <em>font specific</em> 'font-variant-alternates' property
3253-
values take a single value (e.g. 'swash'). The 'character-variant'
3254-
property value allows two values and 'styleset' allows an unlimited
3255-
number.
3259+
Most <em>font specific</em> functional values of the 'font-variant-alternates' property
3260+
take a single value (e.g. ''swash()'').
3261+
The ''character-variant()'' property value allows two values
3262+
and ''styleset()'' allows an unlimited number.
32563263

32573264
For the styleset property value, multiple values indicate the style
32583265
sets to be enabled. Values between 1 and 99 enable OpenType features

0 commit comments

Comments
 (0)