Skip to content

bug(Path): toSVG with shadow #8286

Open
@hamzawain7

Description

@hamzawain7

Version

5.2.4

Information about environment

Chrome

Steps To Reproduce

fabricjs-svg-bug

1. Go to https://jsfiddle.net/hamzawain7/d7e18fvh/6/
2. Draw an image like the one shown in the gif
3. Export svg
4. View svg in chrome
5. The eyes of the smily face are missing

EDITED

  1. http://fabricjs.com/kitchensink
  2. use a brush with shadow to draw dots and paths
  3. export to svg

Expected vs Actual Behaviour

Screenshot 2022-09-14 at 11 44 36 AM

Extra Details

I reported the issue to chromium devs first and they replied saying the svg was formed incorrectly
https://bugs.chromium.org/p/chromium/issues/detail?id=1363044#c1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions