…ributes like a grade A browser (jhp)
…tached to the document, and make sure an Element's id is updated when changing the nodeValue of the 'id' attribute (Felix Gnass)
…he same node (Jason Davies)
This mirrors the behavior in current WebKit, Firefox and Opera. The spec mentions removing the newChild from its parent if it has a parent, but this doesn't need to happen if newChild === refChild as no changes need to be made to the element order.
* origin/issue_295: Use the new _attrModified() callback instead of a mutation event. See #295 Added an _attrModified() method to core.Node that can be overwritten by subclasses to get notified about attribute changes.
…dule to re-use it where ever a method needs to be overwritten.