Closed Bug 146383 Opened 22 years ago Closed 22 years ago

<div> Content resizes div but background isn't properly resized

Categories

(Core :: DOM: CSS Object Model, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID
mozilla1.0

People

(Reporter: c.mertins, Assigned: jst)

Details

I have a defined <div style="width: 100px; background: #cccccc;
layer-background-color: #cccccc; z-index:2;"></div> this div gets filled
dynamically with content. Sometimes the content resizes the div to more than the
100px. If that happens it displays a transparent background for the parts bigger
than the 100px.
Target Milestone: --- → mozilla1.0
What's happening in those cases is that the <div> is _not_ resized (add a border
to it to be sure) it's just the contents overflowing.

See http://www.w3.org/TR/REC-CSS2/visufx.html#overflow

This is correct per spec. INVALID.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.