Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

not producing right case for attribute viewBox #13

Closed
sgaston321 opened this issue Oct 25, 2016 · 2 comments
Closed

not producing right case for attribute viewBox #13

sgaston321 opened this issue Oct 25, 2016 · 2 comments

Comments

@sgaston321
Copy link

[ svg
                [ attribute "xmlns" "http://www.w3.org/2000/svg"
                , SA.viewBox "-11716.94 19034.5 24.44 24.441"
                , SA.class "svg-icon svg-icon-snapshot-card"
                ]
                [ Svg.defs []
                    [ Svg.style [] [ Svg.text ".a{fill:none;stroke:#000;stroke-width:1px;}" ] ]
                , Svg.g [ SA.transform "rotate(90 -15363.5 3671)" ]
                    [ Svg.path
                        [ SA.class "a"
                        , SA.d "M23.5 15L17 17l-2 6.5L.5 9V.5H9z"
                        ]
                        []
                    , Svg.circle
                        [ SA.class "a"
                        , SA.cx "2"
                        , SA.cy "2"
                        , SA.r "2"
                        , SA.transform "translate(3.5 3.5)"
                        ]
                        []
                    ]
                ]
]

When inspecting in chrome, viewbox comes out as lowercase, doesn't render the svg. When I edit any attribute of the svg, chrome fixes it to camelcase viewBox and the svg shows

@process-bot
Copy link

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

@sgaston321
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants