SVG filter effect bounds do not expand beyond the element bounds

Confirmed Issue #102518 • Assigned to Kevin B.

Details

Created
Apr 27, 2014
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL = see attached file

URL:
see attached file

REPRO STEPS:
The attached SVG draws two pairs of rectangles with filters that use feColorMatrix to copy the alpha channel into the colors of an opaque image (this primitive is useful, for example, in combination with a feComponentTransfer to create a color gradient shadow).

The pair on the left uses the correct matrix to do this, "0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1", and results in a completely black filter result.

EXPECTED RESULTS:
The pair on the right shows what the correct rendering should be (it works around the problem by additionally applying an alpha multiplier, which has no effect as the value will be clamped to 1).

ACTUAL RESULTS:
Black filter region.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Kevin B.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Kevin B.” to “Luke O.”

      Changed Status from “Confirmed” to “In code review”

      Changed Assigned To from “Luke O.” to “IPBS P.”

      Changed Status from “In code review” to “Fixed”

      Changed Assigned To from “IPBS P.” to “Steve P.”

      Changed Assigned To to “Luke O.”

      Changed Status from “Fixed”

      Changed Assigned To from “Luke O.” to “Worachai C.”

      Changed Assigned To from “Worachai C.” to “Jeff B.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Jeff B.” to “Simon T.”

      Changed Assigned To from “Simon T.” to “Kevin B.”

      Changed Status from “Confirmed”

      Changed Status to “Confirmed”

      Changed Title from “SVG feColorMatrix does not apply correctly when alpha multiplier is 0” to “SVG filter effect bounds do not expand beyond the element bounds”

    You need to sign in to your Microsoft account to add a comment.

    Sign in