Skip to content

Commit 2899d98

Browse files
committed
[css-fonts-4][editorial] reduce bikeshed whining about formatting
1 parent a61308a commit 2899d98

1 file changed

Lines changed: 35 additions & 35 deletions

File tree

css-fonts-4/Overview.bs

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2730,7 +2730,7 @@ or font format.
27302730
}
27312731
</pre>
27322732

2733-
<div class="invalid example">
2733+
<div class="invalid example" id="ex-local-no-keywords">
27342734
For example, this use of <code>local()</code> would be an error:
27352735

27362736
<pre class="lang-css">
@@ -7120,7 +7120,7 @@ Applies to: all elements and text
71207120
Inherited: yes
71217121
Percentages: N/a
71227122
Computed value: specified keyword, identifier or <<palette-mix()>> function.
7123-
<<palette-mix()>> must be simplified to a single keyword or identifier if resulting palette is equivalent.
7123+
<<palette-mix()>> must be simplified to a single keyword or identifier if resulting palette is equivalent.
71247124
Animation type: by computed value
71257125
</pre>
71267126

@@ -7226,32 +7226,32 @@ With the <code>palette-mix()</code> function defined as follows:
72267226
If no applicable ''@font-palette-values'' rule is present,
72277227
this value behaves as ''font-palette/normal''.
72287228

7229-
<<palette-identifier>> is parsed as a <<dashed-ident>>.
7229+
<<palette-identifier>> is parsed as a <<dashed-ident>>.
72307230

7231-
Note: Such a CSS-defined palette may
7232-
be a reference to an existing palette already present in the font,
7233-
be a modification of an existing palette already present in the font,
7234-
or be an entirely new palette.
7231+
Note: Such a CSS-defined palette may
7232+
be a reference to an existing palette already present in the font,
7233+
be a modification of an existing palette already present in the font,
7234+
or be an entirely new palette.
72357235

72367236
<dt><dfn type><<palette-mix()>></dfn>
72377237
<dd>
7238-
This value defines a position in the interpolation between two palette values,
7239-
identified by <<palette-identifier>>, by the palette keywords
7240-
''font-palette/normal'', ''font-palette/light'', ''font-palette/dark'',
7241-
or by another <<palette-mix()>> value.
7238+
This value defines a position in the interpolation between two palette values,
7239+
identified by <<palette-identifier>>, by the palette keywords
7240+
''font-palette/normal'', ''font-palette/light'', ''font-palette/dark'',
7241+
or by another <<palette-mix()>> value.
72427242

7243-
The glyphs of the font must be rendered with a palette that is created by
7244-
interpolating for each palette color index between the matching color indices
7245-
of the first and second palette specified as arguments,
7246-
recursively resolving <<palette-mix()>> functions if needed.
7243+
The glyphs of the font must be rendered with a palette that is created by
7244+
interpolating for each palette color index between the matching color indices
7245+
of the first and second palette specified as arguments,
7246+
recursively resolving <<palette-mix()>> functions if needed.
72477247

7248-
For each palette color, the interpolation follows
7249-
the rules of the <<color-mix()>> function.
7248+
For each palette color, the interpolation follows
7249+
the rules of the <<color-mix()>> function.
72507250

7251-
When not specified otherwise the <<color-interpolation-method>> is
7252-
<code>in ''oklab''</code> as recommended by [[css-color-5#interpolation-space]].
7251+
When not specified otherwise the <<color-interpolation-method>> is
7252+
<code>in ''oklab''</code> as recommended by [[css-color-5#interpolation-space]].
72537253

7254-
Percentages are normalized according to [[css-color-5#color-mix-percent-norm]].
7254+
Percentages are normalized according to [[css-color-5#color-mix-percent-norm]].
72557255
</dl>
72567256

72577257
<wpt>
@@ -7266,34 +7266,34 @@ Note: The names 'light' and 'dark' describe the <i>background</i> the color pale
72667266
.banner {font-palette: dark;
72677267
}
72687268
}
7269-
</pre>
7269+
</pre>
72707270
</div>
72717271

72727272
<div class="example" id="ex-bixa-palette-anim">
72737273
Animate between palettes.
72747274

7275-
<pre>
7275+
<pre>
72767276
@font-palette-values --pink {
7277-
font-family: Nabla;
7278-
base-palette: 1;
7277+
font-family: Nabla;
7278+
base-palette: 1;
72797279
}
72807280
@font-palette-values --yellow {
7281-
font-family: Nabla;
7282-
base-palette: 7;
7281+
font-family: Nabla;
7282+
base-palette: 7;
72837283
}
72847284
@keyframes animate-palette {
7285-
from {
7286-
font-palette: --yellow;
7287-
}
7288-
to {
7289-
font-palette: --pink;
7290-
}
7285+
from {
7286+
font-palette: --yellow;
7287+
}
7288+
to {
7289+
font-palette: --pink;
7290+
}
72917291
}
72927292
p {
7293-
font-family: Nabla;
7294-
animation: animate-palette 1.4s infinite alternate linear;
7293+
font-family: Nabla;
7294+
animation: animate-palette 1.4s infinite alternate linear;
72957295
}
7296-
</pre>
7296+
</pre>
72977297

72987298
<figure>
72997299
<img src="images/nabla-animated.webp" alt="The word Animate animated between a pink and a yellow palette."/>

0 commit comments

Comments
 (0)