Revision: 4795
Author: [email protected]
Date: Tue Feb 28 23:15:18 2012
Log: fix es5 browser test failures
http://codereview.appspot.com/5706058
trunk currently has a couple browser test failures in es5 mode.
this fixes them.
[email protected]
http://code.google.com/p/google-caja/source/detail?r=4795
Modified:
/trunk/src/com/google/caja/plugin/html-emitter.js
=======================================
--- /trunk/src/com/google/caja/plugin/html-emitter.js Tue Feb 28 15:48:15
2012
+++ /trunk/src/com/google/caja/plugin/html-emitter.js Tue Feb 28 23:15:18
2012
@@ -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