I can't see a good reason to have separate Element::attributeChanged and Element::parseAttribute member functions. The patch in this bug will do two things: 1. Merge parseAttribute into attributeChanged, to avoid one virtual function call. 2. Tweak the contents of attributeChanged functions to consistently avoid calling the base class attributeChanged if an attribute is handled in the derived class. As well as reducing the amount of work done when an attribute is changed, very slightly, this sets the stage for a subsequent patch to use an enum value to represent known attribute names instead of checking for QualifiedName equality.
Pull request: https://github.com/WebKit/WebKit/pull/4040
<rdar://problem/99850653>
*** This bug has been marked as a duplicate of bug 255258 ***