Issue when aplying mask and clip to a foreignObject
Categories
(Core :: SVG, defect)
Tracking
()
People
(Reporter: alonso.javier.torres, Unassigned)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36
Steps to reproduce:
I've created a SVG file that contains a clip-path AND a mask over a group that contains a foreignObject.
I attach a working example of this problem. Also some screens of the actual results and the expected.
Actual results:
When both clip-path and mask are applied over other elements it works as expected. But when I add the foreignObject to the mix it stops working as intended.
If I disabled either mask or clip-path it works as well... seems an issue with the three elements put together.
Expected results:
I expect the clip-path and mask to be applied no matter which type of elements are inside.
Comment 1•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::SVG' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 2•4 years ago
|
||
The severity field is not set for this bug.
:TYLin, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 3•4 years ago
|
||
This is the test.svg in bug.zip with xmlns="http://www.w3.org/2000/svg" added to <svg> tag so that it can be opened directly by browsers.
Comment 4•4 years ago
|
||
It's interesting to see Firefox renders differently from Chrome if opening https://bug1734805.bmoattachments.org/attachment.cgi?id=9247376 directly. However, when clicking the 'test.svg' link in comment 3, bugzilla shows a preview popup embedding the svg in <img>, and it renders the same as Chrome.
Comment 5•3 years ago
|
||
Displays the same as Chrome always now.
Description
•