Reviewers: Jasvir, metaweta,

Description:
trunk currently has a couple browser test failures in es5 mode.
this fixes them.

Please review this at http://codereview.appspot.com/5706058/

Affected files:
  M     src/com/google/caja/plugin/html-emitter.js


Index: src/com/google/caja/plugin/html-emitter.js
===================================================================
--- src/com/google/caja/plugin/html-emitter.js  (revision 4794)
+++ src/com/google/caja/plugin/html-emitter.js  (working copy)
@@ -529,7 +529,7 @@
       var document = insertionPoint.ownerDocument;
       var safeCssText = safeCss.join('');
       document.getElementsByTagName('head')[0].appendChild(
-          bridal.createStyleSheet(document, safeCssText));
+          bridal.createStylesheet(document, safeCssText));
     }

// Zero or one of the html4.eflags constants that captures the content type


Reply via email to