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


Groups > comp.lang.javascript > #33150

Re: A generic question

Path csiph.com!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Frank Kozuschnik <franko@nurfuerspam.de>
Newsgroups comp.lang.javascript
Subject Re: A generic question
Date Sun, 30 Apr 2017 22:53:12 +0200
Organization solani.org
Lines 21
Message-ID <oe5irn$ufi$1@solani.org> (permalink)
References <2372a119-d289-48a8-964c-f6ee4ad8bc5a@googlegroups.com> <1tz9urrqejwu3.1ubsg9y0ontbp$.dlg@40tude.net> <3990209.LvFx2qVVIh@PointedEars.de>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 8bit
X-Trace solani.org 1493585591 31218 eJwFwQkBwDAIA0BLvCmTEzrwL6F36VDcE0hEbi7QghnUVnBddPIrobHde/u35uSN49TgGB8jBBGs (30 Apr 2017 20:53:11 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Sun, 30 Apr 2017 20:53:11 +0000 (UTC)
User-Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.0.1
X-User-ID eJwFwYEBwCAIA7CXZFAo56Cz/59gAk/LU5HIgKDBPxbeLC1tKedQ5DfeN9RhNVpZ67JmO/gAKdIRSg==
X-NNTP-Posting-Host eJwFwQERACAIA8BKIm4ccWBo/wj+w2lUHIIHD+/JZuLCcy+vjHSxYxM37oy6DiROycdiWX8o9hG9
Cancel-Lock sha1:5Qsi1MVwNXIH4IyXaO3fq7D6MUU=
In-Reply-To <3990209.LvFx2qVVIh@PointedEars.de>
Xref csiph.com comp.lang.javascript:33150

Show key headers only | View raw


Thomas 'PointedEars' Lahn:

> JJ:
> 
>> If a HTML element has an ID, it can be referenced from the global
>> object or the `window` object.
> 
> … in Quirks Mode only, as this is a legacy feature.

Which browser would nowadays support this "feature" in quirks mode only? 
Even Firefox started polluting the global object in standards mode some 
years ago.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=11960#c27

> Do not use it.

I agree. So does the HTML spec, but nevertheless the spec seems to 
require it:

https://html.spec.whatwg.org/#named-access-on-the-window-object

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

A generic question justaguy <lichunshen84@gmail.com> - 2017-04-29 09:56 -0700
  Re: A generic question JJ <jj4public@vfemail.net> - 2017-04-30 07:59 +0700
    Re: A generic question justaguy <lichunshen84@gmail.com> - 2017-04-29 19:21 -0700
    Re: A generic question Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-04-30 20:16 +0200
      Re: A generic question Frank Kozuschnik <franko@nurfuerspam.de> - 2017-04-30 22:53 +0200
        Legacy properties on Window objects (was: A generic question) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2017-05-01 06:10 +0200
        Re: A generic question JJ <jj4public@vfemail.net> - 2017-05-01 18:14 +0700
          Re: A generic question Frank Kozuschnik <franko@nurfuerspam.de> - 2017-05-01 18:07 +0200
  A generic question Ram Tobolski <ramtob@gmail.com> - 2017-04-30 08:01 -0700
    Re: A generic question justaguy <lichunshen84@gmail.com> - 2017-04-30 18:52 -0700

csiph-web