Re: [dom] setAttribute() needs to lowercase for HTML nodes in HTML documents. Fixes #31 (afe5b5e)

This looks strange, step 2. is repeat in substep 3.1. Maybe just redefine step 3 (consider only step 2. frome  "getting an attribute") and we will not have to navigate to another algo? Sth like this:

3. Let attribute be the first attribute in context object's attribute list whose name is name, and null otherwise. 

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/commit/afe5b5ef133185f9273cc987273cfc9f35b41ba4#commitcomment-11622641

Received on Wednesday, 10 June 2015 22:29:01 UTC