- From: Philip Jägenstedt <notifications@github.com>
- Date: Mon, 23 Nov 2015 07:46:30 -0800
- To: whatwg/dom <dom@noreply.github.com>
Received on Monday, 23 November 2015 15:47:00 UTC
Yes, keeping only the `setAttributeNodeNS` behavior sums it up nicely. Only `setAttributeNode` calls where the Attr object has a non-lowercase localName would be affected, and you can get those from `createAttributeNS` or cloning attributes from a non-HTML element/document. Then the risk would be that the code depends on other attributes being removed, e.g. by calling `getAttribute` and assuming it will return the new attribute's value. This all seems similar in risk to making `createAttribute` lowercase its input, i.e. a bit far-fetched. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/117#issuecomment-158973893
Received on Monday, 23 November 2015 15:47:00 UTC