Modify ↓
Ticket #10804 (closed bug: duplicate)
Replaced innerHtml calls with insertAdjacentHTML
| Reported by: | piper.tane@… | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | None |
| Component: | unfiled | Version: | git |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
As per http://hacks.mozilla.org/2011/11/insertadjacenthtml-enables-faster-html-snippet-injection/
All major browsers now support insertAdjacentHTML, originally from IE and formalised in the HTML5 spec for the DOM.
Provides better security and performance overall, but should obviously fall back where insertAdjacentHTML is not available
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.
