You can't use texture2D with an HTMLImageElement if that image is pointing to an SVG resource. <rdar://problem/15247691>
Created attachment 214599 [details] Patch
Comment on attachment 214599 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=214599&action=review > Source/WebCore/ChangeLog:10 > + Note that the SVG image still needs to have an intrinsic s/intrinsic/explicit/? > Source/WebCore/html/canvas/WebGLRenderingContext.cpp:3829 > + IntRect destRect(0, 0, size.width(), size.height()); destRect(IntPoint(), size)?
Committed r157647: <http://trac.webkit.org/changeset/157647>
CC Ken in case Chrome doesn't already do this.
(In reply to comment #4) > CC Ken in case Chrome doesn't already do this. On it :) http://crbug.com/309161