Closed Bug 65461 Opened 24 years ago Closed 24 years ago

bgcolor height=div height and not visible height

Categories

(Core :: Layout, defect)

x86
Windows 98
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: hojani, Assigned: clayton)

Details

Attachments

(1 file)

569 bytes, text/html
Details
<div id="div1" style="height:10;background-color:blue;">
1.line<br>
2.line
</div>

When i set the height of a div element but nothing else (like overflow, clip, 
etc) the background color's height is only = with this value and not with the 
visible content height.
Attached file testcase
I believe that this is the correct CSS2 behavior.  The background color is only
applied to the content area of the div.  asking Hixie to take a look at this,
just in case.
QA Contact: petersen → ian
Summary: bgcolor height=div height and not visible height → bgcolor height=div height and not visible height
it's correct per CSS2
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
since i resolved it, i can't verify it...
QA Contact: ian → petersen
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: