Closed Bug 1360592 Opened 7 years ago Closed 3 years ago

Rendering svg foreignObject with opacity+brightness filter produces strange results on Windows

Categories

(Core :: Graphics, defect, P3)

53 Branch
All
Windows
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: flapengemail, Unassigned)

References

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 YaBrowser/17.3.1.873 (beta) Yowser/2.5 Safari/537.36

Steps to reproduce:

Create svg with foreignObject in it.
Add CSS filter with opacity and brightness to element inside foreignObject.
Render svg on canvas.
Render canvas to png.


Actual results:

Opacity and brightness combines in a very strange way on Windows.
http://imgur.com/BA1FR89


Expected results:

Opacity and brightness should combine correctly.
http://imgur.com/es2LNDl
Component: Untriaged → SVG
Product: Firefox → Core
I've just bumped into this bug again and noticed that I can't reproduce it in VirtualBox, but can on several different Dell E7440 laptops and on 4GOOD T101i Wi-Fi tablet.
Hope that helps.
Priority: -- → P3
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → Windows
Hardware: Unspecified → All
The bug is probably in FilterNodeD2D1.
Component: SVG → Graphics
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: