|
1 | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> |
2 | 2 | <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 $ --> |
4 | 4 | <head> |
5 | 5 | <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"> |
6 | 6 | <title>Tables</title> |
@@ -552,12 +552,18 @@ its own limitations on row and column spans. |
552 | 552 | knowledge in CSS syntax.) Each cell is thus a rectangular box, one |
553 | 553 | or more grid cells wide and high. The top row of this rectangle is |
554 | 554 | 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.) |
561 | 567 |
|
562 | 568 | <li>A cell box cannot extend beyond the last row box of a table or |
563 | 569 | row-group; the user agents must shorten it until it fits. |
@@ -600,16 +606,15 @@ document, the second an XHTML document: |
600 | 606 | </table> |
601 | 607 | </pre> |
602 | 608 |
|
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 |
604 | 610 | HTML table's rendering is explicitly undefined by HTML, and CSS |
605 | 611 | doesn't try to define it. User agents are free to render it, e.g., as |
606 | 612 | in the figure on the left. |
607 | 613 |
|
608 | 614 | <div class="figure"> |
609 | 615 | <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. |
613 | 618 | </div> |
614 | 619 | </div> |
615 | 620 |
|
|
0 commit comments