Skip to content

Commit f49013b

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

7 files changed

Lines changed: 232 additions & 200 deletions

File tree

css2/css2.html

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13047,13 +13047,19 @@ <h3>12.5.1 <a name="list-style">Lists:</a> the <a href="generate.html#propdef-li
1304713047
<dl>
1304813048
<dt><strong>outside</strong>
1304913049

13050-
<dd>The marker box is outside the principal block box. CSS&nbsp;2.1
13050+
<dd>If there is no float adjacent to the principal box and
13051+
'text-align' is either 'justify' or has a value such that text is
13052+
aligned on the side of the marker, then the marker box is outside the
13053+
principal box. CSS&nbsp;2.1 recommends that the marker position is the
13054+
same in other cases, too, but does not require it. CSS&nbsp;2.1
1305113055
does not specify the precise location of the marker box, but does
1305213056
require that for list items whose 'direction' property is 'ltr' the
1305313057
marker box be on the left side of the content and for elements whose
1305413058
'direction' property is 'rtl' the marker box be on the right side of
13055-
the content. 'overflow' on the element does not clip the marker box.
13056-
The marker box is fixed with respect to the principal block box's
13059+
the content.
13060+
If the marker is outside the principal box, then 'overflow' on the
13061+
element does not clip the marker box and the marker box is fixed with
13062+
respect to the principal block box's
1305713063
border and does not scroll with the principal block box's content.
1305813064
The size or contents of the marker box may affect the height of the
1305913065
principal block box and/or the height of its first line box, and in
@@ -16917,7 +16923,9 @@ <h3>17.5.3 <a name="height-layout">Table height algorithms</a></h3>
1691716923

1691816924
<p>The height of a 'table-row' element's box is calculated once the
1691916925
user agent has all the cells in the row available: it is the maximum
16920-
of the row's specified <a href="visudet.html#propdef-height" class="noxref"><span class="propinst-height">'height'</span></a>
16926+
of the row's computed <a href="visudet.html#propdef-height" class="noxref"><span class="propinst-height">'height'</span></a>,
16927+
the computed <a href="visudet.html#propdef-height" class="noxref"><span class="propinst-height">'height'</span></a> of each
16928+
cell in the row,
1692116929
and the minimum height (MIN) required by the cells. A <a href="visudet.html#propdef-height" class="noxref"><span
1692216930
class="propinst-height">'height'</span></a> value of 'auto' for a
1692316931
'table-row' means the row height used for layout is MIN. MIN depends
@@ -16928,11 +16936,11 @@ <h3>17.5.3 <a name="height-layout">Table height algorithms</a></h3>
1692816936
values. CSS&nbsp;2.1 does not define the meaning of <a href="visudet.html#propdef-height" class="noxref"><span
1692916937
class="propinst-height">'height'</span></a> on row groups.
1693016938

16931-
<p>In CSS&nbsp;2.1, the height of a cell box is the maximum of the
16932-
table cell's <a href="visudet.html#propdef-height" class="noxref"><span class="propinst-height">'height'</span></a> property
16933-
and the minimum height required by the content (MIN). A value of
16934-
'auto' for <a href="visudet.html#propdef-height" class="noxref"><span class="propinst-height">'height'</span></a> implies that
16935-
the value MIN will be used for layout.
16939+
<p>In CSS&nbsp;2.1, the height of a cell box is the minimum height
16940+
required by the content. The table cell's <a href="visudet.html#propdef-height" class="noxref"><span
16941+
class="propinst-height">'height'</span></a> property can influence the
16942+
height of the row (see above), but it does not increase the height of
16943+
the cell box.
1693616944

1693716945
<p>CSS&nbsp;2.1 does not specify how cells that span more than one row
1693816946
affect row height calculations except that the sum of the row heights

css2/diffs-rec/generate.html

Lines changed: 149 additions & 143 deletions
Large diffs are not rendered by default.

css2/diffs-rec/tables.html

Lines changed: 32 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,9 @@ <h3>17.5.3 <a name="height-layout">Table height algorithms</a></h3>
10221022

10231023
<p>The height of a 'table-row' element's box is calculated once the
10241024
user agent has all the cells in the row available: it is the maximum
1025-
of the row's specified <a href="visudet.html#propdef-height" class="noxref"><span class="propinst-height">'height'</span></a>
1025+
of the row's <del>specified</del><ins>computed</ins> <a href="visudet.html#propdef-height" class="noxref"><span class="propinst-height"><ins>'height'</ins></span></a><ins>,
1026+
the computed</ins> <a href="visudet.html#propdef-height" class="noxref"><span class="propinst-height">'height'</span></a> <ins>of each
1027+
cell in the row,</ins>
10261028
and the minimum height (MIN) required by the cells. A <a href="visudet.html#propdef-height" class="noxref"><span
10271029
class="propinst-height">'height'</span></a> value of 'auto' for a
10281030
'table-row' means the <del>computed</del>row height <ins>used for layout</ins> is MIN. MIN depends
@@ -1033,11 +1035,11 @@ <h3>17.5.3 <a name="height-layout">Table height algorithms</a></h3>
10331035
values. CSS&nbsp;2.1 does not define the meaning of</ins> <a href="visudet.html#propdef-height" class="noxref"><span
10341036
class="propinst-height"><ins>'height'</ins></span></a> <ins>on</ins> row groups.
10351037

1036-
<p>In <del>CSS2,</del><ins>CSS&nbsp;2.1,</ins> the height of a cell box is the maximum of the
1037-
table cell's <a href="visudet.html#propdef-height" class="noxref"><span class="propinst-height">'height'</span></a> property
1038-
and the minimum height required by the content (MIN). A value of
1039-
'auto' for <a href="visudet.html#propdef-height" class="noxref"><span class="propinst-height">'height'</span></a> implies <del>a computed</del><ins>that
1040-
the</ins> value <del>of MIN. CSS2 does not define what percentage values of 'height' refer to when specified</del><ins>MIN will be used</ins> for <del>table cells. CSS2</del><ins>layout.</ins>
1038+
<p>In <del>CSS2,</del><ins>CSS&nbsp;2.1,</ins> the height of a cell box is the <del>maximum of</del><ins>minimum height
1039+
required by the content.</ins> The table cell's <a href="visudet.html#propdef-height" class="noxref"><span
1040+
class="propinst-height">'height'</span></a> property <del>and</del><ins>can influence</ins> the
1041+
<del>minimum</del>height <del>required by</del><ins>of</ins> the <del>content (MIN). A value</del><ins>row (see above), but it does not increase the height</ins> of
1042+
<del>'auto' for 'height' implies a computed value of MIN. CSS2 does not define what percentage values of 'height' refer to when specified for table cells. CSS2</del><ins>the cell box.</ins>
10411043

10421044
<p><ins>CSS&nbsp;2.1</ins> does not specify how cells that span more than <ins>one</ins> row
10431045
affect row height calculations except that the sum of the row heights
@@ -1156,23 +1158,23 @@ <h3>17.5.4 <a name="column-alignment">Horizontal alignment in a column</a></h3>
11561158

11571159
<p>The horizontal alignment of a cell's <ins>inline</ins> content within a cell
11581160
box <del>is</del><ins>can be</ins> specified <del>with</del><ins>by</ins> the <del>'text-align' property. When</del><ins>value of</ins>
1159-
the <a href="text.html#propdef-text-align" class="noxref"><span class="propinst-text-align">'text-align'</span></a> property <del>for more than one cell in a column is set to a &lt;string&gt; value,</del><ins>on</ins>
1160-
the <del>content of those cells is aligned along a vertical axis.</del><ins>cell.</ins>
1161+
the <a href="text.html#propdef-text-align" class="noxref"><span class="propinst-text-align">'text-align'</span></a> property <ins>on
1162+
the cell.</ins>
11611163

11621164

11631165

11641166
<h3><ins>17.5.5</ins> <a name="dynamic-effects"><ins>Dynamic row and column effects</ins></a></h3>
11651167

1166-
<p>The <a href="visufx.html#propdef-visibility" class="noxref"><span class="propinst-visibility"> <del>beginning of</del><ins>'visibility'</ins></span></a> <ins>property
1167-
takes</ins> the <del>string touches</del><ins>value 'collapse' for row, row group, column, and column
1168-
group elements.</ins> This <del>axis. Character directionality determines whether</del><ins>value causes</ins> the <del>string lies</del><ins>entire row or column</ins> to <ins>be
1169-
removed from</ins> the <del>left</del><ins>display, and the space normally taken up by the row</ins>
1170-
or <del>right</del><ins>column to be made available for other content. Contents</ins> of <ins>spanned
1171-
rows and columns that intersect</ins> the <del>axis. Aligning text in this way is only useful if</del><ins>collapsed column or row are
1172-
clipped.</ins> The <del>text fits on one line.</del><ins>suppression of</ins> the <del>result is undefined if</del><ins>row or column, however, does not
1173-
otherwise affect</ins> the <del>cell content spans more than one line. If value</del><ins>layout</ins> of <del>'text-align' for a</del><ins>the table. This allows dynamic effects
1174-
to remove</ins> table <del>cell is</del><ins>rows or columns without forcing</ins> a <del>string but</del><ins>re-layout of</ins> the
1175-
<del>string doesn't occur</del><ins>table</ins> in <del>the cell content, the end of the cell's content touches the vertical axis of alignment. Note that the strings do not have to be the same for each cell, although they usually are. CSS does not provide a way specify the offset of the vertical alignment axis with respect to the edge of a column box. Example(s): The following style sheet: TD { text-align: "." } TD:before { content: "$" } will cause the column of dollar figures in the following HTML table: &lt;TABLE&gt; &lt;COL width="40"&gt; &lt;TR&gt; &lt;TH&gt;Long distance calls &lt;TR&gt; &lt;TD&gt; 1.30 &lt;TR&gt; &lt;TD&gt; 2.50 &lt;TR&gt; &lt;TD&gt; 10.80 &lt;TR&gt; &lt;TD&gt; 111.01 &lt;TR&gt; &lt;TD&gt; 85. &lt;TR&gt; &lt;TD&gt; 90 &lt;TR&gt; &lt;TD&gt; .05 &lt;TR&gt; &lt;TD&gt; .06 &lt;/TABLE&gt; to align along the decimal point. For fun, we have used the :before pseudo-element to insert a dollar sign before each figure. The table might be rendered as follows: Long distance calls $1.30 $2.50 $10.80 $111.01 $85. $90 $.05 $.06 17.5.5 Dynamic row and column effects The 'visibility' property takes the value 'collapse' for row, row group, column, and column group elements. This value causes the entire row or column to be removed from the display, and the space normally taken up by the row or column to be made available for other content. The suppression of the row or column, however, does not otherwise affect the layout of the table. This allows dynamic effects to remove table rows or columns without forcing a re-layout of the table in order to account for</del><ins>order to account for</ins> the potential change in column
1168+
<p><ins>The</ins> <a href="visufx.html#propdef-visibility" class="noxref"><span class="propinst-visibility"><ins>'visibility'</ins></span></a> <ins>property
1169+
takes the value 'collapse'</ins> for <del>more than one cell in a</del><ins>row, row group, column, and column
1170+
group elements. This value causes the entire row or</ins> column <del>is set</del>to <del>a &lt;string&gt; value,</del><ins>be
1171+
removed from</ins> the <del>content of those cells is aligned along a vertical axis.</del><ins>display, and the space normally taken up by</ins> the <del>beginning</del><ins>row
1172+
or column to be made available for other content. Contents</ins> of <ins>spanned
1173+
rows and columns that intersect</ins> the <del>string touches this axis. Character directionality determines whether</del><ins>collapsed column or row are
1174+
clipped.</ins> The <del>string lies to</del><ins>suppression of</ins> the <del>left</del><ins>row</ins> or <del>right</del><ins>column, however, does not
1175+
otherwise affect the layout</ins> of the <del>axis. Aligning text in this way is only useful if the text fits on one line. The result is undefined if the cell content spans more than one line. If value of 'text-align' for a table cell is a string but the string doesn't occur in the cell content, the end of the cell's content touches the vertical axis of alignment. Note that the strings do not have to be the same for each cell, although they usually are. CSS does not provide a way specify the offset of the vertical alignment axis with respect to the edge of a column box. Example(s): The following style sheet: TD { text-align: "." } TD:before { content: "$" } will cause the column of dollar figures in the following HTML table: &lt;TABLE&gt; &lt;COL width="40"&gt; &lt;TR&gt; &lt;TH&gt;Long distance calls &lt;TR&gt; &lt;TD&gt; 1.30 &lt;TR&gt; &lt;TD&gt; 2.50 &lt;TR&gt; &lt;TD&gt; 10.80 &lt;TR&gt; &lt;TD&gt; 111.01 &lt;TR&gt; &lt;TD&gt; 85. &lt;TR&gt; &lt;TD&gt; 90 &lt;TR&gt; &lt;TD&gt; .05 &lt;TR&gt; &lt;TD&gt; .06 &lt;/TABLE&gt; to align along the decimal point. For fun, we have used the :before pseudo-element to insert a dollar sign before each figure. The table might be rendered as follows: Long distance calls $1.30 $2.50 $10.80 $111.01 $85. $90 $.05 $.06 17.5.5 Dynamic row and column effects The 'visibility' property takes the value 'collapse' for row, row group, column, and column group elements. This value causes the entire row or column to be removed from the display, and the space normally taken up by the row or column to be made available for other content. The suppression of the row or column, however, does not otherwise affect the layout of the table.</del><ins>table.</ins> This allows dynamic effects
1176+
to remove table rows or columns without forcing a re-layout of the
1177+
table in order to account for the potential change in column
11761178
constraints.
11771179

11781180
<h2>17.6 <a name="borders">Borders</a></h2>
@@ -1226,16 +1228,16 @@ <h3>17.6.1 <a name="separated-borders">The separated borders model</a></h3>
12261228

12271229
<p class="note"> <del>specify</del><ins>*) Note: user agents may also apply</ins> the
12281230
<del>distance that separates adjacent cell borders. If one length</del><ins>'border-spacing' property to 'frameset' elements. Which elements are
1229-
'frameset' elements</ins> is <del>specified, it gives both the horizontal</del><ins>not defined by this specification</ins> and <del>vertical spacing. If two are specified, the first gives</del><ins>is up to</ins>
1230-
the <del>horizontal spacing and</del><ins>document language. For example, HTML4 defines a &lt;FRAMESET>
1231+
'frameset' elements</ins> is <del>specified, it gives both the horizontal</del><ins>not defined by this specification</ins> and <del>vertical spacing. If two are</del><ins>is up to
1232+
the document language. For example, HTML4 defines a &lt;FRAMESET>
12311233
element, and XHTML 1.0 defines a &lt;frameset> element. The
12321234
'border-spacing' property on a 'frameset' element can be thus used as
12331235
a valid substitute for the non-standard 'framespacing' attribute.</ins>
12341236

12351237
<p><ins>The lengths specify the distance that separates adjoining cell
12361238
borders. If one length is specified, it gives both the horizontal and
1237-
vertical spacing. If two are specified, the first gives the horizontal
1238-
spacing and</ins> the second the vertical spacing. Lengths may not be
1239+
vertical spacing. If two are</ins> specified, the first gives the horizontal
1240+
spacing and the second the vertical spacing. Lengths may not be
12391241
negative.
12401242

12411243
<p><ins>The distance between the table border and the borders of the cells
@@ -1369,11 +1371,11 @@ <h3>17.6.2 <a name="collapsing-borders">The collapsing border model</a></h3>
13691371
</blockquote>
13701372

13711373
<p>Here <var>n</var> is the number of cells in the row,
1372-
<var><ins>padding-left</ins></var><sub><var><ins>i</ins></var></sub> and
1373-
<var> <del>border-width</del><ins>padding-right</ins></var><sub><var>i</var></sub> <del>refers</del><ins>refer</ins> to the <del>border between cells i and</del><ins>left
1374-
(resp., right) padding of cell</ins> <var><ins>i</ins></var><ins>, and</ins>
1375-
<var><ins>border-width</ins></var><sub><var><ins>i</ins></var></sub> <ins>refers to the border
1376-
between cells</ins> <var><ins>i</ins></var> <ins>and</ins> <var>i</var> + 1.
1374+
<var><ins>padding-left</ins></var><sub><var><ins>i</ins></var></sub> <ins>and</ins>
1375+
<var><ins>padding-right</ins></var><sub><var><ins>i</ins></var></sub> <ins>refer to the left
1376+
(resp., right) padding of cell</ins> <var><ins>i</ins></var><ins>,</ins> and
1377+
<var>border-width</var><sub><var>i</var></sub> refers to the border
1378+
between cells <var>i</var> and <var>i</var> + 1.
13771379

13781380
<p> <del>Note only</del><ins>UAs must compute an initial left and right border width for the
13791381
table by examining the first and last cells in the first row of the
@@ -1508,12 +1510,12 @@ <h4><ins>17.6.2.1</ins> <a name="border-conflict-resolution">Border conflict res
15081510
</div>
15091511

15101512
<div class="example"><P style="display:none">Example(s):</P>
1511-
<p> <del>The next</del><ins>Here is an</ins> example <del>shows a table with horizontal rules between the rows. The top border</del>of <del>the table is set to 'hidden' to suppress the top border of the first row. This implements the "rules" attribute of HTML 4.0 (rules="rows"). TABLE[rules=rows] TR { border-top: solid } TABLE[rules=rows] { border-collapse: collapse; border-top: hidden } &nbsp;&nbsp;&nbsp; [D] Table with horizontal rules between the rows. In this case the same effect can also be achieved without setting a 'hidden' border on TABLE, by addressing the first row separately. Which method is preferred is a matter of taste. TR:first-child { border-top: none } TR { border-top: solid } Example(s): Here is another example of hidden collapsing borders: &nbsp;&nbsp;&nbsp; [D]</del><ins>hidden collapsing borders:</ins>
1513+
<p> <del>The next example shows a table with horizontal rules between the rows. The top border of the table</del><ins>Here</ins> is <del>set to 'hidden' to suppress the top border of the first row. This implements the "rules" attribute</del><ins>an example</ins> of <del>HTML 4.0 (rules="rows"). TABLE[rules=rows] TR { border-top: solid } TABLE[rules=rows] { border-collapse: collapse; border-top:</del>hidden <del>} &nbsp;&nbsp;&nbsp; [D] Table with horizontal rules between the rows. In this case the same effect can also be achieved without setting a 'hidden' border on TABLE, by addressing the first row separately. Which method is preferred is a matter of taste. TR:first-child { border-top: none } TR { border-top: solid } Example(s): Here is another example of hidden collapsing borders:</del><ins>collapsing borders:</ins>
15121514

15131515
<div class="figure">
15141516
<p><img src="images/CSStbl3.png" width="57" height="48" alt="Table
1515-
with two omitted borders"><SPAN class="dlink"><ins>&nbsp;&nbsp;&nbsp;</ins><A name="img-CSStbl3" href="images/longdesc/CSStbl3-desc.html" title="Long description of example illustrating hidden internal
1516-
borders"><ins>[D]</ins></A></SPAN>
1517+
with two omitted borders"><SPAN class="dlink">&nbsp;&nbsp;&nbsp;<A name="img-CSStbl3" href="images/longdesc/CSStbl3-desc.html" title="Long description of example illustrating hidden internal
1518+
borders">[D]</A></SPAN>
15171519

15181520
<p class="caption"> Table with two omitted internal borders.
15191521
</div>

css2/diffs-wd/generate.html

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,13 +1046,19 @@ <h3>12.5.1 <a name="list-style">Lists:</a> the <a href="generate.html#propdef-li
10461046
<dl>
10471047
<dt><strong>outside</strong>
10481048

1049-
<dd>The marker box is outside the principal block box. CSS&nbsp;2.1
1049+
<dd><ins>If there is no float adjacent to the principal box and
1050+
'text-align' is either 'justify' or has a value such that text is
1051+
aligned on the side of the marker, then</ins> the marker box is outside the
1052+
principal <del>block</del>box. CSS&nbsp;2.1 <ins>recommends that the marker position is the
1053+
same in other cases, too, but does not require it. CSS&nbsp;2.1</ins>
10501054
does not specify the precise location of the marker box, but does
10511055
require that for list items whose 'direction' property is 'ltr' the
10521056
marker box be on the left side of the content and for elements whose
10531057
'direction' property is 'rtl' the marker box be on the right side of
1054-
the content. 'overflow' on the element does not clip the marker box.
1055-
The marker box is fixed with respect to the principal block box's
1058+
the content.
1059+
<ins>If the marker is outside the principal box, then</ins> 'overflow' on the
1060+
element does not clip the marker <del>box.</del><ins>box and</ins> the marker box is fixed with
1061+
respect to the principal block box's
10561062
border and does not scroll with the principal block box's content.
10571063
The size or contents of the marker box may affect the height of the
10581064
principal block box and/or the height of its first line box, and in

0 commit comments

Comments
 (0)