Skip to content

Should use xlink:href and not href? #53

@rupertlssmith

Description

@rupertlssmith

https://github.com/elm-community/typed-svg/blob/master/src/TypedSvg/Attributes.elm#L1144

The comment says:

"The xlinkHref attribute is used before SVG 2 but is now rendered obsolete by href."

But this seems bad advice since SVG 2 is never really completed? The standard is still SVG 1.1 if you want compatibility, so should use "xlink:href"?

Solution: Just change the comment to suggest using xlink:href, if the above is correct.

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