Re: [whatwg/dom] document.createEvent() supports lots of events that most UAs do not support initializers for (#362)

> Actually, in @tkent-google did some research for WebKitTransitionEvent, and the same code would also trigger the TransitionEvent use counter. So it's quite possible it can be removed as well.

Dropping TransitionEvent isn't safe.  Popular libraries have the following code, and dropping both of WebKitTransitionEvent and TransitionEvent changes the behavior.

```
cssTransitions: function() {
  var b=!1;
  return a.each(["WebKitTransitionEvent","TransitionEvent","OTransitionEvent"],function(a,c){
    try{
      document.createEvent(c),b=!0
    } catch(d){}
  }),b
}
```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/362#issuecomment-296497627

Received on Sunday, 23 April 2017 23:46:12 UTC