Skip to content

Commit 5cd5349

Browse files
committed
[fonts-4] Fix fatal errors. Sidestep error in grammar def, because I'll replace it in a bit.
1 parent a46c981 commit 5cd5349

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

css-fonts-4/Overview.bs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ This property allows authors to specify an <a>aspect value</a> for an element th
810810
will effectively preserve the x-height of the first choice font, whether it is substituted
811811
or not. Values have the following meanings:
812812

813-
<dl>
813+
<dl dfn-type=value dfn-for=font-size-adjust>
814814
<dt><dfn id="font-size-adjust-none-value">none</dfn>
815815
<dd>
816816
Do not preserve the font's x-height.
@@ -1310,7 +1310,7 @@ the ability to disable downloadable font resources, <code>@font-face</code> rule
13101310
simply be ignored; the behavior of individual descriptors as defined in this
13111311
specification should not be altered.
13121312

1313-
<h3 id="font-family-desc">Font family: the <a href="#descdef-font-family">font-family</a> descriptor</h3>
1313+
<h3 id="font-family-desc">Font family: the '@font-face/font-family' descriptor</h3>
13141314

13151315
<pre class='descdef mq'>
13161316
Name: font-family
@@ -2428,7 +2428,7 @@ Animatable: no
24282428

24292429
Typographically, text rendered at different sizes often benefits from slightly different visual representations. For example, to aid reading at small text sizes, strokes is often thicker with larger serifs. Larger text often has a more delicate figure with more contrast between thicker and thinner strokes.
24302430

2431-
<dl>
2431+
<dl dfn-type=value dfn-for=font-optical-sizing>
24322432
<dt><dfn id="font-optical-sizing-auto-value">auto</dfn>
24332433
<dd>
24342434
The user agent may modify the shape of glyphs based on the font-size and the pixel density of the screen. For OpenType and TrueType fonts using font variations, this is often done by using the "opsz" font variation.
@@ -2577,7 +2577,7 @@ The '@font-palette-values' rule consists of the '@font-palette-values' at-keywor
25772577
: <a>FONT_PALETTE_VALUES_SYM</a> <a href="https://www.w3.org/TR/CSS21/grammar.html#scanner"><a>S</a></a>* '{' <a href="https://www.w3.org/TR/CSS21/grammar.html#scanner"><a>S</a></a>* <a>descriptor_declaration</a>? [ ';' <a href="https://www.w3.org/TR/CSS21/grammar.html#scanner"><a>S</a></a>* <a>descriptor_declaration</a>? ]* '}' <a href="https://www.w3.org/TR/CSS21/grammar.html#scanner"><a>S</a></a>*
25782578
;
25792579

2580-
<dfn>descriptor_declaration</dfn>
2580+
<dfn>descriptor_declaration2</dfn>
25812581
: <a href="https://www.w3.org/TR/CSS21/grammar.html#grammar"><a>property</a></a> ':' <a href="https://www.w3.org/TR/CSS21/grammar.html#scanner"><a>S</a></a>* <a href="https://www.w3.org/TR/CSS21/grammar.html#grammar"><a>expr</a></a>
25822582
;
25832583
</pre>

0 commit comments

Comments
 (0)