[whatwg/dom] Editorial: remove parent argument to remove (#801)

A number of callers don't give it and callers do check for parent being non-null before calling. It seems we should assert it's non-null and then use that. I.e., turn the internal concept into being closer to `child.remove()` rather than `parent.removeChild(child)`.

Bonus: clean up attribute removal in a similar fashion.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/801

Received on Friday, 6 December 2019 10:12:01 UTC