void ElementAttributeData::clearAttributes() { ASSERT(isMutable()); clearClass(); mutableAttributeVector().clear(); }
void ElementAttributeData::clearAttributes(Element* element) { clearClass(); detachAttributesFromElement(element); m_attributes.clear(); }