Closed Bug 305735 Opened 19 years ago Closed 19 years ago

Overlapping table cells in XHTML

Categories

(Core :: Layout: Tables, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 33988

People

(Reporter: stryker330, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

This is the same as bug 62530 except specific to XHTML.  In summary, incorrect
XHTML involving rowspan and colspan attributes can lead to overlapping table cells.

Although this behavior is fine for HTML, the latest CSS 2.1 draft indicates that
this shouldn't occur in an XHTML document
(http://www.w3.org/TR/2005/WD-CSS21-20050613/tables.html#q7).  Under the diagram
in that section is this: "on the right, the only possible formatting of a
similar XHTML table", which leads me to believe that this section applies to XHTML.

However, the spec is otherwise ambiguous on this matter.  On this page
(http://www.w3.org/TR/2005/WD-CSS21-20050613/images/longdesc/table-overlap-desc.html)
that describes the problem, I don't see any distinction between HTML and XHTML.

Reproducible: Always

Steps to Reproduce:
Example from the CSS 2.1 spec:
<table>
<tr><td>1 </td><td rowspan="2">2 </td><td>3 </td><td>4 </td></tr>
<tr><td colspan="2">5 </td></tr>
</table>
Actual Results:  
table cells overlapped

Expected Results:  
table cells shouldn't overlap regardless of correctness

*** This bug has been marked as a duplicate of 33988 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Keywords: testcase
OS: Windows XP → All
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: