Reviewers: ihab.awad,

Description:
This support is documented as experimental, as we do not have complete
tests for functionality in the document case. Furthermore, we do not yet
use an un-virtualized <html> and <body>, which prevents some of the
desirable consequences of using a document.

* Modified caja.js to permit documents.
* Modified HtmlEmitter to permit documents and implement emitStatic
  without requiring the node to have an .innerHTML.
* Documented functionality in cajajs.xml.
* If in a document, emitCss puts stylesheets inside the guest tree,
  lacking anywhere else to put them. Note that in ES5 mode emitCss
  is being eliminated.
* Add event dispatch hooks to feral documents.

(The above last two changes I believe to eliminate the reasons why
caja.js previously had a restriction that the <div> container must be
in the same document as caja.js was loaded in.)

Please review this at https://codereview.appspot.com/12775044/

Affected files:
  M     doc/cajajs/cajajs.xml
  M     src/com/google/caja/plugin/caja.js
  M     src/com/google/caja/plugin/domado.js
  M     src/com/google/caja/plugin/html-emitter.js
  M     src/com/google/caja/plugin/ses-frame-group.js
  M     tests/com/google/caja/plugin/test-cajajs-invocation.js


--

--- You received this message because you are subscribed to the Google Groups "Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to