RESOLVED FIXED 21743
[CAIRO] RenderPath on SVG is incomplete.
https://bugs.webkit.org/show_bug.cgi?id=21743
Summary [CAIRO] RenderPath on SVG is incomplete.
Dirk Schulze
Reported 2008-10-19 10:59:11 PDT
The support for strokeBBox and strokeContains on RenderPath in SVG is incomplete for Cairo. It misses the applying of stroke properties.
Attachments
Completes RenderPath support for Cairo/SVG (2.43 KB, patch)
2008-10-19 11:03 PDT, Dirk Schulze
eric: review-
Dirk Schulze
Comment 1 2008-10-19 11:03:37 PDT
Created attachment 24510 [details] Completes RenderPath support for Cairo/SVG This patch applies the stroke properties to the context and makes some optimizations.
Eric Seidel (no email)
Comment 2 2008-10-21 14:26:50 PDT
Comment on attachment 24510 [details] Completes RenderPath support for Cairo/SVG Looks fine to me. Is WebKit GTK *still* not running DRT? If it is, this needs a test case. r- for lack of test case (or test case changes). But the code change itself looks fine.
Dirk Schulze
Comment 3 2008-10-22 10:57:50 PDT
(In reply to comment #2) > (From update of attachment 24510 [details] [edit]) > Looks fine to me. Is WebKit GTK *still* not running DRT? If it is, this needs > a test case. r- for lack of test case (or test case changes). But the code > change itself looks fine. There are already test cases in LayoutTests for this patch. strokeContains: LayoutTests/svg/custom/hit-test-path-stroke.svg strokeBBox: LayoutTests/svg/custom/stroked-pattern.svg strokeBBox is only used on SVG patterns with overflow="visible". Cairo lack's support for overflow="visible" currently. It is added with https://bugs.webkit.org/show_bug.cgi?id=21205. But it needs the patch for patterns on https://bugs.webkit.org/show_bug.cgi?id=21555 too.
Dirk Schulze
Comment 4 2008-11-23 13:46:27 PST
strokeBBox don't need the pattern patch: animate-elem-26-t.svg This test can be run by DRT now. But DRT has some problems on svg/custom/hit-test-path-stroke.svg for strokeContains. A problem on the DRT side.
Dirk Schulze
Comment 5 2009-01-15 10:38:39 PST
fixed by another patch
Note You need to log in before you can comment on or make changes to this bug.