Skip to content

SVG element doesn't have _contains_ on IE #11

@wvengen

Description

@wvengen

On IE9 and IE11 I'm seeing the error message Object doesn't support property or method 'contains'. This is shown in the IE11 error console:

ie11

Would it be that there is a problem with SVG elements on IE?

Also:

> $('p')[0]
<p class="...">...</p>
> $('p')[0].contains
function contains() { [native code] }
> $('circle')[0]
[object Object]
> $('circle')[0].contains
undefined

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