Bug 9198
| Summary: | border-radius logic in GraphicsContext needs to be written in Cairo | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Beth Dakin <bdakin> |
| Component: | Platform | Assignee: | 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
drawArc(), addRoundedClipRect(), and addInnerRoundedClipRect() should be implemented in Cairo to match the mac side.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Beth Dakin
This is a followup bug for http://bugzilla.opendarwin.org/show_bug.cgi?id=6755
Alp Toker
A lot of time has passed since this bug was filed. The functions may well have been implemented. Needs checking.
Kalle Vahlman
addInnerRoundedRectClip() seems to be there, others are still missing.
Kalle Vahlman
(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
The patch at https://bugs.webkit.org/show_bug.cgi?id=20343 implemented border-radius to cairo and matches the mac side.