Skip to content

Commit 4e288a1

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

1 file changed

Lines changed: 43 additions & 38 deletions

File tree

css2/css2.html

Lines changed: 43 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -3166,7 +3166,7 @@ <h3>4.1.8 <a name="declaration">Declarations</a> and <a
31663166
</p>
31673167
<p>A user agent must <span class="index-inst" title="ignore"><a name="x22"
31683168
href="#ignore">ignore</a></span> a declaration with an invalid property
3169-
name or an invalid value. Every CSS&nbsp;2.1 property has its own syntactic
3169+
name or an invalid value. Every CSS property has its own syntactic
31703170
and semantic restrictions on the values it accepts.
31713171
</p>
31723172
<div class="illegal-example"><P style="display:none">Illegal example(s):</P><p>
@@ -3668,7 +3668,7 @@ <h3>4.3.4 <a name="uri">URLs and URIs</a></h3>
36683668

36693669
<p>
36703670
Some characters appearing in an unquoted URI, such as parentheses,
3671-
commas, white space characters, single quotes (') and double quotes
3671+
white space characters, single quotes (') and double quotes
36723672
("), must be escaped with a backslash so that the resulting URI value
36733673
is a URI token: '\(', '\)', '\,'.
36743674
</p>
@@ -6769,7 +6769,7 @@ <H3>8.3.1 <a name="collapsing-margins">Collapsing margins</a></H3>
67696769
been if the element had a non-zero bottom border.</li></ul>
67706770

67716771
<p>An element that has had <a
6772-
href="visuren.html#clearance">clearance</a> applied to it never
6772+
href="visuren.html#clearance">clearance</a> never
67736773
collapses its top margin with its parent block's bottom margin.</p>
67746774

67756775
<p>Note that the positions of elements that have been collapsed
@@ -6806,8 +6806,8 @@ <H3>8.3.1 <a name="collapsing-margins">Collapsing margins</a></H3>
68066806
and it does not contain a line box, and all of its in-flow children's
68076807
margins (if any) are adjoining.</p>
68086808

6809-
<p>When an element's own margins collapse, and that element has had
6810-
clearance applied to it, its top margin collapses with the adjoining
6809+
<p>When an element's own margins collapse, and that element has
6810+
clearance, its top margin collapses with the adjoining
68116811
margins of subsequent siblings but that resulting margin does not
68126812
collapse with the bottom margin of the parent block.</p>
68136813

@@ -7600,8 +7600,8 @@ <h4>9.2.1.1 <a name="anonymous-block-level">Anonymous block boxes</a></h4>
76007600
rules:</p>
76017601

76027602
<pre><code class="css">
7603-
body { display: inline }
7604-
p { display: block }
7603+
p { display: inline }
7604+
span { display: block }
76057605
</code></pre>
76067606

76077607
<p>were used with this HTML document:</p>
@@ -7612,16 +7612,18 @@ <h4>9.2.1.1 <a name="anonymous-block-level">Anonymous block boxes</a></h4>
76127612
&lt;TITLE&gt;Anonymous text interrupted by a block&lt;/TITLE&gt;
76137613
&lt;/HEAD&gt;
76147614
&lt;BODY&gt;
7615-
<em>This is anonymous text before the P.</em>
7616-
&lt;P&gt;This is the content of P.&lt;/P&gt;
7617-
<em>This is anonymous text after the P.</em>
7615+
&lt;P&gt;
7616+
<em>This is anonymous text before the SPAN.</em>
7617+
&lt;SPAN&gt;This is the content of SPAN.&lt;/SPAN&gt;
7618+
<em>This is anonymous text after the SPAN.</em>
7619+
&lt;/P&gt;
76187620
&lt;/BODY&gt;
76197621
</code></pre>
76207622

7621-
<p>The BODY element contains a chunk (C1) of anonymous text followed
7623+
<p>The P element contains a chunk (C1) of anonymous text followed
76227624
by a block-level element followed by another chunk (C2) of anonymous
7623-
text. The resulting boxes would be an anonymous block box around the BODY,
7624-
containing an anonymous block box around C1, the P block box, and
7625+
text. The resulting boxes would be an anonymous block box around the P,
7626+
containing an anonymous block box around C1, the SPAN block box, and
76257627
another anonymous block box around C2.
76267628
</p></div>
76277629

@@ -7634,7 +7636,7 @@ <h4>9.2.1.1 <a name="anonymous-block-level">Anonymous block boxes</a></h4>
76347636
<p>
76357637
Properties set on elements that cause anonymous block boxes to be
76367638
generated still apply to the boxes and content of that element. For
7637-
example, if a border had been set on the BODY element in the above
7639+
example, if a border had been set on the P element in the above
76387640
example, the border would be drawn around C1 (open at the end of the
76397641
line) and C2 (open at the start of the line).
76407642
</p>
@@ -8859,46 +8861,49 @@ <h3>9.5.2 <a name="flow-control">Controlling flow next to floats:</a>
88598861
<a href="#run-in">run-in boxes</a>,
88608862
this property applies to the final block box to which the run-in box belongs.
88618863
</p>
8862-
<p><dfn id="clearance">Clearance</dfn> is introduced as spacing above the margin-top of an element. It is used to push the element vertically (typically downward), past the float.
8863-
</p>
8864+
88648865
<p>Values have the following meanings when applied to non-floating
88658866
block boxes:</p>
88668867

88678868
<dl>
88688869
<dt><strong>left</strong></dt>
88698870

8870-
<dd>The clearance of the generated box is set to the amount necessary to place the
8871-
top border edge below the bottom outer edge of any left-floating
8872-
boxes that resulted from elements earlier in the source document.
8871+
<dd>Requires that the top border edge of the box be below the bottom
8872+
outer edge of any left-floating boxes that resulted from elements
8873+
earlier in the source document.
88738874
</dd>
88748875

88758876
<dt><strong>right</strong></dt>
88768877

8877-
<dd>The clearance of the generated box is set to the amount necessary to place the
8878-
top border edge below the bottom outer edge of any right-floating
8879-
boxes that resulted from elements earlier in the source document.
8878+
<dd>Requires that the top border edge of the box be below the bottom
8879+
outer edge of any right-floating boxes that resulted from elements
8880+
earlier in the source document.
88808881
</dd>
88818882

88828883
<dt><strong>both</strong></dt>
88838884

8884-
<dd>The clearance of the generated box is set to the amount necessary to place the
8885-
top border edge below the bottom outer edge of any right-floating
8886-
and left-floating boxes that resulted from elements earlier in the
8887-
source document.
8885+
<dd>Requires that the top border edge of the box be below the bottom
8886+
outer edge of any right-floating and left-floating boxes that resulted
8887+
from elements earlier in the source document.
88888888
</dd>
88898889

88908890
<dt><strong>none</strong></dt>
88918891

88928892
<dd>No constraint on the box's position with respect to floats.</dd>
88938893
</dl>
88948894

8895+
<p>Values other than 'none' potentially introduce <dfn
8896+
id="clearance">clearance.</dfn> Clearance inhibits margin collapsing
8897+
and acts as spacing above the margin-top of an element. It is used to
8898+
push the element vertically past the float.
8899+
88958900
<p>
88968901
Computing the clearance of an element on which 'clear' is set is done by first determining the hypothetical position of the element's top border edge within its parent block. This position is determined after the top margin of the element has been collapsed with previous adjacent margins (including the top margin of the parent block).
88978902
</p>
88988903
<p>
88998904
If this hypothetical position of the element's top border edge is not
8900-
past the relevant floats, then its clearance must be set to the
8901-
greater of:
8905+
past the relevant floats, then clearance is introduced and must be set
8906+
to the greater of:
89028907
</p>
89038908
<ol>
89048909
<li>The amount necessary to place the border edge of the block even
@@ -8921,7 +8926,7 @@ <h3>9.5.2 <a name="flow-control">Controlling flow next to floats:</a>
89218926
</ul>
89228927
</ol>
89238928
<p class=note>
8924-
Note: The clearance can be negative.
8929+
Note: The clearance can be negative or zero.
89258930

89268931
<div class=example><P style="display:none">Example(s):</P>
89278932
<p>An example of negative clearance is this situation, in which the
@@ -8943,10 +8948,10 @@ <h3>9.5.2 <a name="flow-control">Controlling flow next to floats:</a>
89438948
margins would collapse and the last paragraph's top border edge would
89448949
be flush with the top of the floating paragraph. But the 'clear'
89458950
requires the top border edge to be <em>below</em> the float, i.e., 2em
8946-
lower. That means that the margins must not collapse and clearance
8947-
must be added such that <var>clearance</var> + <var>margin-top</var> =
8948-
2em, i.e., <var>clearance</var> = 2em - <var>margin-top</var> = 2em -
8949-
3em = -1em.
8951+
lower. This means that clearance must be introduced. Accordingly, the
8952+
margins no longer collapse and the amount of clearance is set so that
8953+
clearance + margin-top = 2em, i.e., clearance = 2em - margin-top = 2em
8954+
- 3em = -1em.
89508955
</div>
89518956

89528957
<p>When the property is set on floating elements, it results in a
@@ -10106,7 +10111,7 @@ <h2>10.2 <a name="the-width-property">Content width</a>: the <a href="visudet.ht
1010610111
<tr valign=baseline><td><em>Inherited:</em>&nbsp;&nbsp;<td>no
1010710112
<tr valign=baseline><td><em>Percentages:</em>&nbsp;&nbsp;<td>refer to width of containing block
1010810113
<tr valign=baseline><td><em>Media:</em>&nbsp;&nbsp;<td><a href="media.html#visual-media-group" class="noxref">visual</a>
10109-
<tr valign=baseline><td><em>Computed&nbsp;value:</em>&nbsp;&nbsp;<td>the percentage or 'auto' as specified or the absolute length; 'auto' if the property does not apply
10114+
<tr valign=baseline><td><em>Computed&nbsp;value:</em>&nbsp;&nbsp;<td>the percentage or 'auto' as specified or the absolute length
1011010115
</table>
1011110116
</dl>
1011210117
</div>
@@ -10743,7 +10748,7 @@ <h2>10.5 <a name="the-height-property">Content height</a>: the <a href="visudet.
1074310748
<tr valign=baseline><td><em>Inherited:</em>&nbsp;&nbsp;<td>no
1074410749
<tr valign=baseline><td><em>Percentages:</em>&nbsp;&nbsp;<td>see prose
1074510750
<tr valign=baseline><td><em>Media:</em>&nbsp;&nbsp;<td><a href="media.html#visual-media-group" class="noxref">visual</a>
10746-
<tr valign=baseline><td><em>Computed&nbsp;value:</em>&nbsp;&nbsp;<td>the percentage or 'auto' (see prose under <a href="syndata.html#value-def-percentage" class="noxref"><span class="value-inst-percentage">&lt;percentage&gt;</span></a>) or the absolute length; 'auto' if the property does not apply
10751+
<tr valign=baseline><td><em>Computed&nbsp;value:</em>&nbsp;&nbsp;<td>the percentage or 'auto' (see prose under <a href="syndata.html#value-def-percentage" class="noxref"><span class="value-inst-percentage">&lt;percentage&gt;</span></a>) or the absolute length
1074710752
</table>
1074810753
</dl>
1074910754
</div>
@@ -19312,7 +19317,7 @@ <H2>B.2 <a name="informative">Informative references</a></H2>
1931219317

1931319318
<dt><strong><a name="ref-CSS3SEL"
1931419319
class="informref">[CSS3SEL]</a></strong> <dd>"Selectors", D. Glazman,
19315-
T. ?lik, I. Hickson, 13 November 2001<br>
19320+
T. &Ccedil;elik, I. Hickson, 13 November 2001<br>
1931619321
Available at <a href="http://www.w3.org/TR/2001/CR-css3-selectors-20011113/">
1931719322
http://www.w3.org/TR/2001/CR-css3-selectors-20011113</a>
1931819323

@@ -19325,7 +19330,7 @@ <H2>B.2 <a name="informative">Informative references</a></H2>
1932519330

1932619331
<dt><strong><a name="ref-DOM-LEVEL-3-CORE"
1932719332
class="informref">[DOM-LEVEL-3-CORE]</a></strong> <dd>"Document Object
19328-
Model (DOM) Level 3 Core Specification", A. Le Hors, P. Le H~ret, et
19333+
Model (DOM) Level 3 Core Specification", A. Le Hors, P. Le H&eacute;garet, et
1932919334
al. (eds.), 7 April 2004, W3C Recommendation. Available at <a
1933019335
href="http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/">
1933119336
http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/</a>.
@@ -19338,7 +19343,7 @@ <H2>B.2 <a name="informative">Informative references</a></H2>
1933819343
http://www.w3.org/TR/2001/REC-MathML2-20010221</a>
1933919344

1934019345
<dt><strong><a name="ref-MEDIAQ" class="informref">[MEDIAQ]</a></strong>
19341-
<dd>"Media Queries", Håkon Wium Lie, Tantek Çelik, Daniel Glazman,
19346+
<dd>"Media Queries", H&aring;kon Wium Lie, Tantek &Ccedil;elik, Daniel Glazman,
1934219347
Anne van Kesteren, 23 April 2009<br>
1934319348
(Work in progress.) Available at <a
1934419349
href="http://www.w3.org/TR/2009/CR-css3-mediaqueries-20090423/">

0 commit comments

Comments
 (0)