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

Fix hasClass on SVG #318

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

giorgian
Copy link
Member

SVG on some Webkit versions (notably: iOS) don't have attribute classList.

@andreacampi
Copy link
Member

See https://github.com/andreacampi/treesaver/tree/318-test-case

This test is passing (without your change) on the iOS simulator with iOS 5.0, 5.1, 6.0 and 6.1
Can you try again to replicate this issue?

Andrea Campi and others added 2 commits June 6, 2013 16:21
SVG elements must be created via document.createElementNS, with the correct
namespace ( http://www.w3.org/2000/svg ); if created with document.createElement,
they are not SVG nodes but Unknown Element nodes (i.e. their prototype is
HTMLUnknownElementPrototype instead of SVGSVGElementPrototype).
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

Successfully merging this pull request may close these issues.

2 participants