Closed
Bug 544388
Opened 15 years ago
Closed 15 years ago
Images are not clipped by buttons
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 541382
People
(Reporter: dan.parish, Unassigned)
Details
Attachments
(4 files)
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MS-RTC LM 8; InfoPath.3)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2) Gecko/20100115 Firefox/3.6
If you have an image within <button> tags, the image is not clipped by the button. This is a regression from 3.5.7, and is different than all other web browsers.
Reproducible: Always
Steps to Reproduce:
1. Create a page with code like the following (and make sure to point to a valid JPG):
<HTML>
<BODY>
<BUTTON style="WIDTH: 97px; HEIGHT: 25px; OVERFLOW: hidden">
<IMG style="MARGIN: -372px 0px 0px -466px; VISIBILITY: inherit" src="Flowers.jpg">
</BUTTON>
</BODY>
</HTML>
2. Render in FireFox 3.6
Actual Results:
The entire image displays and the button is "under" the top left of the image.
Expected Results:
For the image to be clipped by the button so the image just shows up in the button.
Sample file/image and before/after picture attached.
Reporter | ||
Comment 1•15 years ago
|
||
Reporter | ||
Comment 2•15 years ago
|
||
Reporter | ||
Comment 3•15 years ago
|
||
Reporter | ||
Comment 4•15 years ago
|
||
Comment 5•15 years ago
|
||
Dan, thanks for reporting this. The fix should hopefully be in the next 3.6 update.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•