The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Design Anyone running an older browser? Reply To: Anyone running an older browser?


In addition, how (if at all) will I be able to find the possible prefix of the event through this constructor?

When impossible, there’s always the way of multiple listeners of course. Just looking for the leanest code…


Edit – I’m a bit wiser already. Apparently the events themselves are also part of the window object so 'ontransitionend' in window will do the same check. I see in Opera a webkit prefixed event is also still present.

So why then does creating a temporary element and reading it’s CSS properties seem to be the accepted way of feature tesing this event listener…