Closed
Bug 452453
Opened 17 years ago
Closed 17 years ago
Width can not be set on <img> tag when it's the only element inside an <a> tag
Categories
(Firefox :: General, defect)
Tracking
()
VERIFIED
INCOMPLETE
People
(Reporter: xerion, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.2pre) Gecko/2008082705 GranParadiso/3.0.2pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.2pre) Gecko/2008082705 GranParadiso/3.0.2pre
When setting either width or max-width on an <img> tag, when this <img> tag is the only element inside an <a> tag, only the height gets scaled to correspond with the set width, the width itself is left unaltered.
Reproducible: Always
Steps to Reproduce:
1. Create a document with an <img> as sole element inside an <a> element
2. Set css width or max-width to less than the images true width
Actual Results:
Only the height of the image gets scaled, not the width
Expected Results:
Both width and height should be scaled
Comment 1•17 years ago
|
||
Can you attach a test case illustrating this ?
Comment 2•17 years ago
|
||
No answers since 2008-08
Resolving as Incomplete
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → INCOMPLETE
Updated•14 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•