W3C home > Mailing lists > Public > public-cdf@w3.org > March 2006

Re: CDR: "individual DOMs in isolation"

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 03 Mar 2006 18:17:22 +0100
To: Alex Danilo <alex@abbra.com>
Cc: public-cdf@w3.org
Message-ID: <l2ug029nlhk8ktec23gd1bk66fa7oamepn@hive.bjoern.hoehrmann.de>

* Alex Danilo wrote:
>>>"Each child document DOM generates its own scripting execution context.
>>>Each child DOM script execution context provides access to its
>>>corresponding global object.
>>>The CSS style-sheet cascade is applied to each DOM in isolation. CSS
>>>property inheritance is inhibited at inclusion boundaries."
>>
>>What is the right term here, "DOM script execution context" or just
>>"script execution context" and where is it defined? I could not find
>
>These are general computer science terms which for the intended
>audience of the spec. should not require definition.

I don't think "DOM script execution context" is such a general term and
it's not clear what the difference between "script execution context"
and "DOM script execution context" is.

>I do not believe that the spec. should be responsible for defining well
>understood terms that an implementer should have a sound grasp of.

Since the meaning of well-understood terms like "user agent" is
established in the document, the Working Group seems to disagree
with you.

>Similarly, execution context for a script is a general thing that does
>not have to have any form of DOM - perl for example. So I believe the
>structure of the sentence implies that each document generates a single
>execution context for script which is the intention.

In case of ECMA-262 this seems incorrect, e.g. for

  <script>...</script>
  ...
  <p onclick="...">...

control would enter at least two different execution contexts. I am
also not sure what the "global object" would be in, say, PerlScript.

>The term inclusion boundaries came from Maciej's email and seemed to
>me self-explanatory however if it non-obvious I would appreciate
>suggested re-wording.

I'm just asking for the term beeing well-defined, just like the document
defines terms like "root document", "child document", "user agent", and
so on.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Friday, 3 March 2006 17:16:22 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:02:21 UTC