dom
dom copied to clipboard
DOM Standard
### What problem are you trying to solve? In [TrustedTypes](https://w3c.github.io/trusted-types/dist/spec) we have a need to distinguish between a script's children being changed by an API (e.g. script.appendChild) or changed by...
### What problem are you trying to solve? It is currently exceedingly difficult (and slow) to implement polyfills of certain features that affect HTML syntax across both light and shadow...
### What problem are you trying to solve? `elementsFromPoint()` allows us to utilize the browsers hit-testing get all elements under a specific coordinate. This is great for things like interactive...
### What problem are you trying to solve? The TL;DR is: there are many good reasons to observe when a selector matches `N` number of elements, and when `N` changes....
### What problem are you trying to solve? Calling `mutationObserver.disconnect()` while forgetting to handle any pending records is a common footgun. ### What solutions exist today? Having to write boilerplate...
### What problem are you trying to solve? There is now an `AbortSignal.any([a, b, c])` that makes it possible to combine multiple signals, but there is currently no way to...
### What problem are you trying to solve? When writing a function that accepts an `AbortSignal`, I typically write a function that looks like this: ```js async function doSomething(arg1, arg2,...
### What is the issue with the DOM Standard? In support of #1255, this issue tries to capture the exhaustive list of behaviors that would be impacted by an state-preserving...
### What is the issue with the DOM Standard? https://dom.spec.whatwg.org/#concept-node-remove > 4. For each [live range](https://dom.spec.whatwg.org/#concept-live-range) whose [start node](https://dom.spec.whatwg.org/#concept-range-start-node) is an [inclusive descendant](https://dom.spec.whatwg.org/#concept-tree-inclusive-descendant) of node, set its [start](https://dom.spec.whatwg.org/#concept-range-start) to (parent,...
### What problem are you trying to solve? The provided code defines a function removeElement that aims to solve the problem of removing elements from the DOM (Document Object Model)...