|
1 | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
2 | 2 | <html lang="en"> |
3 | | -<!-- $Id: fonts.src,v 2.107 2011-10-18 19:25:27 bbos Exp $ --> |
| 3 | +<!-- $Id: fonts.src,v 2.108 2013-05-02 18:09:15 bbos Exp $ --> |
4 | 4 | <head> |
5 | 5 | <title>Fonts</title> |
6 | 6 | <!--script src="http://www.w3c-test.org/css/harness/annotate.js#CSS21_DEV" type="text/javascript" defer></script--> |
@@ -198,14 +198,14 @@ body { font-family: "New Century Schoolbook", serif } |
198 | 198 | <BODY STYLE="font-family: '21st Century', fantasy"> |
199 | 199 | </pre> |
200 | 200 |
|
201 | | -<p>Font family <em>names</em> that happen to be the same as a keyword |
202 | | -value ('inherit', 'serif', 'sans-serif', 'monospace', 'fantasy', and |
203 | | -'cursive') must be quoted to prevent confusion with the keywords with |
204 | | -the same names. The keywords 'initial' and 'default' are reserved for |
205 | | -future use and must also be quoted when used as font names. UAs must |
206 | | -not consider these keywords as matching the '<family-name>' |
207 | | -type. |
208 | | -</p> |
| 201 | +<p>Unquoted font family <em>names</em> that happen to be the same as |
| 202 | +the keyword values 'inherit', 'default' and 'initial' or the generic |
| 203 | +font keywords ('serif', 'sans-serif', 'monospace', 'fantasy', and |
| 204 | +'cursive') do not match the '<family-name>' type. These names |
| 205 | +must be quoted to prevent confusion with the keywords with the same |
| 206 | +names. Note that 'font-family: Times, inherit' is therefore an invalid |
| 207 | +declaration, because 'inherit' in that position can neither be a valid |
| 208 | +keyword nor a valid font family name. |
209 | 209 |
|
210 | 210 |
|
211 | 211 | <h3><a name="generic-font-families">Generic font families</a></h3> |
|
0 commit comments