Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #26696
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: addeventlistener quirks |
| Date | 2015-01-25 02:28 +0100 |
| Organization | PointedEars Software (PES) |
| Message-ID | <1651063.Tygl80MvDv@PointedEars.de> (permalink) |
| References | <AdqdnU0rnZXFpV7JnZ2dnUVZ8vudnZ2d@westnet.com.au> <ma0ku5$bgj$1@solani.org> |
Christoph M. Becker wrote: > Andrew Poulos wrote: >> The code I've been working on uses addEventListener. The elearning >> course I've been building is written in valid HTML5. The client's >> Learning Management System (LMS) wraps my course's window in a window of >> its own. The LMS seems to "force" IE to render the course in quirks >> mode. In quirks mode IE9 gives an error that addEventListener is >> unsupported. > > It seems that IE 11 in IE 9 emulation mode does define the > `addEventListener` property of window and elements, <http://ie.microsoft.com/testdrive/ieblog/2011/Mar/24_IE9sDocumentModesandJavaScript_1.png> “Quirks mode” is not the same as “IE 9 standards” Document Mode, and certainly IE 11 in “IE 9 standards” Document Mode is not the same as IE 9 in “Quirks mode”. IE 9 in “Quirks mode” is lower in regard to standards compliance than “IE 7 standards” Document Mode. addEventListener() certainly is not available there. One should never rely on that a document only renders correctly when in “Quirks mode”. The light at the end of the tunnel is that there are rumors that Microsoft is going to replace Internet Explorer in favor of a lightweight rewrite codenamed “Spartan”. It remains to be seen if this comes true and if the result will be in any way more pleasing than what we have today: <http://www.zdnet.com/article/microsoft-is-building-a-new-browser-as-part-of-its-windows-10-push/> This fits well with official information that support for IE 8 will be discontinued, and for IE 9 and 10 reduced, starting next year: <http://www.techradar.com/news/internet/web/abandon-ship-microsoft-will-kill-support-for-internet-explorer-8-in-2016-1260907> -- PointedEars FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix> Please do not cc me. / Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
addeventlistener quirks Andrew Poulos <ap_prog@hotmail.com> - 2015-01-24 17:08 +1100
Re: addeventlistener quirks Andrew Poulos <ap_prog@hotmail.com> - 2015-01-24 17:14 +1100
Re: addeventlistener quirks "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-01-24 18:32 +0100
Re: addeventlistener quirks Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-01-25 02:28 +0100
Re: addeventlistener quirks "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-01-25 15:16 +0100
csiph-web