Closed Bug 75250 Opened 24 years ago Closed 24 years ago

empty table width attribute treated as zero table width

Categories

(Core :: Layout, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED

People

(Reporter: jimw-mo, Assigned: bernd_mozilla)

References

()

Details

Attachments

(4 files)

with the following html, the table is rendered as if a zero table width were specified. (http://doc.weblogs.com/ is the site where i noticed this issue.) i won't pretend to be enough of a standards wonk to say whether this is strictly wrong, but it appears to be inconsistent with netscape 4 and internet explorer. (if you remove the 'width=""' from the table element, the text renders on one line. with it there, it only renders as wide as the widest word.) <html> <head> <title>test</title> </head> <body> <table width=""> <tr><td>this is a simple test.</td></tr> </table> </body> </html>
over to parser..
Assignee: karnaze → harishd
Component: Layout → Parser
QA Contact: petersen → bsharma
This ain't parser. Reassigning to karnaze.
Assignee: harishd → karnaze
Verified on: build: 2001-05-21-11-Mtrunk platform: WinNT As this is a HTML table problem, assigning QA to AMAR.
QA Contact: bsharma → amar
If it's verified, let's mark it new. ^_^
Status: UNCONFIRMED → NEW
Ever confirmed: true
*** Bug 89739 has been marked as a duplicate of this bug. ***
I have a patch for this, so steeling the bug
Assignee: karnaze → bernd.mielke
Attached patch patchSplinter Review
*** Bug 88243 has been marked as a duplicate of this bug. ***
When fixing this patch, please check the testcases attached to the duped bug 88243.
Thanks Jacek, the patch now fixes the width="" issue but the width=50" still remains.
I removed the wrong duplicate as the remaining issue is a parser problem. So the patch fixes all relevant testcases, for the remaining problem please look at bug 88243.
Attached file another testcase
Changing to correct component and setting platform/os to All, nominating for mozilla0.9.3
Component: Parser → HTML Element
Keywords: mozilla0.9.3
OS: Linux → All
Hardware: PC → All
Patch looks fine. I might suggest you change the nested IF into a single compound IF, as in if ((NS_ERROR_ILLEGAL_VALUE == ec) && (tmp.Length > 0)) but that is just a suggestion, not very important. sr=attinasi for patch 41539
r=karnaze
fix checked in
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
*** Bug 60919 has been marked as a duplicate of this bug. ***
In which build can I see this bug fixed? 2001071104 - all the same for me.
My 2001071104 (WindowsME) fixes it. Have you installed the trunk build (right) or 0.9.2 build (wrong)? It has not yet been checked in the 0.9.2 branch.
Eugene, no wonder that bug88243 is not fixed, I removed the wrong duplicate relationship to this bug, both bugs are similiar, but the fixes are different.
SPAM. HTML Element component deprecated, changing component to Layout. See bug 88132 for details.
Component: HTML Element → Layout
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: