The default bug view has changed. See this FAQ.

list bullets and other text overlap floats

VERIFIED DUPLICATE of bug 57882

Status

()

Core
Layout
VERIFIED DUPLICATE of bug 57882
16 years ago
15 years ago

People

(Reporter: Chris Abbey, Assigned: Marc Attinasi)

Tracking

Trunk
mozilla1.2alpha
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(3 attachments)

(Reporter)

Description

16 years ago
When the page is first painted the lower text is rendered across the whole
browser width, then the lower right image is rendered under the text. A resize
of the window will correct the layout, as will a cached reload. Shift-reload
will repaint incorrectly.

I suspect the problem is that the images contain height tags, but no width tag
and are initially placed with a width of 0, once they load however they pop out
to their normal width but the rest of the view is not adjusted. Perhaps when the
image width is corrected an invalidate needs to happen to the rest of the layout?

while this isn't the cleanest HTML in the world I think it can be handled
better; if they complain about the reflow flash then tell them to clean up their
html and it wouldn't happen.
(Reporter)

Comment 1

16 years ago
bah, forgot to mention that the build id is 2001011408.

Comment 2

16 years ago
Confirmed
Platform: PC
OS: Linux 2.2.16
Mozilla Build: 2001011608

Marking NEW.
OS: Windows NT → All
Hardware: PC → DEC

Updated

16 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true
Hardware: DEC → All

Comment 3

16 years ago
Really Marking NEW.

Comment 4

16 years ago
Created attachment 28197 [details]
a sample test case from the page

Comment 5

16 years ago
I gave the image a width value of 200 pixels but doen't seem to resolve the 
issue.
Assignee: clayton → karnaze

Comment 6

16 years ago
Reassigning to attinasi and moving to m1.0.
Assignee: karnaze → attinasi
Target Milestone: --- → mozilla1.0
(Reporter)

Comment 7

16 years ago
cleared url, as the page has been completely redesigned. Also kicking my self
for not capturing a copy.  (old url: http://ariss.gsfc.nasa.gov/ )
(Assignee)

Comment 8

16 years ago
Fortunately the testcase attached shows the problem (assuming that the list
items over the image was the problem!)
Status: NEW → ASSIGNED
(Reporter)

Comment 9

16 years ago
while that is a valid problem, and is similar, it isn't the one I originally
meant. I'll see if I can coble together a second test case. The key information
should be that the images only have one dimension given in the html, and thus
their rendering changes when they finish loading.

I suspect that in a newer (libpr0n equiped) build it would assert because of the
zero width. (enough other stuff does)

Comment 10

16 years ago
Created attachment 46063 [details]
More optimized testcase
Seems like bug 802 has regressed.  We should really figure out what CSS3 will
say about intrusions and list bullets, and implement that...

Ian:  Is there another bug on this?
There is a bug on the initial floating image size not being updated when the
image comes in, and there are bugs on -moz-float-edge sucking, but I don't know
if this is either of those bugs.
(Reporter)

Comment 13

16 years ago
Ian, the problem I was originally reporting is the first of those two, the
problems demonstrated in the attachments todate are the second.
(Reporter)

Comment 14

16 years ago
Created attachment 46176 [details]
original case - now seems fixed
(Reporter)

Comment 15

16 years ago
The test case I've just attached is a recreation of the problem I was originally
reporting. It does not however fail with a modern build. If y'all want to keep
the bug open for the list item problem you've been discussing that's fine by me,
but the original problem has been resolved for a while.

Comment 16

16 years ago
Can we add bullets to the summary or is this bug more general?
Summary: text overlays image → list bullets overlap floats
(Reporter)

Comment 17

16 years ago
The URL I've just posted is a *current* example of the original problem I opened
this bug for - look at the two inline pictures and the text below them.
Screenshot and a static copy of the page in question are on
http://cabbey.net/bugzilla/ ... I'll see about trimming this down from there,
but it looks like it's a floating table containing an image without any
dimensions in the html. These were taken from a build on a fresh extract this
evening.
Summary: list bullets overlap floats → list bullets and other text overlap floats

Updated

16 years ago
Target Milestone: mozilla1.0 → mozilla1.2
*** Bug 111109 has been marked as a duplicate of this bug. ***
How is this different from bug 57882?

*** This bug has been marked as a duplicate of 57882 ***
Status: ASSIGNED → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → DUPLICATE
V
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.