Skip to content

Commit 6f342f9

Browse files
committed
[css2] Generated. Do not edit!
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402852
1 parent 52fc9b6 commit 6f342f9

9 files changed

Lines changed: 37 additions & 30 deletions

File tree

css2/box.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ <H3>8.3.1 <a name="collapsing-margins">Collapsing margins</a></H3>
411411
<li>Otherwise, either the element's parent is not taking part in the
412412
margin collapsing, or only the parent's bottom margin is involved. The
413413
position of the element's top border edge is the same as it would have
414-
been if the element had a non-zero top border.</li></ul>
414+
been if the element had a non-zero bottom border.</li></ul>
415415

416416
<p>An element that has had <a
417417
href="visuren.html#clearance">clearance</a> applied to it never

css2/cascade.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,8 +219,10 @@ <H2>6.3 <a name="at-import">The @import rule</a></h2>
219219

220220
<P>The <a name="x6"><span class="index-def"
221221
title="@import"><dfn>'@import'</dfn></span></a> rule allows users to
222-
import style rules from other style sheets. Any @import rules must
223-
precede all other rules (except the @charset rule, if present). The
222+
import style rules from other style sheets. In CSS&nbsp;2.1, any
223+
@import rules must precede all other rules (except the @charset rule,
224+
if present). See the <a href="syndata.html#at-rules">section on
225+
parsing</a> for when user agents must ignore @import rules. The
224226
'@import' keyword must be followed by the URI of the style sheet to
225227
include. A string is also allowed; it will be interpreted as if it had
226228
url(...) around it.

css2/changes.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -693,6 +693,10 @@ <h3 id="c8.3.1"><a name="q43">C.2.36 </a><a href="box.html#collapsing-margins">S
693693

694694
<p>More rigorously <a href="box.html#what-is-adjoining">defined "adjoining" for margin collapsing</a>.</p>
695695

696+
<p>Sixth bullet, second sub-bullet: to find the position of the top
697+
border edge, assume the element has a <em>bottom</em> (rather than
698+
top) border.
699+
696700
<h3 id="c8.4"><a name="q44">C.2.37 </a><a href="box.html#padding-properties">Section 8.4 Padding properties</a></h3>
697701

698702
<p>If the containing block's width depends on an element with percentage
@@ -2149,6 +2153,10 @@ <h3 id="xE.2"><a name="q193">C.3.52 </a><a href="zindex.html#painting-order">E.2
21492153
context" to "but any <ins>positioned descendants and<ins> descendants
21502154
which actually create a new stacking context" (3 times).
21512155

2156+
<p>This change also occurred once in <a
2157+
href="visuren.html#floats">section&nbsp;9.5 (Floats)</a> and once in
2158+
section <a href="visuren.html#layers">section&nbsp;9.9 (Layered
2159+
presentation).</a>
21522160

21532161

21542162
<h2>C.4 <a name="clarifications">Clarifications</a></h2>

css2/page.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,11 @@ <h2>13.2 <a name="page-box">Page boxes</a>: the @page rule</h2>
9393
area establish the rectangle that is the initial <a
9494
href="visudet.html#containing-block-details">containing block</a> of
9595
the document.
96+
The canvas background is painted within and covers the page area.
9697

9798

9899
<li>The margin area, which surrounds the page area.
100+
The page margin area is transparent.
99101
</ul>
100102

101103
<p>The size of a page box cannot be specified in CSS 2.1.

css2/sample.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,7 @@ <H1><a name="q0">Appendix D. Default style sheet for HTML 4</a></H1>
104104
ol ul, ul ol,
105105
ul ul, ol ol { margin-top: 0; margin-bottom: 0 }
106106
u, ins { text-decoration: underline }
107-
br:before { content: "\A" }
108-
:before, :after { white-space: pre-line }
107+
br:before { content: "\A"; white-space: pre-line }
109108
center { text-align: center }
110109
:link, :visited { text-decoration: underline }
111110
:focus { outline: thin dotted invert }

css2/syndata.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,12 @@ <h2>4.2 <a name="parsing-errors">Rules for handling parsing
688688
<p>A user agent conforming to a future CSS specification may accept one or
689689
more of the other rules as well.</p>
690690
</li>
691-
<li><strong>Malformed declarations.</strong> User agents must handle unexpected tokens encountered while parsing a declaration by reading until the end of the declaration, while observing the rules for matching pairs of (), [], {}, "", and '', and correctly handling escapes. For example, a malformed declaration may be missing a property, colon (:) or value. The following are all equivalent:
691+
<li><strong>Malformed declarations.</strong> User agents must handle
692+
unexpected tokens encountered while parsing a statement by reading
693+
until the end of the statement, while observing the rules for matching
694+
pairs of (), [], {}, "", and '', and correctly handling escapes. For
695+
example, a malformed statement may be missing a property, colon (:) or
696+
value. The following are all equivalent:
692697

693698

694699
<pre class="example"><code>

css2/text.html

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -552,14 +552,11 @@ <h2>16.6 <a name="white-space-prop">White space</a>: the <a href="text.html#prop
552552

553553
<div class="example"><P style="display:none">Example(s):</P><p> The following examples show what <a
554554
href="syndata.html#whitespace">white space</a> behavior is expected
555-
from the PRE and P elements, the "nowrap" attribute in HTML, and
556-
in generated content.
557-
</p>
555+
from the PRE and P elements and the "nowrap" attribute in HTML.
558556
<pre><code class="css">
559557
pre { white-space: pre }
560558
p { white-space: normal }
561559
td[nowrap] { white-space: nowrap }
562-
:before,:after { white-space: pre-line }
563560
</code></pre>
564561
<p>In addition, the effect of an HTML PRE element with the <em>non-standard</em> "wrap" attribute is demonstrated by the following example:
565562
</p>

css2/visudet.html

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -505,8 +505,11 @@ <h3>10.3.7 <a name="abs-non-replaced-width">Absolutely positioned, non-replaced
505505
<ul>
506506
<li>The <dfn>static-position containing block</dfn> is the containing
507507
block of a hypothetical box that would have been the first box of the
508-
element if its 'position' property had been 'static' and its 'float'
509-
had been 'none'.
508+
element if its specified <a href="visuren.html#propdef-position" class="noxref"><span
509+
class="propinst-position">'position'</span></a> value had been 'static'
510+
and its specified 'float' had been 'none'. (Note that due to the rules
511+
in <a href="visuren.html#dis-pos-flo">section&nbsp;9.7</a> this might
512+
require also assuming a different computed value for 'display'.)
510513
</li>
511514
<li>The static position for 'left' is the distance from the left edge
512515
of the containing block to the left margin edge of a hypothetical box
@@ -1094,10 +1097,11 @@ <h3>10.6.4 <a name="abs-non-replaced-height">Absolutely positioned, non-replaced
10941097
would have had in the normal flow. More precisely, the static position
10951098
for 'top' is the distance from the top edge of the containing block to
10961099
the top margin edge of a hypothetical box that would have been the
1097-
first box of the element if its <a href="visuren.html#propdef-position" class="noxref"><span
1098-
class="propinst-position">'position'</span></a> property had been
1099-
'static' and <a href="visuren.html#propdef-float" class="noxref"><span class="propinst-float">'float'</span></a> had been
1100-
'none'.
1100+
first box of the element if its specified <a href="visuren.html#propdef-position" class="noxref"><span
1101+
class="propinst-position">'position'</span></a> value had been 'static'
1102+
and its specified 'float' had been 'none'. (Note that due to the rules
1103+
in <a href="visuren.html#dis-pos-flo">section&nbsp;9.7</a> this might
1104+
require also assuming a different computed value for 'display'.)
11011105
The value is negative if the hypothetical box is above the containing
11021106
block.
11031107
</p>

css2/visuren.html

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -714,9 +714,6 @@ <h3>9.3.2 <a name="position-props">Box offsets</a>: <a href="visuren.html#propde
714714
positioned boxes, the offset is with respect to the top edges of the
715715
box itself (i.e., the box is given a position in the normal flow, then
716716
offset from that position according to these properties).
717-
<span class="note">
718-
Note: For absolutely positioned elements whose containing block is based on a block-level element, this property is an offset from the <em>padding</em> edge of that element.
719-
</span>
720717
</p>
721718

722719
<div class="propdef">
@@ -746,9 +743,6 @@ <h3>9.3.2 <a name="position-props">Box offsets</a>: <a href="visuren.html#propde
746743
href="#containing-block">containing block</a>. For relatively
747744
positioned boxes, the offset is with respect to the right edge of the
748745
box itself.
749-
<span class="note">
750-
Note: For absolutely positioned elements whose containing block is based on a block-level element, this property is an offset from the <em>padding</em> edge of that element.
751-
</span>
752746
</p>
753747

754748
<div class="propdef">
@@ -777,9 +771,6 @@ <h3>9.3.2 <a name="position-props">Box offsets</a>: <a href="visuren.html#propde
777771
href="#containing-block">containing block</a>. For relatively
778772
positioned boxes, the offset is with respect to the bottom edge of the
779773
box itself.
780-
<span class="note">
781-
Note: For absolutely positioned elements whose containing block is based on a block-level element, this property is an offset from the <em>padding</em> edge of that element.
782-
</span>
783774
</p>
784775

785776
<div class="propdef">
@@ -809,9 +800,6 @@ <h3>9.3.2 <a name="position-props">Box offsets</a>: <a href="visuren.html#propde
809800
href="#containing-block">containing block</a>. For relatively
810801
positioned boxes, the offset is with respect to the left edge of the
811802
box itself.
812-
<span class="note">
813-
Note: For absolutely positioned elements whose containing block is based on a block-level element, this property is an offset from the <em>padding</em> edge of that element.
814-
</span>
815803
</p>
816804

817805
<p>The values for the four properties have the following meanings:</p>
@@ -1278,7 +1266,8 @@ <h2>9.5 <a name="floats">Floats</a></h2>
12781266
</p>
12791267
<p>
12801268
The contents of floats are stacked as if floats generated new
1281-
stacking contexts, except that any elements that actually create new
1269+
stacking contexts, except that any positioned elements and elements
1270+
that actually create new
12821271
stacking contexts take part in the float's parent's stacking context.
12831272
A float can overlap other boxes in the normal flow (e.g., when a
12841273
normal flow box next to a float has negative margins). When this
@@ -2134,7 +2123,8 @@ <h3>9.9.1 <a name="z-index">Specifying the stack level</a>: the <a href="visuren
21342123
</p>
21352124
<p>
21362125
The contents of inline blocks and inline tables are stacked as if
2137-
they generated new stacking contexts, except that any elements that
2126+
they generated new stacking contexts, except that any positioned
2127+
elements and any elements that
21382128
actually create new stacking contexts take part in the parent
21392129
stacking context. They are then painted atomically in the inline
21402130
stacking level.

0 commit comments

Comments
 (0)