Closed Bug 23704 Opened 25 years ago Closed 25 years ago

{css-moz} rounded backgrounds spills if top left is not rounded

Categories

(Core :: Layout, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: ian, Assigned: dcone)

References

()

Details

(Keywords: css-moz)

Attachments

(2 files)

If the top left corner is not rounded, i.e. if
   -moz-border-radius-topleft: 0;
...then the background is not cropped to the radius.

See, for example, the three boxes labelled "top right", "bottom left", and
"bottom right" at the top of the test case:
   http://www.bath.ac.uk/%7Epy8ieh/m/border-radius-multiple.html

[assigning straight to dcone, to avoid the pierre|troy -> rods -> dcone route
these bugs normally take... Sorry if I was wrong to do this!]

See also bug 21888, bug 16381.
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Fixed.  Code was only checking for the 0 index when painting corners, so if the
first corner was not rounded, all corners would not be rounded.
*** Bug 23800 has been marked as a duplicate of this bug. ***
Keywords: css-moz
QA Contact: petersen → chrisd
Status: RESOLVED → VERIFIED
Verified with Win32 2000011908 build. Rounded corners look brilliant now, and
they keep their backgrounds in check.
Actually I would like to re-open. It renders outside the borders, once a
background image is added to th element in questions. I'll attach both a
screenshot and a sample html file. I encountered this both in HTML and XUL. Can
this be fixed? Thanks for your help!
Status: VERIFIED → REOPENED
In case somebody wonders we will need this to complete the transition for the 
default skin from using fake bitmaps for radii towards using 'real' 
stylesheets. Desirable time frame for a fix would be m14, in order to get it 
into a potntial beta candidate.
Clearing FIXED resolution due to reopen.
Resolution: FIXED → ---
Hmm. That is another bug altogether. Opened bug 24998, and reclosing this one.
Status: REOPENED → RESOLVED
Closed: 25 years ago25 years ago
Resolution: --- → FIXED
Verified fixed. New bug opened for issue discussed.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: