Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Thomas 'PointedEars' Lahn Newsgroups: comp.lang.javascript Subject: Re: DOM styling modified by JavaScript does not affect first rendering Date: Sat, 29 Nov 2014 19:27:10 +0100 Organization: PointedEars Software (PES) Lines: 27 Message-ID: <2452801.iXYFeIIy4p@PointedEars.de> References: <0Qpl$Ta+fVUUFw8H@invalid.uk.co.demon.merlyn.invalid> <1487860.gEOcuQC4dx@PointedEars.de> <30111511.LVop5iYoBa@PointedEars.de> Reply-To: Thomas 'PointedEars' Lahn Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8Bit X-Trace: solani.org 1417285630 781 eJwFwQcBwEAIBDBLrAMqh2f4l9AE6uwd5nDD4QzEI0szO1Pg7XtJkajrp6zIcpHA6Qc02w8ruREn (29 Nov 2014 18:27:10 GMT) X-Complaints-To: abuse@news.solani.org NNTP-Posting-Date: Sat, 29 Nov 2014 18:27:10 +0000 (UTC) User-Agent: KNode/4.14.2 X-User-ID: eJwNyMEBwCAIA8CVSCFBx6FU9h+hPu/ogjpDVHA4/c5GZvDccPhYdQFoi8ModxjpC2xtS1Pp8cgPmnW11w8p7hOp Cancel-Lock: sha1:7FDgXygv7kx0hDd6qBcJxH7ta+s= X-NNTP-Posting-Host: eJwFwQEBwDAIAzBLlFIYdviGfwlPxER+FakMrRYR9fbUFPwiG30Zb2HidJeLMpn3HBIv8gf9dA+M Xref: csiph.com comp.lang.javascript:26252 Christoph M. Becker wrote: > In section 4.3.1[1] it even seems to be defined as normative: > […] > | The body element exposes as event handler content attributes a number > | of the event handlers of the Window object. It also mirrors their > | event handler IDL attributes. > | > | The onblur, onerror, onfocus, onload, onresize, and onscroll event > | handlers of the Window object, exposed on the body element, replace > | the generic event handlers with the same names normally supported by > | HTML elements. > > [1] > Indeed they did. While I still think it was a mistake to do this – one should be able to tell apart when loading of each of window, document and document body has been completed –, it would appear that the bug turned quasi-standard has prevailed over such considerations and is now a standard (bug). -- PointedEars FAQ: | SVN: Twitter: @PointedEars2 | ES Matrix: Please do not cc me. / Bitte keine Kopien per E-Mail.