The DOM Standard defines a 'once' option for addEventListener() which causes the callback to only be called once, upon the next occurrence of the given event type, after which the listener gets automatically removed:
The effect is similar to jQuery's popular $.one() method.161 votes
‘once’ shipped in Microsoft Edge included in Windows 10 Fall Creators update
Edge is now the only browser without support for iterable nodelists. (Chrome, Firefox, Opera, & Safari TP all have it). By iterable nodelists I mean defining `NodeList.prototype[Symbol.iterator]` so that you can spread nodelists like `[...document.body.children]`.
This boils down to implementing something like:
NodeList.prototype[Symbol.iterator] = Array.prototype[Symbol.iterator];159 votes
iterable<> is now available in Microsoft Edge included in Windows 10 Fall Creators update.
Add support for the Element.closest() method.
Element.closest() is included in Edge 15, which shipped today (11th April) with Windows 10 Creators Update.
Support .remove() method on DOM elements26 votes
element.runtimeStyle is non-standard, unnecessary and unintuitive.
- It doesn't match any standard or any other browser.
- We already have the `style` attribute on elements.
- If I clone elements with any runtimeStyles set then the clones also get the runtimeStyles. But if I copy the elements using an `.innerHTML` (or similar) approach then the runtimeStyle is not copied.6 votes
element.runtimeStyle was removed in Edge.
I looking for a way to know where has my script been loaded.
The most suprising thing that I could emulate this property through script.readyState, but until IE10, later it has been removed.
MDN: https://developer.mozilla.org/en-US/docs/Web/API/document.currentScript158 votes
document.currentScript was shipped in Microsoft Edge build 10240.
Support the standard property document.baseURI. Internet Explorer is the only browser that doesn't.8 votes
document.baseURI was shipped in Microsoft Edge build 10240.
DOM functions currently return 0 when queried for length. While browsers implement the number of required parameters differently due to differences in their optional parameters and values, it would help determine differences between browsers if we could compare functions required parameter counts across browsers.3 votes
length now works correctly in Edge 16
Make developer more like Chrome and Firefox, where clicking on a line in the elements section highlights that section on the page.1 vote
This functionality has already shipped. Located at the top-left of the DOM Explorer in the F12 Developer Tools is a button to toggle highlighting.
- Don't see your idea?