Re: [whatwg/dom] Could toggleAttribute set the attribute name? (#668)

Yeah, I don't think we should do this. Check for `null` with `getAttribute()` or use `hasAttribute()`. If your code relies on empty string meaning not present it's already somewhat broken.

-- 
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/668#issuecomment-406651534

Received on Friday, 20 July 2018 16:22:58 UTC