spec/dom/element: fix HTML for attribute specs