Closed Bug 2007 Opened 26 years ago Closed 26 years ago

floats being overwritten

Categories

(Core :: Layout, defect, P2)

Other
Other
defect

Tracking

()

VERIFIED FIXED

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.)
Status: NEW → ASSIGNED
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)
Setting all current Open/Normal to M4.
per leger, assigning QA contacts to all open bugs without QA contacts according to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser
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.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Really a dup of 1277, but fixed today anyway
QA Contact: 4144 → 4110
Status: RESOLVED → VERIFIED
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.