Open
Bug 1455886
Opened 6 years ago
Updated 22 days ago
Blending across SVG elements doesn't work with WebRender
Categories
(Core :: Graphics: WebRender, enhancement, P2)
Core
Graphics: WebRender
Tracking
()
NEW
People
(Reporter: jrmuizel, Assigned: jrmuizel)
References
(Blocks 2 open bugs)
Details
This is tested by: https://searchfox.org/mozilla-central/source/layout/reftests/svg/blend-difference-stacking.html We marked this test as failing with webrender in the initial <svg> grouping patch. I currently have no good ideas for how we'd make this work.
Assignee | ||
Comment 1•6 years ago
|
||
It seems like we can fix this by having a separate group when ever we have a blend item that needs to blend outside of the svg
Assignee | ||
Comment 2•6 years ago
|
||
Also, it seems like our current behaviour is not inconsistent with other browsers and the spec. i.e. Firefox, Chrome, and the spec all have different behaviour.
Comment 3•6 years ago
|
||
Isolation support seems to be very spotty across the different browsers. For example, Chrome and Safari fail that reftest, but for a different reason: They don't isolate enough. There is a second box in that reftest which is wrapped in a position:absolute;z-index:1; element, which is a CSS stacking context, which should make it an isolated group. Edge does not support mix-blend-mode. Here's a different page which renders incorrectly in Chrome due to too much isolation: https://www.chenhuijing.com/demos/colour-diagrams/ Here, Chrome has an implicit isolated group around the page contents which does not include the page background color. Firefox correctly blends with the background color.
Updated•6 years ago
|
Blocks: stage-wr-trains
Priority: -- → P2
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → jmuizelaar
Assignee | ||
Updated•6 years ago
|
Updated•2 years ago
|
Severity: normal → S3
Updated•1 month ago
|
Updated•22 days ago
|
Blocks: wr-svg-correctness
You need to log in
before you can comment on or make changes to this bug.
Description
•