Skip to content

Commit 2c11d2c

Browse files
committed
[css2] corrections to 17.2.1 section on generation of anonymous table objects
--HG-- extra : convert_revision : svn%3A73dc7c4b-06e6-40f3-b4f7-9ed1dbc14bfc/trunk%401786
1 parent 8ba776f commit 2c11d2c

1 file changed

Lines changed: 32 additions & 11 deletions

File tree

css2/tables.src

Lines changed: 32 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22
<html lang="en">
3-
<!-- $Id: tables.src,v 2.44 1999-11-04 16:43:17 ijacobs Exp $ -->
3+
<!-- $Id: tables.src,v 2.45 1999-11-04 19:34:26 ijacobs Exp $ -->
44
<head>
55
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
66
<title>Tables</title>
@@ -265,18 +265,18 @@ behavior.
265265

266266
<P>Document languages other than HTML may not contain all the elements
267267
in the CSS2 table model. In these cases, the "missing" elements must
268-
be assumed in order for the table model to work. The missing elements
268+
be assumed in order for the table model to work.
269+
Any table element will automatically generate necessary anonymous
270+
table objects around itself, consisting of at least three nested objects
271+
corresponding to a 'table'/'inline-table' element, a 'table-row'
272+
element, and a 'table-cell' element.
273+
Missing elements
269274
generate <a href="visuren.html#anonymous">anonymous</a> objects (e.g.,
270275
anonymous boxes in visual table layout) according to the following
271276
rules:</p>
272277

273278
<ol>
274279

275-
<li>Any table element will automatically generate necessary anonymous
276-
table objects around itself, consisting of at least three nested objects
277-
corresponding to a 'table'/'inline-table' element, a 'table-row'
278-
element, and a 'table-cell' element.
279-
280280
<li>If the parent P of a 'table-cell' element T is not a 'table-row',
281281
an object corresponding to a 'table-row' will be generated between P
282282
and T. This object will span all consecutive 'table-cell' siblings
@@ -288,15 +288,36 @@ object corresponding to a 'table' element will be
288288
generated between P and T. This object will span all consecutive siblings
289289
(in the document tree) of T that require a 'table' parent:
290290
'table-row', 'table-row-group', 'table-header-group',
291-
'table-footer-group', 'table-column', 'table-column-group', and 'caption'.
291+
'table-footer-group', 'table-column', 'table-column-group', and 'table-caption'.
292+
293+
<li>If the parent P of a 'table-column' element T is not a 'table',
294+
'inline-table', or 'table-column-group' element, an
295+
object corresponding to a 'table' element will be
296+
generated between P and T. This object will span all consecutive siblings
297+
(in the document tree) of T that require a 'table' parent:
298+
'table-row', 'table-row-group', 'table-header-group',
299+
'table-footer-group', 'table-column', 'table-column-group', and 'table-caption'.
292300

293-
<li>If the parent P of a 'table-row-group' (or 'table-header-group' or
294-
'table-footer-group') element T is not a 'table' or 'inline-table', an
301+
<li>If the parent P of a 'table-row-group' (or 'table-header-group',
302+
'table-footer-group', or 'table-column-group') element T is not a 'table' or 'inline-table', an
295303
object corresponding to a 'table' element will be generated between P
296304
and T. This object will span all consecutive siblings (in the document
297305
tree) of T that require a 'table' parent: 'table-row',
298306
'table-row-group', 'table-header-group', 'table-footer-group',
299-
'table-column', 'table-column-group', and 'caption'.
307+
'table-column', 'table-column-group', and 'table-caption'.
308+
309+
<li>If a child T of a 'table' element (or 'inline-table') P is not a
310+
'table-row-group', 'table-header-group', 'table-footer-group', or
311+
'table-row' element, an object corresponding to a 'table-row' element
312+
will be generated between P and T. This object spans all consecutive
313+
siblings of T that are not 'table-row-group', 'table-header-group',
314+
'table-footer-group', or 'table-row' elements.
315+
316+
<li>If a child T of a 'table-row-group' element (or
317+
'table-header-group' or 'table-footer-group') P is
318+
not a 'table-row' element, an object corresponding to a 'table-row'
319+
element will be generated between P and T. This object spans all
320+
consecutive siblings of T that are not 'table-row' elements.
300321

301322
<li>If a child T of a 'table-row' element P is not a 'table-cell'
302323
element, an object corresponding to a 'table-cell' element will be

0 commit comments

Comments
 (0)