Closed
Bug 56245
Opened 25 years ago
Closed 24 years ago
Table cell wrongly located
Categories
(Core :: DOM: HTML Parser, defect, P3)
Core
DOM: HTML Parser
Tracking
()
VERIFIED
FIXED
mozilla0.9.4
People
(Reporter: fred, Assigned: harishd)
References
()
Details
(Keywords: testcase, topembed, Whiteboard: [fixed on the trunk and branch])
Attachments
(8 files)
540 bytes,
text/html
|
Details | |
482 bytes,
text/html
|
Details | |
2.46 KB,
patch
|
Details | Diff | Splinter Review | |
2.95 KB,
patch
|
Details | Diff | Splinter Review | |
3.17 KB,
patch
|
Details | Diff | Splinter Review | |
291 bytes,
text/html
|
Details | |
60.00 KB,
image/png
|
Details | |
87.19 KB,
image/png
|
Details |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.17-21mdk i686; en-US; m18) Gecko/20001011
BuildID: 2000101108
Page rendering is completly broken
Reproducible: Always
Steps to Reproduce:
Load URL and compare with Netscape 4.75
Actual Results: Cells called "Programmes Télé" and "Articles" are displayed
below "Salles de Cinema"
Expected Results: Theses cells should be on the right of "Salles de Cinema"
(Hard to explain, check correct rendering using Netscape 4)
Comment 1•25 years ago
|
||
Reporter:
Can you simplify your sample url please. I did a quick check on your code in
your second frame where the problem is occuring.
From my own html crafting experiences I usually get these display results from
missing end </table>, </tr>, </td> tags. In your url, there is a missing </td>
and </tr>. You might find this fixes it. I'll check back.
Comment 2•25 years ago
|
||
Comment 3•25 years ago
|
||
See the problem on Windows 98 Mozilla Build #2000103104. Marking as new.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Linux → All
Comment 4•25 years ago
|
||
From the testcase provided, 2 things are causing the problem. (1) The FONT tag
contains a table (illegal), and (2) there is an unknown tag in the FONT tag.
Comment 5•25 years ago
|
||
Marking INVALID due to bad HTML.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Comment 6•24 years ago
|
||
Keyser Sosez: Are you really sure, that this one should be marked as invalid ?
I think mozilla sould ignore invalid tags, and not render the table different.
Comment 7•24 years ago
|
||
Comment 8•24 years ago
|
||
Reopening per above comment. Ksozez, please don't be so quick invalidating bugs.
I attached the same testcase again without the invalid HTML tag to show the
difference. I agree that Mozilla should just ignore that tag. NS 4.x does
this right, so adding 4xp (and testcase) keyword.
Comment 9•24 years ago
|
||
description for second testcase is not correct:
different rendering without <any unknown tag>
Comment 10•24 years ago
|
||
Adding self to cc:.
Bug is still INVALID if you ask me.
Comment 11•24 years ago
|
||
i think everyone knows that the html used in this examples is invalid. but this
does not explain the reason why the table rendering is different and because of
this, this bug should stay open until we know whats the reason for this
behavior.
Comment 12•24 years ago
|
||
Over to parser to figure out what to do with this.
Component: HTMLTables → Parser
Comment 13•24 years ago
|
||
WFM win98 CVs 2001-03-14
Comment 14•24 years ago
|
||
still the same problem on win98 buildid 2001031604 - this does not work for me.
Reporter | ||
Comment 15•24 years ago
|
||
Still present on Linux buildid 2001031611
Comment 16•24 years ago
|
||
The content model is wrong. Reassigning to harishd.
Assignee: karnaze → harishd
Status: REOPENED → NEW
Comment 17•24 years ago
|
||
I don't know if it's a related bug but check that bug under MacOS: Bug 83605
Here a HTML test doc
http://bugzilla.mozilla.org/showattachment.cgi?attach_id=40741
Result under MacOS
http://bugzilla.mozilla.org/showattachment.cgi?attach_id=40854
But under Win98 this page is perfect... Same prob under linux and MacOS!?
Updated•24 years ago
|
QA Contact: chrisd → bsharma
Assignee | ||
Comment 18•24 years ago
|
||
moving to m0.9.4.
Status: NEW → ASSIGNED
Target Milestone: mozilla1.0 → mozilla0.9.4
Assignee | ||
Comment 19•24 years ago
|
||
*** Bug 84867 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 20•24 years ago
|
||
Comment 21•24 years ago
|
||
The early return in the first loop implies that we may not fall into the second
loop if there's a block container anywhere on the stack. This behavior is
different (though not necessarily incorrect) relative to the original code.
Harish is going to confirm that the new behavior is correct. Assuming he can,
sr=vidur.
One case that will behave different is <p>Some text <b>bold text</font>more
bold</b></p>. With the new code, the formatting should be the same, but the
content model might be different.
Comment 22•24 years ago
|
||
*** Bug 94095 has been marked as a duplicate of this bug. ***
Comment 23•24 years ago
|
||
*** Bug 95891 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 24•24 years ago
|
||
Comment 25•24 years ago
|
||
Harish's new patch attempts to deal with the problem that user-defined
(non-html) tags interfere with residual style activation. I believe his solution
to this is a bit too drastic.
I have a problem with the idea that user-defined tags will always be treated as
leaf elements. This is contrary to existing (and IE) behavior. It does fix the
problem that user-defined tags prevent residual style activation, but has the
potential to introduce new problems to existing content. A compromise may be to
have user-defined tags inherit their parent's behavior w.r.t. containership.
In the meantime, I'm comfortable with Harish checking in patch v1.1. The case
that I questioned in my previous comment is correctly dealt with because of
residual style activation.
Assignee | ||
Comment 26•24 years ago
|
||
*** This bug has been marked as a duplicate of 66772 ***
Status: ASSIGNED → RESOLVED
Closed: 25 years ago → 24 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Comment 27•24 years ago
|
||
Assignee | ||
Comment 28•24 years ago
|
||
Problem 1
---------
Misplaced /FONT was closing out TABLE. I've added logic such that if a residual
style tag ( inline element ) cannot contain a tag ( block element ) then it
cannot close it either. Which implies that the end tag is misplaced.
Problem 2
---------
Userdefined tag present between an inline element and a block element was
causing inline element to contain block element. The fix was to make userdefined
tag behave as an inline element.
r=heikki
Comment 30•24 years ago
|
||
sr=vidur. The latest patch makes user-defined tags act as inline elements in
terms of their containership. This is a reasonable compromise, though we may
still not be completely compatible with IE.
Comment 31•24 years ago
|
||
a=tor on behalf of drivers. In the future please use dependencies instead
of duplicates or mark the dup the other way around so that you're working
on a open bug. Reopening for now so it shows up on appropriate queries.
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Assignee | ||
Comment 32•24 years ago
|
||
FYI: To begin with I was working on this bug ( not bug 66772 ). Recently, bug
66772 got assigned to me and since it is WRMB I couldn't mark 66772 as a dup of
56245. That would make this a special case..though I totally understand your
concern. Also, I have commented on 66772 regarding this fix.
Status: REOPENED → ASSIGNED
Assignee | ||
Comment 33•24 years ago
|
||
Added topembed keyword since this bug is a dup of bug 66772 ( WRMB ).
Keywords: topembed
Whiteboard: [fix in hand] → [fixed on trunk]
Reporter | ||
Comment 34•24 years ago
|
||
Fixing url (page have moved..)
Reporter | ||
Comment 35•24 years ago
|
||
Almost fixed (using Buildid 2001082221) but there is some artefact in second column
Assignee | ||
Comment 36•24 years ago
|
||
Frederic: Could you be more specific on what exactly the problem is?
Assignee | ||
Comment 37•24 years ago
|
||
Reporter | ||
Comment 38•24 years ago
|
||
Reporter | ||
Comment 39•24 years ago
|
||
Assignee | ||
Comment 40•24 years ago
|
||
Frederic: I'm not sure if you're talking about the same thing ( i.e., space
between "Programmes tele" and "titre" ) as my testcase ( id=46894 ). If it's
then we need to open up a new bug on it.
Reporter | ||
Comment 41•24 years ago
|
||
I was talking about space between "Programmes tele" and "titre"...
Are you sure it we should close this bug, since provided url still have exhibit
a cell location problem ?
Assignee | ||
Comment 42•24 years ago
|
||
The bug that we're seeing is entirely different from the original problem. We
therefore need to open up a new bug. I'll close this bug after I land the change
on the branch.
Assignee | ||
Comment 43•24 years ago
|
||
fixed on the trunk & branch. Marking FIXED.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → FIXED
Whiteboard: [fixed on trunk] → [fixed on the trunk and branch]
Comment 45•24 years ago
|
||
Marking bug as verified with build ID 20011116 on win2k
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•