[Bug 21522] AttrExodus: Restore hasAttributes()

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21522

--- Comment #10 from Philip Jägenstedt <philipj@opera.com> ---
The usage is fairly low, but it's also very low cost to support:

inline bool Element::hasAttributes() const
{
    return !attributes().isEmpty();
}

I do love removing things, but in this case I think spec'ing it might be
better. Note that Node.hasChildNodes() is equally silly.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 18 August 2014 12:27:32 UTC