10000 Fix #10259 (mouseenter in svg template in IE) by askuzminov · Pull Request #10276 · angular/angular.js · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Fix #10259 (mouseenter in svg template in IE) #10276

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Dif FAE1 f view
Diff view
Prev Previous commit
Add comment
  • Loading branch information
Kuzminov Aleksandr Sergeevich committed Dec 2, 2014
commit f6700d3357ea72a9ce533447e509d9f29747adaf
1 change: 1 addition & 0 deletions src/jqLite.js
Original file line number Diff line number Diff line change
Expand Up @@ -784,6 +784,7 @@ forEach({
handle = expandoStore.handle = createEventHandler(element, events);
}

// IE9-11 has no method "contains" in SVG element and in Node.prototype. Bug #10259.
var contains = Node.prototype.contains || function (arg) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add a comment saying this is IE specific

return !!(this.compareDocumentPosition(arg) & 16);
};
Expand Down
0