Issue 908: document needs a body
http://code.google.com/p/google-caja/issues/detail?id=908

Comment #5 by ihab.awad:
Right now, the implementation of document.getElementById() says (highly  
simplified):

     function (id) {
       return this.doc___.getElementById(id + idSuffix);
     };

In other words, look for all the stuff that has the same ID suffix as  
myself. As currently implemented, this will
*not* find any stuff that is handed to me by other gadgets.

To implement the fact that any node I have *access* to shows up under my  
document root, we would need to
add some extra guff that would detect the point of handoff from one gadget  
to another and ensure that the
receiving gadget's document can now see the transferred node. This seems  
nontrivial.

Transfer of nodes between two independent gadgets that are virtualized  
inside independent HTML"document"
abstractions is already "weird" anyway. ;)



-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to 
http://groups.google.com/group/google-caja-discuss
To unsubscribe, email [EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to