Bug 124342

Summary: SVG intrinsic size issues when drawn on canvas
Product: WebKit Reporter: Yoav Weiss <yoav>
Component: CanvasAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: dino, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Linux   
Attachments:
Description Flags
Layout tests reproducing this issue none

Description Yoav Weiss 2013-11-14 02:43:44 PST
When running the layout tests fast/hidpi/image-srcset-svg-canvas.html and fast/hidpi/image-srcset-svg-canvas-2x.html in the gtk-wk2 test runner, the tests fail, and the intrinsic size of the canvas drawn SVG are half of what they should be.

When testing the same pages in gtk2 WebKit browser itself, they look as they should be.

The layout tests are available at https://bugs.webkit.org/show_bug.cgi?id=123832 or attached here.
Comment 1 Yoav Weiss 2013-11-14 06:27:32 PST
Created attachment 216928 [details]
Layout tests reproducing this issue
Comment 2 Dean Jackson 2014-02-03 14:35:51 PST
Is this GTK only?
Comment 3 Radar WebKit Bug Importer 2014-02-03 14:43:12 PST
<rdar://problem/15973214>
Comment 4 Yoav Weiss 2014-02-03 15:10:50 PST
I don't think it's GTK only, but I'm not certain I've also seen it on OSX.
FWIW, I also seen the same issue in Blink.
Comment 5 Simon Fraser (smfr) 2014-10-08 16:36:59 PDT
Still failing on Mac. Marking as expected failure.