layout: Fix invalid transition error in Chrome

It can't deal with -webkit-transform and transform at the same
time, one invalid item in the comma-separated list invalidates
the whole property so need to split them.

Follows-up a5bc01b.