Closed Bug 49304 Opened 25 years ago Closed 25 years ago

Tables that have colspan="" look weird

Categories

(Core :: Layout: Tables, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: th, Assigned: karnaze)

References

()

Details

Attachments

(1 file)

Mozilla seems to treat the colspan="" attribute as colspan="0" in HTML tables. As I understand it attr="" equals no attribute with name attr. This bug makes tables that have the colspan attribute set to "" look weird. The following sample HTML illustrates this: <?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><title>Mozilla table bug</title></head> <body> <h1>&lt;td colspan=""&gt;</h1> <table> <tr> <td colspan="">Header 1</td> <td colspan="">Header 2</td> <td colspan="">Header 3</td> </tr> <tr> <td colspan="">Data 1</td> <td colspan="">Data 2</td> <td colspan="">Data 3</td> </tr> </table> <h1>&lt;td colspan="1"&gt;</h1> <table> <tr> <td colspan="1">Header 1</td> <td colspan="1">Header 2</td> <td colspan="1">Header 3</td> </tr> <tr> <td colspan="1">Data 1</td> <td colspan="1">Data 2</td> <td colspan="1">Data 3</td> </tr> </table> </body> </html>
This is a html table bug
Assignee: clayton → karnaze
Component: Layout → HTMLTables
QA Contact: petersen → chrisd
Updating summary to make it easier to see what this is on a query results page.
Summary: colspan="" → Tables that have colspan="" look weird
I could reproduce the bug with 2000070208 Win98 and see the correct behaviour with a debug build from 20000901 Win98. Marking the bug as WFM
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
QA Contact: chrisd → petersen
Works For Me: OS: Windows 98 Platform: PC Mozilla Build #: 2000100508
Status: RESOLVED → VERIFIED
Mass removing self from CC list.
Now I feel sumb because I have to add back. Sorry for the spam.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: