CDR: "individual DOMs in isolation"

"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 UTC