We don't need NamedNodeMap::declCount() since we're already tracking the number of mapped attributes via the declAdded()/declRemoved() methods.
Created attachment 120059 [details] Patch
Comment on attachment 120059 [details] Patch Looking closer, I'm not sure this is correct. There might be cases where we have a mapped attribute with a null decl in the attribute map. Need to investigate further.
Comment on attachment 120059 [details] Patch Never mind, this is correct AFAICT. I had misunderstood the role of a mapped attribute's style declaration.
Committed r103557: <http://trac.webkit.org/changeset/103557>