forked from angular/angular.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(a): handle SVGAElement differently from HTML anchor tag
Before this change, SVG elements without an 'href' attribute (but with an xlink:href attribute) within the application would always have their click event preventDefault, due to the href attribute being falsy. This change fixes this by giving an SVGAElement a separate link function which is concerned with the xlink:href attribute. Closes angular#5896
- Loading branch information
Showing
2 changed files
with
79 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters