Closed
Bug 44485
Opened 25 years ago
Closed 24 years ago
Weird table rendering
Categories
(Core :: Layout: Tables, defect, P3)
Tracking
()
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.
Reporter | ||
Comment 1•25 years ago
|
||
Comment 2•25 years ago
|
||
This is a doctype issue, just add transitional doctype without loose.dtd and the
page renders fine.
Comment 3•25 years ago
|
||
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
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.
Comment 10•24 years ago
|
||
I forgot to add, I am using M0.9.2 Build: 2001062815
Comment 11•24 years ago
|
||
Please view
http://www.rediff.com
Using Build Id: 2001071304
The orange outcrop shouldn't be there at the right hand of the page!
Assignee | ||
Comment 12•24 years ago
|
||
*** 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.
Description
•