Closed
Bug 2007
Opened 26 years ago
Closed 26 years ago
floats being overwritten
Categories
(Core :: Layout, defect, P2)
Tracking
()
VERIFIED
FIXED
M6
People
(Reporter: dbaron, Assigned: buster)
References
()
Details
Your checkin regarding what goes on top of what seems to have messed up my
homepage. It worked wonderfully for everything else (i.e, nontransparent
backgrounds). The right floating images are now drawn over by the P element
next to them, *which has a transparent background*. (See bug 1413 for related
event problems.)
Reporter | ||
Comment 1•26 years ago
|
||
Similar problems are reported in bug 1910.
You should follow CSS2, section 9.5: "When an inline box overlaps with a
float, the content, background, and borders of the inline box are rendered in
front of the float. When a block box overlaps, the background and borders of
the block box are rendered behind the float and are only be visible where the
box is transparent. The content of the block box is rendered in front of the
float." Handling the events this way should also solve the event problems.
(bug 1413)
Comment 3•26 years ago
|
||
per leger, assigning QA contacts to all open bugs without QA contacts according
to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser
Reporter | ||
Comment 4•26 years ago
|
||
Right now, to see this bug, you need to use a stylesheet that puts borders on
the IMG elements that are links (or, rather, doesn't take them away) and *also*
puts background-color on the P elements. You can simulate this by putting
STYLE="background: black;" on the P element after the three images to see the
problem.
The handling of this problem has changed a bit over time. Right now you are
drawing the inline content of the float over top of the background of the
non-float, but not the borders within the float or the background of the float.
There are better test cases for this problem in bug 1277, and also 1910. Bug
1413 is probably related.
Updated•26 years ago
|
QA Contact: 4144 → 4110
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 6•26 years ago
|
||
Using 3/26 build, verified fixed. Floats are correct.
You need to log in
before you can comment on or make changes to this bug.
Description
•