Skip to content

Commit c28974a

Browse files
committed
x
1 parent 4d101e8 commit c28974a

1 file changed

Lines changed: 30 additions & 50 deletions

File tree

css3-values/Overview.html

Lines changed: 30 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -238,13 +238,6 @@ <h2 class="no-num no-toc" id=contents>Table of contents</h2>
238238
<li><a href="#the-gr-unit"><span class=secno>6.14.1 </span>The
239239
&lsquo;<code class=property>gr</code>&rsquo; unit</a>
240240
</ul>
241-
242-
<li><a href="#special-cases"><span class=secno>6.15 </span>Special
243-
cases</a>
244-
<ul class=toc>
245-
<li><a href="#font-families"><span class=secno>6.15.1 </span>Font
246-
families</a>
247-
</ul>
248241
</ul>
249242

250243
<li><a href="#specified-computed-used-and-actual-value"><span
@@ -1445,48 +1438,38 @@ <h4 id=the-gr-unit><span class=secno>6.14.1 </span>The &lsquo;<code
14451438
<div class=example>
14461439
<p>For example, "2gr" is not necessarily twice as long as "1gr".
14471440
</div>
1441+
<!--
14481442
1449-
<h3 id=special-cases><span class=secno>6.15 </span>Special cases</h3>
1450-
1451-
<p>Two common types of values fall outside the types described above: the
1452-
value for font families and the hexadecimal color notation.
1453-
1454-
<h4 id=font-families><span class=secno>6.15.1 </span>Font families</h4>
1455-
1456-
<p>The <span class=property>&lsquo;<code
1457-
class=property>font</code>&rsquo;</span> and <span
1458-
class=property>&lsquo;<code
1459-
class=property>font-family</code>&rsquo;</span> properties accept a
1460-
comma-separated list of font families. Font families can either be the
1461-
name of a certain font, or it can be one of five <em class=index
1462-
id=generic-font-families>generic font families</em>: &lsquo;<code
1463-
class=property>serif</code>&rsquo;, &lsquo;<code
1464-
class=property>sans-serif</code>&rsquo;, &lsquo;<code
1465-
class=property>cursive</code>&rsquo;,&lsquo;<code
1466-
class=property>fantasy</code>&rsquo;, and &lsquo;<code
1467-
class=property>monospace</code>&rsquo;. Font family names are like
1468-
strings, except that the quotes around them may be omitted. If quoting is
1469-
omitted, any white space characters before and after the font name are
1470-
ignored and any sequence of white space characters inside the font name is
1471-
converted to a single space. Font family names that happen to be the same
1472-
as a keyword value (e.g. &lsquo;<code
1473-
class=property>initial</code>&rsquo;, &lsquo;<code
1474-
class=property>inherit</code>&rsquo;, &lsquo;<code
1475-
class=property>default</code>&rsquo;, &lsquo;<code
1476-
class=property>serif</code>&rsquo;, &lsquo;<code
1477-
class=property>sans-serif</code>&rsquo;, &lsquo;<code
1478-
class=property>monospace</code>&rsquo;, &lsquo;<code
1479-
class=property>fantasy</code>&rsquo;, and &lsquo;<code
1480-
class=property>cursive</code>&rsquo;) must be quoted to prevent confusion
1481-
with the keywords with the same names. UAs must not consider these
1482-
keywords as matching the &lsquo;<code
1483-
class=css>&lt;family-name&gt;</code>&rsquo; type.
1484-
1485-
<p>Generic font family names are keywords and must not be quoted.
1443+
<h3>Special cases</h3>
14861444
1487-
<div class=example>
1488-
<pre>body { font-family: "Helvetica", "Univers", "Arial", sans-serif }</pre>
1489-
</div>
1445+
<p>Two common types of values fall outside the types
1446+
described above: the value for font families and the hexadecimal color
1447+
notation.
1448+
1449+
<h4>Font families</h4>
1450+
1451+
<p>The <span class="property">&lsquo;<code class=property>font</code>&rsquo;</span>
1452+
and <span class="property">&lsquo;<code class=property>font-family</code>&rsquo;</span> properties accept a
1453+
comma-separated list of font families. Font families can either be the
1454+
name of a certain font, or it can be one of
1455+
five <em class="index">generic font families</em>: &lsquo;<code class=property>serif</code>&rsquo;,
1456+
&lsquo;<code class=property>sans-serif</code>&rsquo;, &lsquo;<code class=property>cursive</code>&rsquo;,&lsquo;<code class=property>fantasy</code>&rsquo;, and &lsquo;<code class=property>monospace</code>&rsquo;. Font family names
1457+
are like strings, except that the quotes around them may be omitted.
1458+
If quoting is omitted, any white space characters before and after the
1459+
font name are ignored and any sequence of white space characters
1460+
inside the font name is converted to a single space. Font family names
1461+
that happen to be the same as a keyword value (e.g. &lsquo;<code class=property>initial</code>&rsquo;,
1462+
&lsquo;<code class=property>inherit</code>&rsquo;, &lsquo;<code class=property>default</code>&rsquo;, &lsquo;<code class=property>serif</code>&rsquo;, &lsquo;<code class=property>sans-serif</code>&rsquo;, &lsquo;<code class=property>monospace</code>&rsquo;, &lsquo;<code class=property>fantasy</code>&rsquo;,
1463+
and &lsquo;<code class=property>cursive</code>&rsquo;) must be quoted to prevent confusion with the keywords
1464+
with the same names. UAs must not consider these keywords as matching
1465+
the &lsquo;<code class=css>&lt;family-name&gt;</code>&rsquo; type.
1466+
1467+
<p>Generic font family names are keywords and must not be quoted.
1468+
1469+
<div class="example">
1470+
<pre>body { font-family: "Helvetica", "Univers", "Arial", sans-serif }</pre>
1471+
</div>
1472+
-->
14901473

14911474
<h2 id=specified-computed-used-and-actual-value><span class=secno>7
14921475
</span>Specified, computed, used, and actual values</h2>
@@ -1947,9 +1930,6 @@ <h2 class=no-num id=index>Index</h2>
19471930
<li>functional notation, <a href="#functional-notation0" title="functional
19481931
notation"><strong>4.6</strong></a>
19491932

1950-
<li>generic font families, <a href="#generic-font-families" title="generic
1951-
font families">6.15.1</a>
1952-
19531933
<li>grad (grads), <a href="#grad" title="grad
19541934
(grads)"><strong>6.7</strong></a>
19551935

0 commit comments

Comments
 (0)