This commit is contained in:
Mike Bostock 2011-08-13 19:25:54 -07:00
Родитель 9d85f339f8
Коммит 96c2a750bb
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -29,7 +29,7 @@ suite.addBatch({
assert.equal(document.body.lastChild.textContent, "0"); assert.equal(document.body.lastChild.textContent, "0");
}, },
/* /*
unfiled jsdom bug https://github.com/tmpvar/jsdom/issues/276
"clears the inner HTML as null": function(body) { "clears the inner HTML as null": function(body) {
body.html(null); body.html(null);
assert.equal(document.body.innerHTML, ""); assert.equal(document.body.innerHTML, "");
@ -88,7 +88,7 @@ suite.addBatch({
assert.equal(div[0][1].lastChild.textContent, "1"); assert.equal(div[0][1].lastChild.textContent, "1");
}, },
/* /*
unfiled jsdom bug https://github.com/tmpvar/jsdom/issues/276
"clears the inner HTML as null": function(div) { "clears the inner HTML as null": function(div) {
div.html(null); div.html(null);
assert.equal(div[0][0].innerHTML, ""); assert.equal(div[0][0].innerHTML, "");