Skip to content

Commit 1a5b9bc

Browse files
committed
[css-fonts-3] edits to fix w3c#2796
1 parent e5bd629 commit 1a5b9bc

1 file changed

Lines changed: 8 additions & 21 deletions

File tree

css-fonts-3/Fonts.src.html

Lines changed: 8 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -169,24 +169,7 @@ <h2 class="no-num no-toc" id=status>Status of this document</h2>
169169

170170
<h3 class="no-num no-toc" id="atrisk">Features at risk</h3>
171171

172-
<p>The following features are at risk; if interoperable
173-
implementations are not found, they may be removed to advance the other
174-
features in this specification to Proposed Recommendation:</p>
175-
176-
<ul>
177-
<li>fallback handling for text decoration in superscript/subscript variant glyphs ('font-variant-position')</li>
178-
<li>The <em>font specific</em> functions accepted by 'font-variant-alternates' and 'font-variant'. This includes the entire <code>@font-feature-values</code> at-rule, as well as the following functions:
179-
<ul>
180-
<li><a href="#stylistic">stylistic()</a></li>
181-
<li><a href="#styleset">styleset()</a></li>
182-
<li><a href="#character-variant">character-variant()</a></li>
183-
<li><a href="#swash">swash()</a></li>
184-
<li><a href="#ornaments">ornaments()</a></li>
185-
<li><a href="#annotation">annotation()</a></li>
186-
</ul>
187-
</li>
188-
<li>Synthesis of the 'font-variant-position' property</li>
189-
</ul>
172+
<!-- at-risk features removed in prepartion for Proposed Recommendation-->
190173

191174
<nav id="toc">
192175
<h2 class="no-num no-toc" id="contents">Table of contents</h2>
@@ -3030,19 +3013,23 @@ <h3 id="font-variant-position-prop">Subscript and superscript forms: the <a href
30303013
<p>Because of the semantic nature of subscripts and superscripts, when
30313014
the value is either 'sub' or 'super' for a given contiguous run of
30323015
text, if a variant glyph is not available for all the characters in
3033-
the run, simulated glyphs must be synthesized for all characters using
3016+
the run, simulated glyphs <!-- must --> should be synthesized for all characters using
30343017
reduced forms of the glyphs that would be used without this feature
30353018
applied. This is done per run to avoid a mixture of variant glyphs and
30363019
synthesized ones that would not align correctly. In the case of OpenType
30373020
fonts that lack subscript or superscript glyphs for a given character,
3038-
user agents must synthesize appropriate subscript and superscript
3021+
user agents <!-- must --> should synthesize appropriate subscript and superscript
30393022
glyphs.</p>
30403023

30413024
<div class="figure"><img alt="alternate superscripts vs. glyphs synthesized using superscript metrics" src="superscript-alt-synth.png" /><p class="caption">Superscript alternate glyph (left), synthesized superscript glyphs (middle), and incorrect mixture of the two (right)</p></div>
30423025

3026+
<!--
3027+
at-risk must downgraded to should
3028+
see https://github.com/w3c/csswg-drafts/issues/2796#issuecomment-398565265
3029+
-->
30433030
<p>In situations where text decorations are only applied to runs
30443031
of text containing superscript or subscript glyphs, the synthesized
3045-
glyphs must be used to avoid problems with the placement of decorations.</p>
3032+
glyphs <!-- must --> should be used, to avoid problems with the placement of decorations.</p>
30463033

30473034
<p>In the past, user agents have used font-size and
30483035
vertical-align to simulate subscripts and superscripts for the

0 commit comments

Comments
 (0)