Closed Bug 46185 Opened 25 years ago Closed 24 years ago

{inc}Rel. pos. inlines in table don't move on image load [REL POS]

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME
mozilla1.0.1

People

(Reporter: stephe, Assigned: karnaze)

References

()

Details

(Keywords: css2, testcase)

Attachments

(2 files)

The above page has a cell in a nested table that has some text with the font <font class="topic1"> and other text rendered with <font class="topic3">. topic1 is helvetica 30pt (large) and topic3 is times 16pt (more normal size). The text renedered in topic1 is positioned about 8 inches above the cell and winds up overlaying text and pictures it should not. Note that I tried but failed to create a small example. The act of copying everthing to a local hard disk and loading it as a file causes Mozilla to render the page correctly. Note also that this page validates successfully with validator.w3.org as HTML 4.0 Transitional. I tried this on Linux with Mozilla 072113.
I forgot to mention that you should look for the text "Convenient Appointment Hours", "Fee Payment", and "Second Campus Location". These are the strings that get misplaced. Sorry for the spam.
*** Bug 46186 has been marked as a duplicate of this bug. ***
Attached file Testcase
I think it is the style property "position: relative;" that is causing this. The text is repositioned in its correct place if you resize the window slightly. I added border=1 in the testcase to highlight the table boundaries. I can repeat this bug using the testcase reliably with build 2000-07-20-08 on Windows 98 SE. I can repeat it at the original URL too, but only if I clear the disk cache between each try.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
OS: Linux → All
This seems to be a incremental reflow bug due to relative positioning. The relatively positioned inlined elements are not being moved from the place where they were before the image loaded when the image is displayed. Does this have something to do with repositioning of views, or is it just a "normal" incremental reflow bug?
Keywords: css2
Hardware: PC → All
Summary: Mozilla renders <font class="..."> text in the wrong place → {inc}Rel. pos. inlines in table don't move on image load
Triaging Clayton's bug list: ---------------------------- Based on David's comment reassigning bug to nisheeth. CCing karnaze@netscape.com, and attinasi@netscape.com
Assignee: clayton → nisheeth
As per meeting with ChrisD today, taking QA.
QA Contact: petersen → py8ieh=bugzilla
Re-assigning to Marc, layout manager during karnaze's absence.
Assignee: nisheeth → attinasi
The problem is with the reflow due to the image load completing. The relpos text is positoned correctly before the image has loaded, however when the image comes in the table grows in height and the relpos text is not then repositioned. I'll attach a testcase showing how the positioned text lines up in a duplicate table but with no image, and you can see that the position is the same as when the error occurs.
Assignee: attinasi → karnaze
Summary: {inc}Rel. pos. inlines in table don't move on image load → {inc}Rel. pos. inlines in table don't move on image load [REL POS]
ian, is this a dup of bug 48138?
This seems quite different to me.
Moving to m1.0.1.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0.1
QA Contact: ian → amar
WORKSFORME, 2001-08-09-04 on Windows 98 SE.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: