Closed Bug 578592 Opened 14 years ago Closed 14 years ago

-moz-border-radius applied to an <img> fails to crop image along curve.

Categories

(Firefox :: General, defect)

All
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 485501

People

(Reporter: kengriffith, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4
Build Identifier: (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6)

<img style="-moz-border-radius:20px; border:1px solid black;" src="foo" alt="foo" />

Produces an image with a properly curved border, but the image corners are not cropped off along the curve.

Happens with border-radius as well as border-radius-topleft, ect.

Reproducible: Always

Steps to Reproduce:
1.<img style="-moz-border-radius:20px; border:1px solid black;" src="foo" alt="" />
2. Replace foo with actual image url.
3. Render it and see the bug in all it's glory.
Actual Results:  
Image shows with curved border, but image corners are not cropped off.

Expected Results:  
Image shows with curved border, and image corners are cropped along the curved border.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.