Skip to content

Commit bf77c27

Browse files
committed
[css2] Generated. Do not edit!
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%403003
1 parent 59cdbc5 commit bf77c27

File tree

14 files changed

+455
-427
lines changed

14 files changed

+455
-427
lines changed

css2/css2.html

Lines changed: 62 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -8089,9 +8089,7 @@ <h3>9.3.2 <a name="position-props">Box offsets</a>: <a href="visuren.html#propde
80898089
<tr valign=baseline><td><em>Inherited:</em>&nbsp;&nbsp;<td>no
80908090
<tr valign=baseline><td><em>Percentages:</em>&nbsp;&nbsp;<td>refer to height of containing block
80918091
<tr valign=baseline><td><em>Media:</em>&nbsp;&nbsp;<td><a href="media.html#visual-media-group" class="noxref">visual</a>
8092-
<tr valign=baseline><td><em>Computed&nbsp;value:</em>&nbsp;&nbsp;<td>for 'position:relative', see section
8093-
<a href="visuren.html#relative-positioning">Relative
8094-
Positioning.</a> For 'position:static', 'auto'. Otherwise: if
8092+
<tr valign=baseline><td><em>Computed&nbsp;value:</em>&nbsp;&nbsp;<td>for 'position:static', 'auto'. Otherwise: if
80958093
specified as a length, the corresponding absolute length; if
80968094
specified as a percentage, the specified value; otherwise, 'auto'.
80978095
</table>
@@ -8119,9 +8117,7 @@ <h3>9.3.2 <a name="position-props">Box offsets</a>: <a href="visuren.html#propde
81198117
<tr valign=baseline><td><em>Inherited:</em>&nbsp;&nbsp;<td>no
81208118
<tr valign=baseline><td><em>Percentages:</em>&nbsp;&nbsp;<td>refer to width of containing block
81218119
<tr valign=baseline><td><em>Media:</em>&nbsp;&nbsp;<td><a href="media.html#visual-media-group" class="noxref">visual</a>
8122-
<tr valign=baseline><td><em>Computed&nbsp;value:</em>&nbsp;&nbsp;<td>for 'position:relative', see section
8123-
<a href="visuren.html#relative-positioning">Relative
8124-
Positioning.</a> For 'position:static', 'auto'. Otherwise: if
8120+
<tr valign=baseline><td><em>Computed&nbsp;value:</em>&nbsp;&nbsp;<td>for 'position:static', 'auto'. Otherwise: if
81258121
specified as a length, the corresponding absolute length; if
81268122
specified as a percentage, the specified value; otherwise,
81278123
'auto'.
@@ -8148,9 +8144,7 @@ <h3>9.3.2 <a name="position-props">Box offsets</a>: <a href="visuren.html#propde
81488144
<tr valign=baseline><td><em>Inherited:</em>&nbsp;&nbsp;<td>no
81498145
<tr valign=baseline><td><em>Percentages:</em>&nbsp;&nbsp;<td>refer to height of containing block
81508146
<tr valign=baseline><td><em>Media:</em>&nbsp;&nbsp;<td><a href="media.html#visual-media-group" class="noxref">visual</a>
8151-
<tr valign=baseline><td><em>Computed&nbsp;value:</em>&nbsp;&nbsp;<td>for 'position:relative', see section
8152-
<a href="visuren.html#relative-positioning">Relative
8153-
Positioning.</a> For 'position:static', 'auto'. Otherwise: if
8147+
<tr valign=baseline><td><em>Computed&nbsp;value:</em>&nbsp;&nbsp;<td>for 'position:static', 'auto'. Otherwise: if
81548148
specified as a length, the corresponding absolute length; if
81558149
specified as a percentage, the specified value; otherwise, 'auto'.
81568150
</table>
@@ -8176,9 +8170,7 @@ <h3>9.3.2 <a name="position-props">Box offsets</a>: <a href="visuren.html#propde
81768170
<tr valign=baseline><td><em>Inherited:</em>&nbsp;&nbsp;<td>no
81778171
<tr valign=baseline><td><em>Percentages:</em>&nbsp;&nbsp;<td>refer to width of containing block
81788172
<tr valign=baseline><td><em>Media:</em>&nbsp;&nbsp;<td><a href="media.html#visual-media-group" class="noxref">visual</a>
8179-
<tr valign=baseline><td><em>Computed&nbsp;value:</em>&nbsp;&nbsp;<td>for 'position:relative', see section
8180-
<a href="visuren.html#relative-positioning">Relative
8181-
Positioning.</a> For 'position:static', 'auto'. Otherwise: if
8173+
<tr valign=baseline><td><em>Computed&nbsp;value:</em>&nbsp;&nbsp;<td>for 'position:static', 'auto'. Otherwise: if
81828174
specified as a length, the corresponding absolute length; if
81838175
specified as a percentage, the specified value; otherwise,
81848176
'auto'.
@@ -8451,16 +8443,16 @@ <h3>9.4.3 <a name="relative-positioning">Relative positioning</a></h3>
84518443
box(es) horizontally, without changing their size. 'left' moves the
84528444
boxes to the right, and 'right' moves them to the left. Since boxes
84538445
are not split or stretched as a result of 'left' or 'right', the
8454-
computed values are always: left = -right.
8446+
used values are always: left = -right.
84558447
</p>
84568448
<p>If both 'left' and 'right' are 'auto' (their initial values), the
8457-
computed values are '0' (i.e., the boxes stay in their original
8449+
used values are '0' (i.e., the boxes stay in their original
84588450
position).
84598451
</p>
8460-
<p>If 'left' is 'auto', its computed value is minus the value of 'right'
8452+
<p>If 'left' is 'auto', its used value is minus the value of 'right'
84618453
(i.e., the boxes move to the left by the value of 'right').
84628454
</p>
8463-
<p>If 'right' is specified as 'auto', its computed value is minus the
8455+
<p>If 'right' is specified as 'auto', its used value is minus the
84648456
value of 'left'.
84658457
</p>
84668458
<p>If neither 'left' nor 'right' is 'auto', the position is
@@ -8481,10 +8473,10 @@ <h3>9.4.3 <a name="relative-positioning">Relative positioning</a></h3>
84818473
element(s) up or down without changing their size. 'top' moves the
84828474
boxes down, and 'bottom' moves them up. Since boxes
84838475
are not split or stretched as a result of 'top' or 'bottom', the
8484-
computed values are always: top = -bottom.
8485-
If both are 'auto', their computed values are both '0'. If one of them is
8476+
used values are always: top = -bottom.
8477+
If both are 'auto', their used values are both '0'. If one of them is
84868478
'auto', it becomes the negative of the other. If neither is 'auto',
8487-
'bottom' is ignored (i.e., the computed value of 'bottom' will be
8479+
'bottom' is ignored (i.e., the used value of 'bottom' will be
84888480
minus the value of 'top').
84898481
</p>
84908482

@@ -9550,7 +9542,7 @@ <h3>9.9.1 <a name="z-index">Specifying the stack level</a>: the <a href="visuren
95509542
<li>the in-flow, inline-level, non-positioned descendants, including
95519543
inline tables and inline blocks.
95529544

9553-
<li>the stacking contexts with stack level 0, and the positioned
9545+
<li>the child stacking contexts with stack level 0, and the positioned
95549546
descendants with 'z-index: auto'.
95559547

95569548
<li>the child stacking contexts with positive stack levels (least
@@ -11378,11 +11370,12 @@ <h3>10.8.1 <a name="leading">Leading and half-leading</a></h3>
1137811370
is composed of <a href="visuren.html#inline-level">inline-level</a>
1137911371
elements, 'line-height' specifies the <em>minimal</em> height of line boxes
1138011372
within the element. The minimum height consists of a minimum height above
11381-
the block's baseline and a minimum depth below it, exactly as if each
11373+
the baseline and a minimum depth below it, exactly as if each
1138211374
line box starts with a <a name="strut">zero-width inline box with the
11383-
block's font and line height properties (what T<sub>E</sub>X calls a
11384-
"strut").</a>
11375+
element's font and line height properties.</a> We call that imaginary
11376+
box a "strut." (The name is inspired by TeX.).
1138511377
</p>
11378+
1138611379
<p>The height and depth of the font above and below the baseline are
1138711380
assumed to be metrics that are contained in the font. (For more
1138811381
details, see CSS level&nbsp;3.)
@@ -14422,7 +14415,7 @@ <h2>15.2 <a name="algorithm">Font matching algorithm</a></h2>
1442214415
<ol>
1442314416

1442414417
<li>The User Agent makes (or accesses) a database of relevant CSS&nbsp;2.1
14425-
properties of all the fonts of which the UA is aware.
14418+
properties of all the fonts of which the UA is aware.
1442614419
If there are two fonts with exactly the same properties, the user
1442714420
agent selects one of them.
1442814421
</li>
@@ -14471,7 +14464,7 @@ <h2>15.2 <a name="algorithm">Font matching algorithm</a></h2>
1447114464
font labeled as 'small-caps', (2) a font in which the small caps are
1447214465
synthesized, or (3) a font where all lowercase letters are replaced by
1447314466
upper case letters. A small-caps font may be synthesized by
14474-
electronically scaling uppercase letters from a normal font.
14467+
electronically scaling uppercase letters from a normal font.
1447514468
'normal' matches a font's normal (non-small-caps) variant. A font cannot fail to have a normal variant. A font
1447614469
that is only available as small-caps shall be selectable as either a 'normal' face or a 'small-caps' face.
1447714470
</li>
@@ -14482,7 +14475,7 @@ <h2>15.2 <a name="algorithm">Font matching algorithm</a></h2>
1448214475
UA-dependent margin of tolerance. (Typically, sizes for scalable fonts
1448314476
are rounded to the nearest whole pixel, while the tolerance for
1448414477
bitmapped fonts could be as large as 20%.) Further computations, e.g.,
14485-
by 'em' values in other properties, are based on
14478+
by 'em' values in other properties, are based on
1448614479
the computed value of 'font-size'.
1448714480
</li>
1448814481

@@ -14558,23 +14551,39 @@ <h2>15.3 <a name="font-family-prop">Font family</a>: the <a href="fonts.html#pro
1455814551
</dd>
1455914552
</dl>
1456014553

14561-
<p>If an unquoted font family name contains
14562-
parentheses, brackets, and/or braces, they must still be
14563-
escaped per CSS grammar rules. Similarly, quotation marks (both single and double), semicolons,
14564-
exclamation marks, commas, and leading slashes within unquoted font family names must be escaped.
14565-
Font names containing any such characters or white space should be quoted:
14566-
</p>
14554+
<p>Font family names must either be given quoted as <a
14555+
href="syndata.html#strings">strings,</a> or unquoted as a sequence of
14556+
one or more <a
14557+
href="syndata.html#value-def-identifier">identifiers.</a> This means
14558+
most punctuation characters and digits at the start of each token must
14559+
be escaped in unquoted font family names.
14560+
14561+
<p>For example, the following declarations are invalid:
14562+
14563+
<pre>
14564+
font-family: Red/Black, sans-serif;
14565+
font-family: "Lucida" Grande, sans-serif;
14566+
font-family: Ahem!, sans-serif;
14567+
font-family: test@foo, sans-serif;
14568+
font-family: #POUND, sans-serif;
14569+
font-family: Hawaii 5-0, sans-serif;
14570+
</pre>
14571+
14572+
<p>If a sequence of identifiers is given as a font family name, the
14573+
computed value is the name converted to a string by joining all the
14574+
identifiers in the sequence by single spaces.
14575+
14576+
<p>To avoid mistakes in escaping, it is recommended to quote font
14577+
family names that contain white space, digits, or punctuation
14578+
characters other than hyphens:
1456714579

1456814580
<pre>
1456914581
body { font-family: "New Century Schoolbook", serif }
14570-
14571-
&lt;BODY STYLE="font-family: 'My own font', fantasy"&gt;
14582+
14583+
&lt;BODY STYLE="font-family: '21st Century', fantasy">
1457214584
</pre>
1457314585

14574-
<p>If quoting is omitted, any white space characters before and after
14575-
the font name are ignored and any sequence of white space characters
14576-
inside the font name is converted to a single space.
14577-
Font family <em>names</em> that happen to be the same as a keyword
14586+
<p>Font family <em>names</em> that happen to be the same as a keyword
1457814587
value ('inherit', 'serif', 'sans-serif', 'monospace', 'fantasy', and
1457914588
'cursive') must be quoted to prevent confusion with the keywords with
1458014589
the same names. The keywords 'initial' and 'default' are reserved for
@@ -14811,7 +14820,7 @@ <h2>15.5 <a name="small-caps">Small-caps</a>: the
1481114820
replacement for a small-caps font.
1481214821
</p>
1481314822
<p>The following example results in an 'H3' element in small-caps,
14814-
with any emphasized words in oblique, and any emphasized words within
14823+
with any emphasized words in oblique, and any emphasized words within
1481514824
an 'H3' oblique small-caps:
1481614825
</p>
1481714826
<pre>
@@ -14872,7 +14881,7 @@ <h2>15.6 <a name="font-boldness">Font boldness</a>: the
1487214881
values are names that are descriptive of the "weight" of a font. There
1487314882
is no accepted, universal meaning to these weight names. Their primary
1487414883
role is to distinguish faces of differing darkness within a single
14875-
font family. Usage across font families is quite variant; for example,
14884+
font family. Usage across font families is quite variant; for example,
1487614885
a font that one might think of as being bold might be described as
1487714886
being <em>Regular, Roman, Book, Medium, Semi-</em> or <em>DemiBold,
1487814887
Bold,</em> or <em>Black,</em> depending on how black the "normal" face
@@ -15030,8 +15039,8 @@ <h2>15.7 <a name="font-size-props">Font size</a>: the <a href="fonts.html#propde
1503015039
<dd>An &lt;absolute-size&gt; keyword is an index to a table of font
1503115040
sizes computed and kept by the UA. Possible values are:
1503215041
<p> [ xx-small | x-small | small | medium | large | x-large | xx-large ]</p>
15033-
<p>The following table provides user agent guidelines for the absolute-size
15034-
mapping to HTML heading and absolute font-sizes. The 'medium' value is
15042+
<p>The following table provides user agent guidelines for the absolute-size
15043+
mapping to HTML heading and absolute font-sizes. The 'medium' value is
1503515044
the user's preferred font size and is used as the reference middle value.</p>
1503615045

1503715046
<table border="1" style="border-collapse: collapse" width="73%" id="AutoNumber2">
@@ -15069,10 +15078,10 @@ <h2>15.7 <a name="font-size-props">Font size</a>: the <a href="fonts.html#propde
1506915078
to another.
1507015079
</p>
1507115080

15072-
<p class="note"><em><strong>Note 1.</strong> To preserve readability, a UA applying
15081+
<p class="note"><em><strong>Note 1.</strong> To preserve readability, a UA applying
1507315082
these guidelines should nevertheless avoid creating font-size resulting
1507415083
in less than 9 pixels per EM unit on a computer display.</em></p>
15075-
15084+
1507615085
<p class="note"><em><strong>Note 2.</strong> In CSS1, the suggested
1507715086
scaling factor between adjacent indexes was 1.5, which user experience
1507815087
proved to be too large. In CSS2, the suggested scaling factor for a
@@ -15157,10 +15166,10 @@ <h2>15.8 <a name="font-shorthand">Shorthand font property</a>: the <a href="font
1515715166
typographical shorthand notation to set multiple properties related to
1515815167
fonts.
1515915168
</p>
15160-
<p>All font-related properties are first reset to their initial values,
15161-
including those listed in the preceding paragraph.
15162-
Then, those properties that are given explicit values in the
15163-
<a href="fonts.html#propdef-font" class="noxref"><span class="propinst-font">'font'</span></a> shorthand are set to those values.
15169+
<p>All font-related properties are first reset to their initial values,
15170+
including those listed in the preceding paragraph.
15171+
Then, those properties that are given explicit values in the
15172+
<a href="fonts.html#propdef-font" class="noxref"><span class="propinst-font">'font'</span></a> shorthand are set to those values.
1516415173
For a definition of allowed and initial values, see the previously defined properties.
1516515174
</p>
1516615175
<pre>
@@ -15206,7 +15215,7 @@ <h2>15.8 <a name="font-shorthand">Shorthand font property</a>: the <a href="font
1520615215
</dl>
1520715216

1520815217
<p>System fonts may only be set as a whole; that is, the font
15209-
family, size, weight, style, etc. are all set at the same time.
15218+
family, size, weight, style, etc. are all set at the same time.
1521015219
These values may then be altered individually if desired. If no
1521115220
font with the indicated characteristics exists on a given platform,
1521215221
the user agent should either intelligently substitute (e.g., a smaller
@@ -15250,7 +15259,7 @@ <h2>15.8 <a name="font-shorthand">Shorthand font property</a>: the <a href="font
1525015259
font-weight: 600;
1525115260
font-size: 9px;
1525215261
line-height: normal;
15253-
}
15262+
}
1525415263
</pre>
1525515264

1525615265
</div>
@@ -15395,9 +15404,9 @@ <h2>16.2 <a name="alignment-prop">Alignment:</a> the <a href="text.html#propdef-
1539515404
class="propinst-word-spacing">'word-spacing'</span></a>.)
1539615405
</p>
1539715406
<p>
15398-
If the computed value of text-align is 'justify' while the computed
15399-
value of white-space is 'pre' or 'pre-line', the actual value of
15400-
text-align is set to the initial value.
15407+
If an element has a computed value for 'white-space' of 'pre' or
15408+
'pre-wrap', then neither the glyphs of that element's text content nor
15409+
its white space may be altered for the purpose of justification.
1540115410
</p>
1540215411

1540315412
<div class="example"><P style="display:none">Example(s):</P><p>

0 commit comments

Comments
 (0)