more work on shorthandHandler()

more work on shorthandHandler(), which handles if 'margin:' or
'padding:' shorthands have been used.