Closed GoogleCodeExporter closed 8 years ago
This is an issue of the browser not giving the innerHTML you'd expect. This
works fine if you use goog.dom.getTextContent()
function testDomHelperAppend(){
var dom = goog.dom.getDomHelper();
var element = dom.createDom('input', {
'type': 'text'
}, "1");
assertEquals("1", goog.dom.getTextContent(element));
};
Original comment by nn...@google.com
on 20 Sep 2013 at 5:45
Original issue reported on code.google.com by
wil...@gmail.com
on 20 Sep 2013 at 5:12