dom
dom copied to clipboard
DOM Standard
# Proposal for server/service worker-side "template instantiation" - HTML / XML stream parsing/rewriting (including moustache token events) Author: Bruce B. Anderson Last Updated: 9/2/2023 ## Backdrop One amazing achievement the...
Currently it is not possible to subclass these, despite DOM interfaces doing so (`TaskController`/`TaskSignal`). Currently each of the properties in `AbortSignal` asserts that it is either an `AbortSignal` or `TaskSignal`,...
Some systems distinguish between a graceful shutdown and a forceful termination. This distinction cannot be delivered through `AbortController`. It would be nice if the same channel could be used to...
Splitting this from #1016. Writing a robust userland `AbortSignal` consumer is tricky. In particular you might not get your event listener due to someone else listening calling `stopImmediatePropagation()`. Possible solutions:...
Hi, hope you all are well :) ## motivation Currently, `Element.prototype.contains()` doesn't see slotted elements as children. ``` #shadow-root this is slotted ``` ``` div.contains(span) => false ``` ref: the...
The existing "removing steps" allow other specs to run algorithms after a node has been removed from the tree, but there is no way to run steps before a node...
If DOM is going to define the APIs for these standards it should probably also define the monkey patches. Does that seem reasonable to everyone?
For code ```js const target = new EventTarget() target.addEventListener('change', (event) => { console.log(event.composedPath()) }, { once: true }) const event = new Event('change') target.dispatchEvent(event) ``` Chrome and Safari prints `[]`,...
Now that [the “iterator helpers” proposal](https://github.com/tc39/proposal-iterator-helpers) is Stage 3 and [browsers are intending to ship it](https://groups.google.com/a/chromium.org/g/blink-dev/c/UyzwOm9QrxI/m/Ic40zdYYDAAJ), perhaps it’s a good time to investigate how we can make these ergonomic for...
In the context of modern web development, many frameworks and libraries rely on the concept of a virtual DOM (VDOM) to manage and efficiently update the actual DOM of the...