Skip to content

Commit 0b9fd44

Browse files
committed
[css2] Generated. Do not edit!
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402857
1 parent 48a1c64 commit 0b9fd44

38 files changed

Lines changed: 1215 additions & 1146 deletions

css2/colors.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -112,16 +112,16 @@ <h2>14.2 <a name="background">The background</a></h2>
112112

113113
<p>For HTML documents, however, we recommend that authors specify the
114114
background for the BODY element rather than the HTML element.
115-
For HTML documents whose root HTML element has computed values of
116-
'transparent' for <a href="colors.html#propdef-background-color" class="noxref"><span
115+
For documents whose root element is an HTML "HTML" element or an XHTML
116+
"html" element that has computed values of 'transparent' for <a href="colors.html#propdef-background-color" class="noxref"><span
117117
class="propinst-background-color">'background-color'</span></a> and 'none'
118118
for <a href="colors.html#propdef-background-image" class="noxref"><span class="propinst-background-image">'background-image'</span></a>,
119119
user agents must instead use the computed value of those properties
120-
from that HTML element's first BODY element child when painting
121-
backgrounds for the canvas, and must not paint a background for that
122-
BODY element. Such backgrounds must also be anchored at the same point
123-
as they would be if they were painted only for the root element.
124-
This does not apply to XHTML documents.
120+
from that element's first HTML "BODY" element or XHTML "body" element
121+
child when painting backgrounds for the canvas, and must not paint a
122+
background for that child element. Such backgrounds must also be
123+
anchored at the same point as they would be if they were painted only
124+
for the root element.
125125
</p>
126126
<div class="html-example"><p>
127127
According to these rules, the canvas underlying the following

css2/diffs-rec/box.html

Lines changed: 12 additions & 8 deletions
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><ins>Otherwise,</ins> <ins>either</ins> <ins>the</ins> <ins>element's</ins> <ins>parent</ins> <ins>is</ins> <ins>not</ins> <ins>taking</ins> <ins>part</ins> <ins>in</ins> <ins>the</ins>
412412
<ins>margin</ins> <ins>collapsing,</ins> <ins>or</ins> <ins>only</ins> <ins>the</ins> <ins>parent's</ins> <ins>bottom</ins> <ins>margin</ins> <ins>is</ins> <ins>involved.</ins> <ins>The</ins>
413413
<ins>position</ins> <ins>of</ins> <ins>the</ins> <ins>element's</ins> <ins>top</ins> <ins>border</ins> <ins>edge</ins> <ins>is</ins> <ins>the</ins> <ins>same</ins> <ins>as</ins> <ins>it</ins> <ins>would</ins> <ins>have</ins>
414-
<ins>been</ins> <ins>if</ins> <ins>the</ins> <ins>element</ins> <ins>had</ins> <ins>a</ins> <ins>non-zero</ins> <ins>top</ins> <ins>border.</ins></li></ul>
414+
<ins>been</ins> <ins>if</ins> <ins>the</ins> <ins>element</ins> <ins>had</ins> <ins>a</ins> <ins>non-zero</ins> <ins>bottom</ins> <ins>border.</ins></li></ul>
415415

416416
<p><ins>An</ins> <ins>element</ins> <ins>that</ins> <ins>has</ins> <ins>had</ins> <a
417417
href="visuren.html#clearance"><ins>clearance</ins></a> <ins>applied</ins> <ins>to</ins> <ins>it</ins> <ins>never</ins>
@@ -440,13 +440,17 @@ <H3>8.3.1 <a name="collapsing-margins">Collapsing margins</a></H3>
440440
<ins>top</ins> <ins>border,</ins> <ins>no</ins> <ins>top</ins> <ins>padding,</ins> <ins>and</ins> <ins>the</ins> <ins>child</ins> <ins>has</ins> <ins>no</ins> <a
441441
href="visuren.html#clearance"><ins>clearance.</ins></a></p>
442442

443-
<p><ins>The</ins> <ins>bottom</ins> <ins>margin</ins> <ins>of</ins> <ins>an</ins> <ins>in-flow</ins> <ins>block-level</ins> <ins>element</ins> <ins>with</ins> <ins>a</ins> <a href="visudet.html#propdef-height" class="noxref"><span
444-
class="propinst-height"><ins>'height'</ins></span></a> <ins>of</ins> <ins>'auto'</ins> <ins>and</ins> <a href="visudet.html#propdef-min-height" class="noxref"><span
445-
class="propinst-min-height"><ins>'min-height'</ins></span></a> <ins>less</ins> <ins>than</ins> <ins>the</ins>
446-
<ins>element's</ins> <ins>used</ins> <ins>height</ins> <ins>and</ins> <a href="visudet.html#propdef-max-height" class="noxref"><span
447-
class="propinst-max-height"><ins>'max-height'</ins></span></a> <ins>greater</ins> <ins>than</ins> <ins>the</ins>
448-
<ins>element's</ins> <ins>used</ins> <ins>height</ins> <ins>is</ins> <ins>adjoining</ins> <ins>to</ins> <ins>its</ins> <ins>last</ins> <ins>in-flow</ins> <ins>block-level</ins>
449-
<ins>child's</ins> <ins>bottom</ins> <ins>margin</ins> <ins>if</ins> <ins>the</ins> <ins>element</ins> <ins>has</ins> <ins>no</ins> <ins>bottom</ins> <ins>padding</ins> <ins>or</ins> <ins>border.</ins>
443+
<p><ins>The</ins> <ins>bottom</ins> <ins>margin</ins> <ins>of</ins> <ins>an</ins> <ins>in-flow</ins> <ins>block-level</ins> <ins>element</ins> <ins>is</ins> <ins>adjoining</ins> <ins>to</ins>
444+
<ins>its</ins> <ins>last</ins> <ins>in-flow</ins> <ins>block-level</ins> <ins>child's</ins> <ins>bottom</ins> <ins>margin</ins> <ins>when:</ins>
445+
<ul>
446+
<li><ins>the</ins> <ins>element's</ins> <ins>specified</ins> <ins>'height'</ins> <ins>is</ins> <ins>'auto',</ins>
447+
448+
<li><ins>the</ins> <ins>element's</ins> <ins>used</ins> <ins>height</ins> <ins>is</ins> <ins>the</ins> <ins>same</ins> <ins>as</ins> <ins>it</ins> <ins>would</ins> <ins>have</ins> <ins>been</ins> <ins>if</ins> <ins>the</ins>
449+
<ins>specified</ins> <ins>values</ins> <ins>of</ins> <ins>'min-height'</ins> <ins>and</ins> <ins>'max-height'</ins> <ins>were</ins> <ins>their</ins> <ins>initial</ins>
450+
<ins>values</ins>
451+
452+
<li><ins>the</ins> <ins>element</ins> <ins>has</ins> <ins>no</ins> <ins>bottom</ins> <ins>padding</ins> <ins>or</ins> <ins>border.</ins>
453+
</ul>
450454

451455
<p><ins>An</ins> <ins>element's</ins> <ins>own</ins> <ins>margins</ins> <ins>are</ins> <ins>adjoining</ins> <ins>if</ins> <ins>the</ins> <a href="visudet.html#propdef-min-height" class="noxref"><span
452456
class="propinst-min-height"><ins>'min-height'</ins></span></a> <ins>property</ins> <ins>is</ins> <ins>zero,</ins> <ins>and</ins>

css2/diffs-rec/cascade.html

Lines changed: 6 additions & 4 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 <del>rule</del> <del>sets</del> <del>in</del> <del>a</del> <del>style</del> <del>sheet.</del><ins>other</ins> <ins>rules</ins> <ins>(except</ins> <ins>the</ins> <ins>@charset</ins> <ins>rule,</ins> <ins>if</ins> <ins>present).</ins> The
222+
import style rules from other style sheets. <ins>In</ins> <ins>CSS&nbsp;2.1,</ins> any
223+
@import rules must precede all <del>rule</del> <del>sets</del> <del>in</del> <del>a</del> <del>style</del> <del>sheet.</del><ins>other</ins> <ins>rules</ins> <ins>(except</ins> <ins>the</ins> <ins>@charset</ins> <ins>rule,</ins>
224+
<ins>if</ins> <ins>present).</ins> <ins>See</ins> <ins>the</ins> <a href="syndata.html#at-rules"><ins>section</ins> <ins>on</ins>
225+
<ins>parsing</ins></a> <ins>for</ins> <ins>when</ins> <ins>user</ins> <ins>agents</ins> <ins>must</ins> <ins>ignore</ins> <ins>@import</ins> <ins>rules.</ins> 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.
@@ -283,8 +285,8 @@ <H2>6.4 <a name="cascade">The cascade</a></h2>
283285
font). See <a href="sample.html"> <del>"A</del><ins>A</ins> sample style sheet for HTML
284286
</a> <del>4.0"</del>for a recommended default style sheet for HTML <del>4.0</del>documents.
285287

286-
<p class="note">Note that the <del>default</del> <del>style</del> <del>sheet</del><ins>user</ins> may <del>change</del> <del>if</del><ins>modify</ins> system settings <del>are</del> <del>modified</del> <del>by</del> <del>the</del> <del>user</del> <del>(e.g.,</del><ins>(e.g.</ins>
287-
system <del>colors).</del><ins>colors)</ins> <ins>that</ins> <ins>affect</ins> <ins>the</ins> <ins>default</ins> <ins>style</ins> <ins>sheet.</ins> However, <del>due</del> <del>to</del> <del>limitations</del> <del>in</del> <del>a</del><ins>some</ins> user
288+
<p class="note"> <del>Note</del> <del>that</del> <del>the</del> <del>default</del> <del>style</del> <del>sheet</del> <del>may</del> <del>change</del> <del>if</del> <del>system</del> <del>settings</del> <del>are</del> <del>modified</del> <del>by</del><ins>Note</ins> <ins>that</ins> the user <del>(e.g.,</del><ins>may</ins> <ins>modify</ins> system <del>colors).</del><ins>settings</ins> <ins>(e.g.</ins>
289+
<ins>system</ins> <ins>colors)</ins> <ins>that</ins> <ins>affect</ins> <ins>the</ins> <ins>default</ins> <ins>style</ins> <ins>sheet.</ins> However, <del>due</del> <del>to</del> <del>limitations</del> <del>in</del> <del>a</del><ins>some</ins> user
288290
<del>agent's</del> <del>internal</del> <del>implementation,</del><ins>agent</ins> <ins>implementations</ins> <ins>make</ins> it <del>may</del> <del>be</del>impossible to change the values in the
289291
default style sheet.
290292
</ul>

0 commit comments

Comments
 (0)