css: Avoid unneeded transition work

Benjamin Otte requested to merge css-animation-change into master

Add an early exit in the transition creation code when no transitions are given. In that case, both transition-duration and transition-delay are equal to their default value of 0, which means no transitions should run at all.

Merge request reports