[webkit-reviews] review requested: [Bug 76876] Make elements that don't have attributes smaller. : [Attachment 124878] Patch v2

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 31 20:34:49 PST 2012


Andreas Kling <kling at webkit.org> has asked  for review:
Bug 76876: Make elements that don't have attributes smaller.
https://bugs.webkit.org/show_bug.cgi?id=76876

Attachment 124878: Patch v2
https://bugs.webkit.org/attachment.cgi?id=124878&action=review

------- Additional Comments from Andreas Kling <kling at webkit.org>
AFAICT the performance regression was introduced by causing us to unnecessarily
serialize the inline style declaration into the element's 'style' attribute a
lot more often. This happened because I used Element::attributes(false) to
force creation of the element's attribute map. This time around, I've added a
single-purpose ensureAttributeMap() for that instead.


More information about the webkit-reviews mailing list