Bug 9198 - border-radius logic in GraphicsContext needs to be written in Cairo
Summary: border-radius logic in GraphicsContext needs to be written in Cairo
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 420+
Hardware: Other Windows XP
: P2 Normal
Assignee: Nobody
URL: http://www.w3.org/TR/2005/WD-css3-bac...
Keywords: Cairo
Depends on:
Blocks:
 
Reported: 2006-05-31 14:38 PDT by Beth Dakin
Modified: 2008-09-16 12:40 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Beth Dakin 2006-05-31 14:38:05 PDT
drawArc(), addRoundedClipRect(), and addInnerRoundedClipRect() should be implemented in Cairo to match the mac side.
Comment 1 Beth Dakin 2006-05-31 14:40:55 PDT
This is a followup bug for http://bugzilla.opendarwin.org/show_bug.cgi?id=6755
Comment 2 Alp Toker 2007-10-22 06:28:55 PDT
A lot of time has passed since this bug was filed. The functions may well have been implemented. Needs checking.
Comment 3 Kalle Vahlman 2008-06-10 10:03:41 PDT
addInnerRoundedRectClip() seems to be there, others are still missing.
Comment 4 Kalle Vahlman 2008-08-03 10:37:48 PDT
(In reply to comment #3)
> addInnerRoundedRectClip() seems to be there, others are still missing.
 
I looked a bit more carefully at these, and seems like drawArc was renamed to strokeArc and is actually implemented (though with some FIXME).

Also, addRoundedRectClip is implemented in a platform-independent way in GraphicsContext.cpp.

And (after realizing that since border-radius is still at draft stage) seems like -webkit-border-radius properties are working fine, so I suppose this bug can be closed :)

Comment 5 Dirk Schulze 2008-08-16 14:07:03 PDT
The patch at https://bugs.webkit.org/show_bug.cgi?id=20343 implemented border-radius to cairo and matches the mac side.