according to the DOM Core,
Attr objects inherit the Node interface, but since they are not actually child nodes of the element they describe, the DOM does not consider them part of the document tree.
and also
The DOM takes the view that attributes are properties of elements rather than having a separate identity from the elements they are associated with
Given this, what is the advantage of Attr objects inheriting from Node?
The DOM Spec states:
Attr nodes participate in a tree for historical reasons; they never have a (non-null) parent or any children and are therefore alone in a tree.
which is a partial answer, but I'm wondering if anyone has any deeper explination of Attr's Node inheritance and tree participation than simply "historical reasons".
Sorry if this is a duplicate question, most questions I've found revolve around the behavior of Attr objects, rather than the rationale behind their structure.