Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #26698
| From | "Christoph M. Becker" <cmbecker69@arcor.de> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: addeventlistener quirks |
| Date | 2015-01-25 15:16 +0100 |
| Organization | solani.org |
| Message-ID | <ma2tsp$uei$1@solani.org> (permalink) |
| References | <AdqdnU0rnZXFpV7JnZ2dnUVZ8vudnZ2d@westnet.com.au> <ma0ku5$bgj$1@solani.org> <1651063.Tygl80MvDv@PointedEars.de> |
Thomas 'PointedEars' Lahn wrote: > Christoph M. Becker wrote: > >> 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. Of course, you're right. I was confused about the value of document.compatMode, which I thought would be "CSS1Compat" for quirks mode, while actually it is "BackCompat". However, as I've just learned[1]: | As of Internet Explorer 10, quirks mode behaves differently than it | did in earlier versions of the browser. In Windows Internet Explorer | 9 and earlier versions, quirks mode restricted the webpage to the | features supported by Microsoft Internet Explorer 5.5. In Internet | Explorer 10, quirks mode conforms to the differences specified in the | HTML5 specification. > This fits well with official information that support for IE 8 will be > discontinued, and for IE 9 and 10 reduced, starting next year: I'm afraid that IE 8 will stay in widespread use as long as Windows XP does. [1] <https://msdn.microsoft.com/en-us/library/cc288325(v=vs.85).aspx> -- Christoph M. Becker
Back to comp.lang.javascript | Previous | Next — Previous 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