Skip to content

rect rx implementation discrepancy #1048

@matthiasclasen

Description

@matthiasclasen

The 2.0 draft spec states

[...] calculate the absolute length equivalent for ry, resolving percentages against the used height of the rectangle [...]

But when I did this in my implementation, I found that everybody (chrome, firefox, inkscape librsvg, resvg) resolves rx/ry percentage against the viewport.

The difference is easily visible in any svg that uses rx/ry percentages.

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