[whatwg/dom] Abstract common logic in toggleAttribute() and setAttribute()? (#657)

In particular for creating a new attribute and appending it. If we don't create an abstraction, we should at least improve the language.

-- 
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/657

Received on Thursday, 21 June 2018 08:41:42 UTC