Closed Bug 275145 Opened 20 years ago Closed 20 years ago

Background Position of the A element is based on the text not the actual height of the box.

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: melop_cui, Unassigned)

Details

Attachments

(3 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a6)
Gecko/20041217 Firefox/1.0+
BuildID:    20041217

The background is position and painted according to the text inside the A element,
Even when the css "height" property is defined for "A" , or an image inside
make the height of it become bigger.

Reproducible: Always
Steps to Reproduce:
1. See attachment

Actual Results:  Mozilla/Firefox paint background according to text.

Expected Results:  Perform the background painting of the whole "A" box. See
attachment bug2.zip
Extract this file to a folder, and open bug2.htm

The file also contains an expected result.
<A> is an inline element.  Height does not apply to inline elements.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Result renderred in Firefox. Different from the expected result.
Page renderred in Opera 7.54, just as expected
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: