@@ -149,21 +149,21 @@ the 'ascent-override', 'descent-override', 'line-gap-override', and 'size-adjust
149149
150150<pre class='descdef'>
151151Name : ascent-override
152- Value : normal | <<percentage>>
152+ Value : normal | <<percentage>>{1,2}
153153For : @font-face
154154Initial : normal
155155</pre>
156156
157157<pre class='descdef'>
158158Name : descent-override
159- Value : normal | <<percentage>>
159+ Value : normal | <<percentage>>{1,2}
160160For : @font-face
161161Initial : normal
162162</pre>
163163
164164<pre class='descdef'>
165165Name : line-gap-override
166- Value : normal | <<percentage>>
166+ Value : normal | <<percentage>>{1,2}
167167For : @font-face
168168Initial : normal
169169</pre>
@@ -180,6 +180,15 @@ The 'ascent-override', 'descent-override', and 'line-gap-override' descriptors d
180180<a spec="CSS-INLINE-3">line gap metric</a> of the font, respectively. The `size-adjust`
181181descriptor defines a scalar by which glyph outlines and metrics from this font are multiplied.
182182
183+ The first value to 'ascent-override' , 'descent-override' , or 'line-gap-override' is used for
184+ vertical distance with upright glyph orientation (e.g. <a>horizontal writing modes</a> or
185+ <a>vertical writing modes</a> with <code> text-orientation: mixed</code> ) and horizontal
186+ distance with sideways glyph orientation (e.g. <a>vertical writing modes</a>
187+ with <code> text-orientation: sideways</code> . The second value to these descriptors, if it
188+ is present, is used for horizontal distance with upright glyph orientation in <a>vertical writing
189+ modes</a> . If only one value is present, the descriptor behaves as if that one value was repeated
190+ twice.
191+
183192When the descriptor value is 'normal' , the corresponding metric value is obtained as-if the
184193descriptor was absent from the <code> @font-face</code> block.
185194
@@ -274,14 +283,14 @@ Issue(5518):
274283
275284 <pre class='descdef'>
276285 Name : superscript-position-override
277- Value : normal | <<percentage>>
286+ Value : normal | <<percentage>>{1,2}
278287 For : @font-face
279288 Initial : normal
280289 </pre>
281290
282291 <pre class='descdef'>
283292 Name : subscript-position-override
284- Value : normal | <<percentage>>
293+ Value : normal | <<percentage>>{1,2}
285294 For : @font-face
286295 Initial : normal
287296 </pre>
@@ -300,7 +309,14 @@ Issue(5518):
300309 Initial : normal
301310 </pre>
302311
303-
312+ The first value to 'superscript-position-override' and 'subscript-position-override' is used for
313+ vertical distance with upright glyph orientation (e.g. <a>horizontal writing modes</a> or
314+ <a>vertical writing modes</a> with <code> text-orientation: mixed</code> ) and horizontal
315+ distance with sideways glyph orientation (e.g. <a>vertical writing modes</a>
316+ with <code> text-orientation: sideways</code> . The second value to these descriptors, if it
317+ is present, is used for horizontal distance with upright glyph orientation in <a>vertical writing
318+ modes</a> . If only one value is present, the descriptor behaves as if that one value was repeated
319+ twice.
304320
305321<h2 id="font-rend-props">
306322Font Feature Properties</h2>
0 commit comments