Bug 9198

Summary: border-radius logic in GraphicsContext needs to be written in Cairo
Product: WebKit Reporter: Beth Dakin <bdakin>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: zuh
Priority: P2 Keywords: Cairo
Version: 420+   
Hardware: Other   
OS: Windows XP   
URL: http://www.w3.org/TR/2005/WD-css3-background-20050216/#the-border-radius

Beth Dakin
Reported 2006-05-31 14:38:05 PDT
drawArc(), addRoundedClipRect(), and addInnerRoundedClipRect() should be implemented in Cairo to match the mac side.
Attachments
Beth Dakin
Comment 1 2006-05-31 14:40:55 PDT
Alp Toker
Comment 2 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.
Kalle Vahlman
Comment 3 2008-06-10 10:03:41 PDT
addInnerRoundedRectClip() seems to be there, others are still missing.
Kalle Vahlman
Comment 4 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 :)
Dirk Schulze
Comment 5 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.
Note You need to log in before you can comment on or make changes to this bug.