(bug 34470) Apply explicit margin-left/right according to directionality.