Instead of doing it from parseAttribute() overloads.
Created attachment 126719 [details] Patch
Comment on attachment 126719 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=126719&action=review > Source/WebCore/html/HTMLPreElement.cpp:52 > +void HTMLPreElement::collectStyleForAttribute(Attribute* attr, StylePropertySet* style) collectStyleForAttribute() should be renamed to collectStyleForPresentationAttribute() to match isPresentationAttribute() > Source/WebCore/html/HTMLTableElement.cpp:359 > + if (attr->name() == widthAttr || attr->name() == heightAttr || attr->name() == bgcolorAttr || attr->name() == backgroundAttr || attr->name() == valignAttr || attr->name() == vspaceAttr || attr->name() == hspaceAttr || attr->name() == alignAttr || attr->name() == cellspacingAttr || attr->name() == borderAttr || attr->name() == bordercolorAttr || attr->name() == frameAttr || attr->name() == rulesAttr) Uh, this line is pretty long.
Comment on attachment 126719 [details] Patch Attachment 126719 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/11504720 New failing tests: fast/forms/button-align.html fast/forms/textarea-align.html
Committed r107554: <http://trac.webkit.org/changeset/107554>