Currently shorthand serialization has different functions for serializing which all need to handle checks like checking all values are present, checking the !important flag is set identically across longhands, checking for the 'initial' value, and so on. Ideally these would all be done in a single place for all shorthands.
While this is primarily motivated by code health, this is also likely to fix many inconsistencies where the generic checks are implemented slightly wrongly in different places.
This will also make it easier to implement var() references in shorthands correctly.
Comment 1 by bugdroid1@chromium.org
, May 18 2016