8000 [css2] Changes to table layout agreed on in transition call with the … · w3c/csswg-drafts@a215351 · GitHub
Skip to content

Commit a215351

Browse files
committed
[css2] Changes to table layout agreed on in transition call with the Director
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%402704
1 parent 53e4fa9 commit a215351

7 files changed

Lines changed: 115 additions & 35 deletions

File tree

css2/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# Makefile to generate the CSS2 document based on its "source files"
22
# Arnaud Le Hors - lehors@w3.org
3-
# $Id: Makefile,v 2.99 2007-04-16 12:58:45 bbos Exp $
3+
# $Id: Makefile,v 2.100 2007-05-16 19:21:05 bbos Exp $
44

55
# what needs to be set for every new release:
66
# Note use of full year (1998) in identifier.
77
THE_YEAR = 2007
8-
THE_MONTH = 04
9-
THE_MONTHNAME = April
8+
THE_MONTH = 05
9+
THE_MONTHNAME = May
1010
THE_DAY = XX
1111
THE_STATUS = CR
12-
THE_STATUSNAME = Candidate Recommendation
12+
THE_STATUSNAME = CR editors draft
1313

1414
PREV_YEAR = 2006
1515
PREV_MONTH = 11

css2/Project.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
# value contains spaces.
1111
#
1212
# Bert Bos <bert@w3.org>
13-
# $Id: Project.cfg,v 2.18 2005-06-02 22:02:46 bbos Exp $
13+
# $Id: Project.cfg,v 2.19 2007-05-16 19:21:05 bbos Exp $
1414

1515
@source-extension .src
1616

1717
@stylesheet style/default.css text/css
18-
@stylesheet http://www.w3.org/StyleSheets/TR/W3C-WD.css text/css
18+
@stylesheet http://www.w3.org/StyleSheets/TR/W3C-CR.css text/css
1919
@contents "cover.html#minitoc"
2020

2121
# Additional links. If for navbar, then add a 3rd column

css2/cover.src

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,12 @@ CSS3 Module that includes those feature(s)).
110110

111111
<h2 id=status>Status of this document</h2>
112112

113+
<p><em>Editor's draft.</em>
114+
115+
<p>Insert CR status section here&hellip;
116+
117+
<!--
118+
113119
<p><em>This section describes the status of this document at the time
114120
of its publication. Other documents may supersede this document. A
115121
list of current W3C publications and the latest revision of this
@@ -124,7 +130,7 @@ href="mailto:www-style@w3.org">www-style@w3.org</a> (see <a
124130
href="http://www.w3.org/Mail/Request">instructions</a>) is preferred
125131
for discussion of this specification. When sending e-mail, please put
126132
the text &#8220;[CSS21]&#8221; in the subject, preferably like
127-
this: &#8220;[<!---->CSS21<!---->] <em>&hellip;summary of
133+
this: &#8220;[CSS21] <em>&hellip;summary of
128134
comment&hellip;</em>&#8221;</p>
129135

130136
<p>This document was produced by the <a
@@ -149,6 +155,7 @@ the W3C Patent Policy</a>.</p>
149155
<p>A test suite and a report on implementations will be provided
150156
before the document becomes a Proposed Recommendation.
151157

158+
-->
152159

153160

154161

css2/images/longdesc/table-overlap-desc.html

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,12 @@
1111
<h1>Long description for example showing how structurally
1212
overlapping cells are rendered</h1>
1313

14-
<P>This example shows a difference between CSS's table model for HTML
15-
and for other document formats. The first, HTML, example is defined by
16-
HTML to be illegal, as it would lead to overlapping cells if HTML's
17-
rules for layout are followed. The CSS rules apply to other formats
18-
than HTML, and don't have this problem.
19-
20-
<P>The diagram depicts how the two examples, the HTML one and the
21-
almost identical non-HTML one, might be rendered. The rendering of the
22-
HTML example is undefined, and one possible rendering is shown here,
23-
in the left half of the figure: it has two cells that overlap. The
24-
rendering of the non-HTML example is on the right, it follows the CSS
25-
rules and thus has no overlapping cells.
14+
<P>This example shows two different ways to render tables that are
15+
defined by HTML (and thus XHTML1) to be illegal, because of their
16+
specific combination of rowspan and colspan attributes.
17+
18+
<P>The rendering on the left has two cells that overlap. The rendering
19+
on the right doesn't, but leaves a gap in the table.
2620

2721
<p>In both tables, cells have gray backgrounds and a black
2822
border. Each contains a single digit as label. Cells are separated

css2/issues/issues-4

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,47 @@ Proposal:
5353

5454
Leave spec as-is.
5555

56+
New proposal:
57+
http://lists.w3.org/Archives/Member/w3c-css-wg/2007AprJun/0250.html
58+
59+
Add explicitly undefined cases to bullet 5 in 17.5
60+
5661
Resolution:
5762

58-
Issue closed.
63+
(After discussing with the Director:) the layout of illegal XHTML
64+
tables (and all similar combinations of rowspan/colspan in other
65+
formats) when rendered with CSS's table properties is explicitly
66+
undefined, as follows:
67+
68+
Change this text in bullet 5 of 17.5
69+
70+
The rectangle must be as far to the left as possible, but it
71+
may not overlap with any other cell box, and must be to the
72+
right of all cells in the same row that are earlier in the
73+
source document. (This constraint holds if the 'direction'
74+
property of the table is 'ltr'; if the 'direction' is 'rtl',
75+
interchange "left" and "right" in the previous sentence.)
76+
77+
to
78+
79+
The rectangle must be as far to the left as possible, but the
80+
part of the cell in the first column it occupies must not
81+
overlap with any other cell box (i.e., a row-spanning cell
82+
starting in a prior row), and the cell must be to the right of
83+
all cells in the same row that are earlier in the source
84+
document. If this position would cause a column-spanning cell
85+
to overlap a row-spanning cell from a prior row, CSS does not
86+
define the results: implementations may either overlap the
87+
cells (as is done in many HTML implementations) or may shift
88+
the later cell to the right to avoid such overlap. (This
89+
constraint holds if the 'direction' property of the table is
90+
'ltr'; if the 'direction' is 'rtl', interchange "left" and
91+
"right" in the previous two sentences.)
92+
93+
Also change the following example and its image caption
94+
correspondingly.
95+
96+
=Bert= edit.
5997
------------------------------------------------------------------------
6098
Issue 4.
6199
URI: http://fantasai.inkedblade.net/style/specs/css2.1/min-max-replaced-2

css2/issues/issues-4.html

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ <h2>Summary of public comments</h2>
3030

3131
<tbody>
3232
<tr><td><a href="#issue-2">2</a> <td class=n>no response
33-
<tr><td><a href="#issue-3">3</a> <td class=o><a
34-
href="http://lists.w3.org/Archives/Public/www-style/2007Apr/0065.html">
35-
objection</a>
33+
<tr><td><a href="#issue-3">3</a> <td class=a><a
34+
href="http://lists.w3.org/Archives/Member/w3c-css-wg/2007AprJun/0156.html">
35+
accept</a>
3636
<tr><td><a href="#issue-4">4</a> <td class=n>no response
3737
<tr><td><a href="#issue-5">5</a> <td class=n>no response
3838
<tr><td><a href="#issue-6">6</a> <td class=n>no response
@@ -132,10 +132,46 @@ <h2 id="issue-3">Issue 3</h2>
132132
<a href="http://lists.w3.org/Archives/Member/w3c-css-wg/2007JanMar/0303.html">http://lists.w3.org/Archives/Member/w3c-css-wg/2007JanMar/0303.html</a>
133133

134134
Leave spec as-is.
135+
136+
New proposal:
137+
<a href="http://lists.w3.org/Archives/Member/w3c-css-wg/2007AprJun/0250.html">http://lists.w3.org/Archives/Member/w3c-css-wg/2007AprJun/0250.html</a>
138+
139+
Add explicitly undefined cases to bullet 5 in 17.5
135140
</pre></dd>
136141
<dt>Resolution</dt>
137142
<dd><pre>
138-
No change.
143+
(After discussing with the Director:) the layout of illegal XHTML
144+
tables (and all similar combinations of rowspan/colspan in other
145+
formats) when rendered with CSS's table properties is explicitly
146+
undefined, as follows:
147+
148+
Change this text in bullet 5 of 17.5
149+
150+
The rectangle must be as far to the left as possible, but it
151+
may not overlap with any other cell box, and must be to the
152+
right of all cells in the same row that are earlier in the
153+
source document. (This constraint holds if the 'direction'
154+
property of the table is 'ltr'; if the 'direction' is 'rtl',
155+
interchange "left" and "right" in the previous sentence.)
156+
157+
to
158+
159+
The rectangle must be as far to the left as possible, but the
160+
part of the cell in the first column it occupies must not
161+
overlap with any other cell box (i.e., a row-spanning cell
162+
starting in a prior row), and the cell must be to the right of
163+
all cells in the same row that are earlier in the source
164+
document. If this position would cause a column-spanning cell
165+
to overlap a row-spanning cell from a prior row, CSS does not
166+
define the results: implementations may either overlap the
167+
cells (as is done in many HTML implementations) or may shift
168+
the later cell to the right to avoid such overlap. (This
169+
constraint holds if the 'direction' property of the table is
170+
'ltr'; if the 'direction' is 'rtl', interchange "left" and
171+
"right" in the previous two sentences.)
172+
173+
Also change the following example and its image caption
174+
correspondingly.
139175
</pre></dd>
140176
<dt>Status</dt>
141177
<dd><p>Issue closed.</p></dd>

css2/tables.src

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
22
<html lang="en">
3-
<!-- $Id: tables.src,v 2.96 2006-10-10 18:53:27 bbos Exp $ -->
3+
<!-- $Id: tables.src,v 2.97 2007-05-16 19:21:06 bbos Exp $ -->
44
<head>
55
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
66
<title>Tables</title>
@@ -552,12 +552,18 @@ its own limitations on row and column spans.
552552
knowledge in CSS syntax.) Each cell is thus a rectangular box, one
553553
or more grid cells wide and high. The top row of this rectangle is
554554
in the row specified by the cell's parent. The rectangle must be as
555-
far to the left as possible, but it may not overlap with any other
556-
cell box, and must be to the right of all cells in the same row that
557-
are earlier in the source document. (This constraint holds if the
558-
'direction' property of the table is 'ltr'; if the <span
559-
class="propinst-direction">'direction'</span> is 'rtl', interchange
560-
"left" and "right" in the previous sentence.)
555+
far to the left as possible, but the part of the cell in the first
556+
column it occupies must not overlap with any other cell box (i.e., a
557+
row-spanning cell starting in a prior row), and the cell must be to
558+
the right of all cells in the same row that are earlier in the
559+
source document. If this position would cause a column-spanning cell
560+
to overlap a row-spanning cell from a prior row, CSS does not define
561+
the results: implementations may either overlap the cells (as is
562+
done in many HTML implementations) or may shift the later cell to
563+
the right to avoid such overlap. (This constraint holds if the
564+
'direction' property of the table is 'ltr'; if the 'direction' is
565+
'rtl', interchange "left" and "right" in the previous two
566+
sentences.)
561567

562568
<li>A cell box cannot extend beyond the last row box of a table or
563569
row-group; the user agents must shorten it until it fits.
@@ -600,16 +606,15 @@ document, the second an XHTML document:
600606
&lt;/table&gt;
601607
</pre>
602608

603-
<p>The second is formatted as in the figure on the right. However, the
609+
<p>The second is formatted as in the figure below. However, the
604610
HTML table's rendering is explicitly undefined by HTML, and CSS
605611
doesn't try to define it. User agents are free to render it, e.g., as
606612
in the figure on the left.
607613

608614
<div class="figure">
609615
<p><img src="images/table-overlap.png" alt="One table with overlapping
610-
cells and one without"> <p class="caption">On the left, one possible
611-
rendering of an erroneous HTML 4 table; on the right, the only
612-
possible formatting of a similar XHTML table.
616+
cells and one without"> <p class="caption">Two possible
617+
renderings of an erroneous HTML table.
613618
</div>
614619
</div>
615620

0 commit comments

Comments
 (0)