Skip to content

warnings from diff-dom regarding calc values in svg #134

Description

@phun-ky

I'm getting these warnings in my console from diff-dom:

image

Due to this svg:

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500"><defs><mask id="a"><rect width="100%" height="100%" fill="#fff"></rect><circle cx="50%" cy="50%" r="127"></circle></mask></defs><circle cx="calc(50% + 35px)" cy="calc(50% - 35px)" r="calc(125px + 65px)" fill="rgba(151, 70, 163, 0.5)" mask="url(#a)"></circle><circle cx="calc(50% + -0px)" cy="calc(50% - 50px)" r="calc(125px + 65px)" fill="rgba(0,81,154,0.5)" mask="url(#a)"></circle><circle cx="calc(50% + -35px)" cy="calc(50% - 35px)" r="calc(125px + 65px)" fill="rgba(0,151,208,0.5)" mask="url(#a)"></circle><circle cx="calc(50% + -50px)" cy="calc(50% + 0px)" r="calc(125px + 65px)" fill="rgba(0, 146, 65, 0.5)" mask="url(#a)"></circle><circle cx="calc(50% + -35px)" cy="calc(50% + 35px)" r="calc(125px + 65px)" fill="rgba(244,212,3,0.5)" mask="url(#a)"></circle><circle cx="calc(50% + 0px)" cy="calc(50% + 50px)" r="calc(125px + 65px)" fill="rgba(224,108,25,0.5)" mask="url(#a)"></circle><circle cx="calc(50% + 35px)" cy="calc(50% + 35px)" r="calc(125px + 65px)" fill="rgba(203,24,30,0.5)" mask="url(#a)"></circle><circle cx="calc(50% + 50px)" cy="calc(50% + 0px)" r="calc(125px + 65px)" fill="rgba(219, 112, 147, 0.5)" mask="url(#a)"></circle><circle cx="50%" cy="50%" r="125" fill="#fff" mask="url(#a)"></circle></svg>

You can see it on https://moebius.wtf

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

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions