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

CDR: "individual DOMs in isolation"

From: Maciej Stachowiak <mjs@apple.com>
Date: Mon, 2 Jan 2006 01:16:55 -0800
Message-Id: <D46BEB4A-69A8-43D5-B423-52C49010FF0F@apple.com>
To: public-cdf@w3.org


"For the purposes of scripting and CSS cascading, these apply to the  
individual DOMs corresponding to each document in isolation."

- It's not clear to me what this sentence means. What is the referent  
of "these"? Is it supposed be "scripting and CSS cascading"? If  
so,the sentence might be better written like this:

     "Scripting and CSS cascading apply to the individual DOMs  
corresponding to each document in isolation."

But even this is not entirely precise. First of all, scripting  
doesn't apply "entirely in isolation", this very spec defines  
interfaces for scripting to cross these boundaries. Perhaps it would  
be more accurate to say that each document has its own global object  
(for languages where this is applicable) and document object.

Second, it's a little odd to call out CSS cascading, as this would  
imply that other aspects of CSS, such as inheritence, might cross  
inclusion boundaries. Perhaps it would be better to specifically say  
that stylesheets apply to each document individually, and that  
properties do not inherit across inclusion boundaries. Even this  
might not good to say, since some inclusion mechanisms such as SVG's  
<use> may include inheritence across inclusion boundaries.

I request that this language be cleaned up and clarified.

Regards,
Maciej
Received on Monday, 2 January 2006 09:17:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:10:40 GMT