[whatwg/dom] "Use these attribute change steps to update an element's ID" (#628)

https://dom.spec.whatwg.org/commit-snapshots/4c95d89624f695e9d74fd545b004ae85ca3cd6b6/#example-c5b21302

> Use these attribute change steps to update an element’s ID:​ 

Why not just say that an element's ID is null, if it has no id attribute or its ID attribute is the empty string, and the value of the ID attribute otherwise? Why use the attribute change steps here?

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

Received on Monday, 9 April 2018 00:37:38 UTC