Skip to content

Commit 92dcf29

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

48 files changed

Lines changed: 3899 additions & 3572 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

css2/aural.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ <H2>A.6 <a name="cue-props">Cue properties</a>: <a href="aural.html#propdef-cue-
545545
<P>Please see the sections on <a
546546
href="generate.html#before-after-content"> the :before and :after
547547
pseudo-elements</a> for information on other content generation
548-
techniques. 'cue-before' sounds and 'pause-before' gaps are inserted
548+
techniques. 'Cue-before' sounds and 'pause-before' gaps are inserted
549549
before content from the ':before' pseudo-element. Similarly,
550550
'pause-after' gaps and 'cue-after' sounds are inserted after content
551551
from the ':after' pseudo-element.

css2/changes.html

Lines changed: 75 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -536,6 +536,11 @@ <H1><a name="q0">Appendix C. Changes</a></H1>
536536
<li class="tocline2"><a href="changes.html#q494" class="tocxref">C.8 Changes since the working draft of 7 December 2010</a>
537537
<ul class="toc">
538538
<li class="tocline3"><a href="changes.html#q495" class="tocxref">C.8.1 8.3.1 Collapsing margins</a>
539+
<li class="tocline3"><a href="changes.html#q496" class="tocxref">C.8.2 10.8.1 Leading and half-leading</a>
540+
<li class="tocline3"><a href="changes.html#q497" class="tocxref">C.8.3 10.3 Calculating widths and margins</a>
541+
<li class="tocline3"><a href="changes.html#q498" class="tocxref">C.8.4 14.3 Gamma correction</a>
542+
<li class="tocline3"><a href="changes.html#q499" class="tocxref">C.8.5 11.1.2 Clipping: the 'clip' property</a>
543+
<li class="tocline3"><a href="changes.html#q500" class="tocxref">C.8.6 9.4.2 Inline formatting contexts</a>
539544
</ul>
540545
</ul>
541546
</div>
@@ -1357,7 +1362,7 @@ <h3 id="c11.1.1"><a name="q87">C.2.80 </a><a href="visufx.html#overflow">Section
13571362
Overflow</a></h3>
13581363

13591364
<p>'projection' media are no longer permitted to print overflowing
1360-
content for 'overflow: scroll'. 'print' media now <em>may</em>, as
1365+
content for 'overflow: scroll'. 'Print' media now <em>may</em>, as
13611366
opposed to <em>should</em>.</p>
13621367

13631368
<p>UAs are now required to apply the 'overflow' property set on the root
@@ -4068,7 +4073,7 @@ <h3 id="s.12.5.1a"><a name="q345">C.5.58 </a><a
40684073
<blockquote><p><ins>&hellip; but does require that for list items whose
40694074
'direction' property is 'ltr' the marker box be on the left side of
40704075
the content and for elements whose 'direction' property is 'rtl' the
4071-
marker box be on the right side of the content. 'overflow' on the
4076+
marker box be on the right side of the content. 'Overflow' on the
40724077
element does not clip the marker box. The marker box is fixed with
40734078
respect to the principal block box's border and does not scroll with
40744079
the principal block box's content. The size or contents of the marker
@@ -6961,6 +6966,74 @@ <h3 id=u.8.3.1><a name="q495">C.8.1 </a><a
69616966
shorter and clearer.
69626967

69636968

6969+
6970+
<h3 id=u.10.8.1><a name="q496">C.8.2 </a><a
6971+
href="/TR/2010/WD-CSS2-20101207/visudet.html#leading">10.8.1 Leading
6972+
and half-leading</a></h3>
6973+
6974+
<p>The remark about equal line spacing is made more precise and put in
6975+
green, to make it clearer that it is a note:
6976+
6977+
<blockquote>
6978+
<p class=note><em><del>Generally,</del>
6979+
<ins><strong>Note.</strong></ins> when there is only one value of
6980+
'line-height' for all inline boxes in a block container box <ins>and
6981+
they are all in the same font</ins> (and <ins>there are</ins> no
6982+
replaced elements, inline-block elements, etc.), the above will ensure
6983+
that baselines of successive lines are exactly 'line-height'
6984+
apart. This is important when columns of text in different fonts have
6985+
to be aligned, for example in a table.</em>
6986+
</blockquote>
6987+
6988+
6989+
6990+
<h3 id=u.10.3><a name="q497">C.8.3 </a><a
6991+
href="/TR/2010/WD-CSS2-20101207/visudet.html#Computing_widths_and_margins">10.3
6992+
Calculating widths and margins</a></h3>
6993+
6994+
<p>Added a note that the width calculation only yields a tentative
6995+
value, still to be compared to 'min-width' and 'max-width'
6996+
6997+
<blockquote>
6998+
<p><p class=note><em><strong>Note.</strong> The used value of 'width'
6999+
calculated below is a tentative value, and may have to be calculated
7000+
multiple times, depending on 'min-width' and 'max-width', see the
7001+
section Minimum and maximum widths below.</em>
7002+
</blockquote>
7003+
7004+
<p>A similar note is added to section&nbsp;10.6 about calculating
7005+
heights.
7006+
7007+
7008+
7009+
<h3 id=u.14.3><a name="q498">C.8.4 </a><a
7010+
href="/TR/2010/WD-CSS2-20101207/colors.html#gamma-correction">14.3
7011+
Gamma correction</a></h3>
7012+
7013+
<p>The section on gamma correction was removed. It existed only to
7014+
help implementations on certain operating systems of the 1990s.
7015+
7016+
7017+
7018+
<h3 id=u.11.1.2><a name="q499">C.8.5 </a><a
7019+
href="/TR/2010/WD-CSS2-20101207/visufx.html#clipping">11.1.2 Clipping:
7020+
the 'clip' property</a></h3>
7021+
7022+
<p>The 2nd and 4th offsets of the clip rectangle are offsets from the
7023+
left edge of the element. The 'direction' property no longer has an
7024+
influence.
7025+
7026+
7027+
7028+
<h3 id=u.9.4.2><a name="q500">C.8.6 </a><a
7029+
href="/TR/2010/WD-CSS2-20101207/visuren.html#inline-formatting">9.4.2
7030+
Inline formatting contexts</a></h3>
7031+
7032+
<p>The words "line feed" were a typing error. The intended words are
7033+
"forced line break."
7034+
7035+
7036+
69647037
<hr class="navbar">
69657038

69667039
<div class="navbar">

css2/colors.html

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ <h1><a name="q0">14 Colors and Backgrounds</a></h1>
4040
<ul class="toc">
4141
<li class="tocline3"><a href="colors.html#background-properties" class="tocxref">14.2.1 Background properties: <span class="propinst-background-color">'background-color'</span>, <span class="propinst-background-image">'background-image'</span>, <span class="propinst-background-repeat">'background-repeat'</span>, <span class="propinst-background-attachment">'background-attachment'</span>, <span class="propinst-background-position">'background-position'</span>, and <span class="propinst-background">'background'</span></a>
4242
</ul>
43-
<li class="tocline2"><a href="colors.html#gamma-correction" class="tocxref">14.3 Gamma correction</a>
4443
</ul>
4544
</div>
4645

@@ -532,57 +531,6 @@ <h3>14.2.1 <a name="background-properties">Background properties</a>: <a href="c
532531
</pre>
533532
</div>
534533

535-
<h2>14.3 <a name="gamma-correction">Gamma correction</a></h2>
536-
537-
<p><em>For information about gamma issues, please consult the
538-
Gamma Tutorial in the PNG specification (<a href="refs.html#ref-PNG" rel="biblioentry" class="noxref"><span class="normref">[PNG]</span></a>).</em></p>
539-
540-
541-
<div class="note"><p>
542-
<em><strong>Note.</strong>
543-
In the computation of gamma correction, UAs displaying on a CRT
544-
may assume an ideal CRT and ignore any effects on apparent gamma
545-
caused by dithering. That means the minimal handling they need to do
546-
on current platforms is:
547-
</em>
548-
</p>
549-
<dl>
550-
<dt> PC using MS-Windows</dt>
551-
<dd> none</dd>
552-
<dt> Unix using X11</dt>
553-
<dd> none</dd>
554-
<dt> Mac using QuickDraw</dt>
555-
<dd> apply gamma 1.45 <a href="refs.html#ref-ICC42" rel="biblioentry" class="noxref"><span class="normref">[ICC42]</span></a> (ColorSync-savvy applications
556-
may simply pass the sRGB ICC profile to ColorSync
557-
to perform correct color correction)</dd>
558-
<dt> SGI using X</dt>
559-
<dd> apply the gamma value from
560-
<tt>/etc/config/system.glGammaVal</tt> (the default value being
561-
1.70; applications running on Irix 6.2 or above may simply pass
562-
the sRGB ICC profile to the color management system)</dd>
563-
<dt> NeXT using NeXTStep</dt>
564-
<dd> apply gamma 2.22</dd>
565-
</dl>
566-
567-
<p>"Applying gamma" means that each of the three R, G and B must be
568-
converted to R'=R<sup>gamma</sup>, G'=G<sup>gamma</sup>,
569-
B'=B<sup>gamma</sup>, before being handed to the OS.
570-
</p>
571-
<p>This may be done rapidly by building a 256-element lookup table
572-
once per browser invocation thus:
573-
</p>
574-
<pre>
575-
for i := 0 to 255 do
576-
raw := i / 255.0;
577-
corr := pow (raw, gamma);
578-
table[i] := trunc (0.5 + corr * 255.0)
579-
end
580-
</pre>
581-
582-
<p>which then avoids any need to do transcendental math per color
583-
attribute, far less per pixel.
584-
</p>
585-
</div>
586534
<hr class="navbar">
587535

588536
<div class="navbar">

css2/cover.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,6 @@ <h2><a name="toc">Full Table of Contents</a></h2>
637637
<ul class="toc">
638638
<li class="tocline3"><a href="colors.html#background-properties" class="tocxref">14.2.1 Background properties: <span class="propinst-background-color">'background-color'</span>, <span class="propinst-background-image">'background-image'</span>, <span class="propinst-background-repeat">'background-repeat'</span>, <span class="propinst-background-attachment">'background-attachment'</span>, <span class="propinst-background-position">'background-position'</span>, and <span class="propinst-background">'background'</span></a>
639639
</ul>
640-
<li class="tocline2"><a href="colors.html#gamma-correction" class="tocxref">14.3 Gamma correction</a>
641640
</ul>
642641
<li class="tocline1"><a href="fonts.html" class="tocxref">15 Fonts</a>
643642
<ul class="toc">
@@ -1266,6 +1265,11 @@ <h2><a name="toc">Full Table of Contents</a></h2>
12661265
<li class="tocline2"><a href="changes.html#q494" class="tocxref">C.8 Changes since the working draft of 7 December 2010</a>
12671266
<ul class="toc">
12681267
<li class="tocline3"><a href="changes.html#q495" class="tocxref">C.8.1 8.3.1 Collapsing margins</a>
1268+
<li class="tocline3"><a href="changes.html#q496" class="tocxref">C.8.2 10.8.1 Leading and half-leading</a>
1269+
<li class="tocline3"><a href="changes.html#q497" class="tocxref">C.8.3 10.3 Calculating widths and margins</a>
1270+
<li class="tocline3"><a href="changes.html#q498" class="tocxref">C.8.4 14.3 Gamma correction</a>
1271+
<li class="tocline3"><a href="changes.html#q499" class="tocxref">C.8.5 11.1.2 Clipping: the 'clip' property</a>
1272+
<li class="tocline3"><a href="changes.html#q500" class="tocxref">C.8.6 9.4.2 Inline formatting contexts</a>
12691273
</ul>
12701274
</ul>
12711275
<li class="tocline1"><a href="sample.html" class="tocxref">Appendix D. Default style sheet for HTML 4</a>

0 commit comments

Comments
 (0)