Bug 124342 - SVG intrinsic size issues when drawn on canvas
Summary: SVG intrinsic size issues when drawn on canvas
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Linux
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on:
Reported: 2013-11-14 02:43 PST by Yoav Weiss
Modified: 2014-10-08 16:36 PDT (History)
3 users (show)

See Also:

Layout tests reproducing this issue (1.07 KB, application/gzip)
2013-11-14 06:27 PST, Yoav Weiss
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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
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.