Closed
Bug 62249
Opened 24 years ago
Closed 21 years ago
[Quirks] Empty <font> element should not take up space in quirks mode
Categories
(Core :: Layout: Tables, defect, P3)
Tracking
()
Future
People
(Reporter: alexmail, Unassigned)
References
()
Details
(Keywords: compat, testcase)
Attachments
(3 files)
Tables in this site are sized incorrectly, resulting in pictures connecting to
each other as supposed to (tried with IE to check if the error came from the
site, and it worked perfectly)
Mozilla version is the Nightly build of December 6, 2000. Build ID: 2000120604
Comment 1•24 years ago
|
||
When the font tag (and others) are used in a table cell, if a corresponding
/font tag is used at the end, a blank line is inserted by Mozilla.
I have seen this before also with header tags (h1, h2, etc)
It appears that IE and Netscape 4 don't do this.
That is what the problem is here.
The cell containing the image on the left has a font tag, but doesn't have a
corresponding /font tag, while the cell containing the image on the right has
font and /font tags
I'll attach a minimised test case generated from the url, with table borders
swicthed on.
Comment 2•24 years ago
|
||
Comment 3•24 years ago
|
||
Marking NEW.
Rewriting summary.
Old Summary: Tables are sized incorrectly - Nightly Build of December 6 2000.
Note that incorrect markup is causing this.
Also, this is probably a layout issue since tables are really not the culprit here.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Summary: Tables are sized incorrectly - Nightly Build of December 6 2000. → Missing </font> causes whitespace problem in table cell
No sir, this so called bug is invalid! And even with the lack of </font> tag, it
still workes fine! Even the spanning error of <font> over TD doesn't seen of any
influence! Take a look of my example. And remember, this examples STILL needs to
be worked on, before it's valid HTML! But it works just fine!
What is wrong?
Simple, you don't put <p> inside of <font> that's invalid! And that's why I
strongly belief that this bug is also invalid. And the summary is wrong too!
Most Friendly, HJ.
Comment 7•24 years ago
|
||
What do we want to do about this bug.
As H-J pointed out the <p> tags inside the <font> tags is invalid.
If the <p> tags are outside the <font> tags the problem goes away.
Should probably be sent to Evangelism.
Comment 9•23 years ago
|
||
Reassign to harishd since this sounds like a familiar parser issue (harish, send
it back if my intuition is wrong).
Assignee: attinasi → harishd
Comment 10•23 years ago
|
||
Comment 11•23 years ago
|
||
Marc: I doubt that this is a parser issue. It looks like we should not create
frame for <tag></tag> within TD [ I might be wrong :-( ]. Giving bug back to Marc
and ccing myself.
Assignee: harishd → attinasi
Comment 12•23 years ago
|
||
An empty inline element should introduce vertical space (by the line height
amount) according to CSS. IE5 on the Mac does it too, however, as mentioned, IE
(5.5 and 6) on Windows, and Nav 4.7 do not created vertical space for the empth
frame.
If anything, this is a Quirks mode only fix to be made. Accepting and updating
summary.
Status: NEW → ASSIGNED
Summary: Missing </font> causes whitespace problem in table cell → [Quirks] Empty <font> element should not take up sapce in quirks mode
Target Milestone: --- → mozilla1.0
Updated•23 years ago
|
Target Milestone: mozilla1.0 → mozilla1.2
Comment 13•23 years ago
|
||
*** Bug 58061 has been marked as a duplicate of this bug. ***
Comment 14•23 years ago
|
||
fix summary (typo)
Summary: [Quirks] Empty <font> element should not take up sapce in quirks mode → [Quirks] Empty <font> element should not take up space in quirks mode
Comment 15•22 years ago
|
||
attinasi will probably not work on those bugs :-(
Assignee: attinasi → table
Status: ASSIGNED → NEW
QA Contact: amar → madhur
Target Milestone: mozilla1.2alpha → ---
Updated•22 years ago
|
Target Milestone: --- → Future
Comment 16•21 years ago
|
||
The <font> is a red herring, really. The <p> has margins. We turn them off in
quirks mode if it's the first element in a cell. But in this case, it is not.
We've considered trying to somehow do it if it's "sorta the first" element, but
that level of quirkiness does not seem to be required to render the vast
majority of web content, so we've decided against it.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WONTFIX
Comment 18•21 years ago
|
||
*** This bug has been marked as a duplicate of 33784 ***
Status: REOPENED → RESOLVED
Closed: 21 years ago → 21 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•