[Webkit-unassigned] [Bug 150257] New: SVG feBlend With in2 from a feImage result linking to an embedded SVG document rendered wrong

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 16 14:42:48 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=150257

            Bug ID: 150257
           Summary: SVG feBlend With in2 from a feImage result linking to
                    an embedded SVG document rendered wrong
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: agomez at igalia.com
                CC: zimmermann at kde.org

Created attachment 263332
  --> https://bugs.webkit.org/attachment.cgi?id=263332&action=review
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:
https://rawgit.com/tanty/design-hodgepodge/master/svg/filter/feBlend-feImage-tests.html


What is the expected behavior?
==============================

All the SVGs are shown as the included PNG as reference


What went wrong?
================

Only the SVGs in which the feImage provides explicit values for x=0, y=0, width=100% and height=100% are shown correctly.

The 2 SVGs in which this values are not provided for the feImage (the defaults are as explained above[1]) are not displayed properly.

Funnily enough, the render is yet different depending on whether the embedded SVG document provides a "viewBox" attribute.

If the viewBox is not explicit, the feImage shows proper proportions but the origin seems to be in the left top corner of the filter region[2] (x=-10%, y=-10%).

If the viewBox is explicit to the width and height values of the embedded SVG document (which, AFAIK, is the default), the proportions are also wrong.

[1] http://www.w3.org/TR/SVG/filters.html#FilterPrimitiveSubRegion
[2] http://www.w3.org/TR/SVG/filters.html#FilterEffectsRegion

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20151016/bcdb2dbe/attachment.html>


More information about the webkit-unassigned mailing list