We should generate matchingShorthandsForLonghand() implementation from CSSPropertyNames.in. We already have all the information we need in CSSPropertyNames.in to generate the big switch() in matchingShorthandsForLonghand().
Created attachment 244870 [details] Patch
Comment on attachment 244870 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=244870&action=review > Source/WebCore/css/makeprop.pl:991 > print SHORTHANDS_CPP << "EOF"; The generated code looks like: http://pastebin.com/j6nJ5FWg
Attachment 244870 [details] did not pass style-queue: ERROR: Source/WebCore/css/StylePropertyShorthand.h:91: Missing space before { [whitespace/braces] [5] ERROR: Source/WebCore/css/StylePropertyShorthand.h:94: Missing space before { [whitespace/braces] [5] ERROR: Source/WebCore/css/StylePropertyShorthand.h:97: Missing space before { [whitespace/braces] [5] Total errors found: 3 in 3 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 244870 [details] Patch r=me
Comment on attachment 244870 [details] Patch Clearing flags on attachment: 244870 Committed r178638: <http://trac.webkit.org/changeset/178638>
All reviewed patches have been landed. Closing bug.
*** Bug 126049 has been marked as a duplicate of this bug. ***