Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #26696

Re: addeventlistener quirks

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: addeventlistener quirks
Date Sun, 25 Jan 2015 02:28:41 +0100
Organization PointedEars Software (PES)
Lines 44
Message-ID <1651063.Tygl80MvDv@PointedEars.de> (permalink)
References <AdqdnU0rnZXFpV7JnZ2dnUVZ8vudnZ2d@westnet.com.au> <ma0ku5$bgj$1@solani.org>
Reply-To Thomas 'PointedEars' Lahn <cljs@PointedEars.de>
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding 8Bit
X-Trace solani.org 1422149361 21388 eJwFwQkBACAIA8BKIBtIHXn6R/CO5uoVcDq4XKVhzvDCNUV2CpbIU0ie9pA3GLzLmEjp/v5aEFU= (25 Jan 2015 01:29:21 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Sun, 25 Jan 2015 01:29:21 +0000 (UTC)
User-Agent KNode/4.14.2
X-User-ID eJwFwQkBwDAIA0BL5QlQOQsF/xJ2BwuJTg+EY7Ha3+Lx4OZ71snGMMuloKY70kEQYu28w8nZ2lel99Ch/AFwexYs
Cancel-Lock sha1:RNnl/XbYbevT1qvfBf84m8KSNxI=
X-NNTP-Posting-Host eJwFwQkBACAIBLBK8h7EQYT+EdxMnLyhbq62tuBN7KL7zjjFaa8gntBXUlegDwhInEwilg8oUBC2
Xref csiph.com comp.lang.javascript:26696

Show key headers only | View raw


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


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