Anchor CSS border is not resizing to fit contained image of taller height

RESOLVED INVALID

Status

()

RESOLVED INVALID
12 years ago
12 years ago

People

(Reporter: vleipnik, Unassigned)

Tracking

({testcase})

1.8 Branch
x86
Windows XP
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

12 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.6) Gecko/20060728 Firefox/1.5.0.6

An image contained in an anchor whose height is larger than that of the anchor will not force the anchor's height to expand but rather will appear too small. In Internet Explorer the anchor expands to fit the larger image.

Reproducible: Always

Steps to Reproduce:
A sample HTML file will be provided.
Actual Results:  
The border around the anchor is not expanded to fit the contained image and is too short.

Expected Results:  
The border around the anchor should be expanded to fit the contained image properly.
(Reporter)

Comment 1

12 years ago
Created attachment 238410 [details]
Example of the issue described.
Component: General → Layout
Product: Firefox → Core
QA Contact: general → layout
Version: unspecified → 1.8 Branch

Comment 2

12 years ago
Created attachment 238746 [details]
Reporter's testcase

Comment 3

12 years ago
The layout in Firefox is correct according to CSS 2.1, see:
http://www.w3.org/TR/CSS21/visudet.html#inline-non-replaced
(The bug is in IE.)

-> INVALID
Status: UNCONFIRMED → RESOLVED
Last Resolved: 12 years ago
Keywords: testcase
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.