Skip to content

Fix typo #171

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
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
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/tutorials/focusing-in-svg.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Any element that has a `focus` event listener attached should also be made focus

In Blink and WebKit based browsers focusing SVG elements is not different from focusing an HTML element, the `.focus()` method is available on [`HTMLElement`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement) and [`SVGElement`](https://developer.mozilla.org/en-US/docs/Web/API/SVGElement). Since Firefox 51 the `.focus()` method is also available. In Internet Explorer and Microsoft Edge this is not the case.

Internet Explorer and Microsoft Edge up to version 12 allow misappropriating the `.focus()` method by applying the method from `HTMLElement`'s prototype to an `SVGElement`: `HTMLElement.prototoype.focus.apply(svgElement)`. Microsoft Edge 13 joined Firefox (up to version 50) in rejecting such attempts by throwing an error:
Internet Explorer and Microsoft Edge up to version 12 allow misappropriating the `.focus()` method by applying the method from `HTMLElement`'s prototype to an `SVGElement`: `HTMLElement.prototype.focus.apply(svgElement)`. Microsoft Edge 13 joined Firefox (up to version 50) in rejecting such attempts by throwing an error:

```text
// Firefox
Expand Down