Closed Bug 299923 Opened 19 years ago Closed 19 years ago

div's background color should fill the text area

Categories

(Core :: Layout: Block and Inline, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: zhsoft88, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050516 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050516 Firefox/1.0+

div's background color should fill the text area.

Reproducible: Always
Attached image IE screen shot
Erh ?!

Seems to be ok for me, using a 10 minutes old, homemade build under MacOS-X Tiger.

Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050707
Firefox/1.0+ 

Car you try with a younger build ?
Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050601 Mnenhy/0.7
the div has a height of 10px, and that is showing the background.
The font-size is 16px, overflow visible, so the overflowing part of the font
doesn´t show the div's background.
http://www.w3.org/TR/CSS21/colors.html#q2
"In terms of the box model, "background" refers to the background of the
content, padding and border areas."

The current rendering is correct per CSS 2.1.

-> INVALID
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: