Closed Bug 44485 Opened 25 years ago Closed 24 years ago

Weird table rendering

Categories

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

x86
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 88243
Future

People

(Reporter: matt, Assigned: harishd)

References

()

Details

Attachments

(2 files)

The Sealand government page has some weird page table problems. They're caused by HTML like this: <table width="100% height="100%" cellpadding="0" cellspacing="0" border="0"> Note that the "width" attribute doesn't have a closing double quote. By itself, this leads to only midly strange behavior, but when used with nested tables, it leads to something that looks like a verticaly split frameset with all the content on the left side, nothing on the right side, and the left side's scrollbar all the way over on the right. I'll attach the offending page in case the web site changes.
This is a doctype issue, just add transitional doctype without loose.dtd and the page renders fine.
Reassigning to Harishd based on the last comment.
Assignee: karnaze → harishd
I don't think this is anything to do with DOCTYPE.
Status: NEW → ASSIGNED
The problem is in nsGenericHTMLElement::ParseValueOrPercentOrProportional() method, where it assumes that the '%' is always found at the end of the attribute value. Therefore, values such as "100% height=" are converted into pixel rather than percentage. The fix ( quirks only ) would be to identify the appropriate unit in the string. However, the unit should also be in the appropriate position,i.e., "100 height%" should have pixel unit than percentage. Note: This is not a high priority bug. Putting on nsbeta3 radar anyway.
Keywords: nsbeta3
This bug has been marked "future" because we have determined that it is not critical for netscape6.0. If you feel this is an error, or if it blocks your work in some way -- please attach your concern to the bug for reconsideration."
Keywords: nsbeta3
Target Milestone: --- → Future
Target Milestone: Future → mozilla0.8
Target Milestone: mozilla0.8 → mozilla0.9.1
Target Milestone: mozilla0.9.1 → Future
Dupe of bug 47755 (WONTFIX).
could you also check out the table and general page renderering at http://www.answerpal.com The orange border extends beyond the size of the monitor. when viewed with IE, the page rendering is very compact and as desired. One more point here, when no border is selected, border="0", IE puts a thin border around the table, is this a deviation from the HTML spec? It makes the tables look great.
I forgot to add, I am using M0.9.2 Build: 2001062815
Please view http://www.rediff.com Using Build Id: 2001071304 The orange outcrop shouldn't be there at the right hand of the page!
*** This bug has been marked as a duplicate of 88243 ***
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: