Bug 150258

Summary: SVG feBlend With in2 from a resized feImage result linking to an embedded SVG document not specifying viewBox rendered wrong
Product: WebKit Reporter: Andres Gomez Garcia <agomez>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: zimmermann
Priority: P2    
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=150257
Description Flags
Screenshot of the issue. none

Description Andres Gomez Garcia 2015-10-16 14:49:03 PDT
Created attachment 263334 [details]
Screenshot of the issue.

Reproduced with WebKitGTK+ 2.10.0 and with Safari 7.1 on OS X Mavericks.

Steps to reproduce the problem:

Open the URL:

What is the expected behavior?

All the SVGs are shown as the included PNG as reference

What went wrong?

The feImage in the SVG documents explicits values for x=0, y=0, width=172.8%, height=172.8%, which is the same value than the embedded document's height.

Only the SVG in which the embedded SVG document specifies a "viewBox" with values "0 0 <SVGWidth> <SVGHeight>" which, AFAIK, are the default values for the viewBox, is rendered correctly.

The SVG in which the viewBox is not provided for the embedded SVG document is not displayed properly since it is not scaled.
Comment 1 Andres Gomez Garcia 2015-10-16 15:14:52 PDT
Similar issues in other web engines:

* https://code.google.com/p/chromium/issues/detail?id=544180
* https://github.com/MicrosoftEdge/Status/issues/309