WebReflection / ie8

some damn DOM fix for this damned browser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

document.createEvent('HTMLEvents') fails

rylabo opened this issue · comments

I'm not sure if this is a bug, or a feature, but any calls to document.createEvent() fail for any kind of event except the generic 'Event'. This means that calls that would normally work in IE8 break while using this library. For example:

  • document.createEvent('Event') -> works
  • document.createEvent('HTMLEvents') -> Throws error

It's right there in the code to do this, but is this behaviour intentional?

Nevermind. Just looked more closely. 'HTMLEvents' is not supported in IE8. Sorry!