fix for #17164: Style 'transition' returns empty string although TransitionEvent is not supported.

Style 'transition' returns empty string instead of undefined although TransitionEvent is not supported (Sebastien Pereira IBM CCLA)