smaug----
smaug----
I think that would work for setNameItem* and setAttributeNode*. Current code in Gecko does "If attr’s element is neither null nor element" before and after, and maybe doing it only...
> the rest is already broken The rest is not already broken. disconnect() was designed to stop observing anything, very explicit. No different to removeEventListener. (There might be an event...
@LeaVerou could you explain a bit more what is the use case here?
"to implement polyfills of certain features that affect HTML syntax across both light and shadow DOM because it requires observing mutations in shadow trees as well" ... "Any new HTML...
I see, you want to polyfill new global attributes basically.
See also https://github.com/w3c/selection-api/issues/168
> The `pushState` problem is actually a parsing time issue. FWIW, I agree with this, and I think it could be fixed relatively easily and I would be surprised if...
Feels a bit overkill. I'd assume the platform has plenty of places where string length may get too large. documentElement.textContent for example. Even though that is not modifying the DOM...
> * old target > > * target > > * moved node (I'm not sure you can ever move multiple at this point, but maybe we should allow for...
Are there any tests for MutationObserver + moveBefore?