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)

x86
Windows XP
defect
Not set
normal

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
Can you attach a test case illustrating this ?
No answers since 2008-08 Resolving as Incomplete
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → INCOMPLETE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.