W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2011

Re: Global variables and id lookup for elements

From: Cameron McCormack <cam@mcc.id.au>
Date: Wed, 20 Jul 2011 11:49:31 +1200
To: Ian Hickson <ian@hixie.ch>
Cc: Magnus Kristiansen <magnusrk+w3c@pvv.org>, Boris Zbarsky <bzbarsky@MIT.EDU>, public-webapps@w3.org
Message-ID: <20110719234931.GI1711@wok.mcc.id.au>
Ian Hickson:
> Is this still something I should do, or did this get resolved using 
> another solution?


The proposed solution I made in the bug was to have the [[Get]] etc.
internal methods of Window handle the resolution order of window named
properties, rather than to use inheritance in the IDL to control the
order.  I made that change to Web IDL, which would require you defining
which named properties are “resolved before prototype properties”, and
that’d be the frame names; the (possible quirks mode only) ID lookups
would be done last automatically, since Window isn’t [OverrideBuiltins].

However, Tony Ross on the bug there says he would rather an even simpler
solution that resoles all frame names and ID lookups after everything
else (i.e. like normal non-[OverrideBuiltins] interfaces).  I haven’t
made any spec changes since then.  It would be good to get more input on
the bug.

Cameron McCormack ≝ http://mcc.id.au/
Received on Tuesday, 19 July 2011 23:50:11 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:22 UTC