prototype: Add a tab character via innerHTML to the selector whitespace test.

This commit is contained in:
Sam Stephenson 2007-03-12 21:26:21 +00:00
parent 1c8e6c170e
commit cb1ad0e2cd
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,9 @@
*SVN*
* Add a tab character via innerHTML to the selector whitespace test. [Christophe Porteneuve]
* Add an attribution to YUI-Ext's DomQuery in selector.js.
* Make Element.extend work on IE for Nodes with the same ID that where discarded. Closes #7497. [Mislav Marohnić, Thomas Fuchs]
* Make Selector correctly extend the first element it returns on IE. [Thomas Fuchs]

View File

@ -330,6 +330,7 @@
}},
testSelectorWithEmpty: function() {with(this) {
$('level3_1').innerHTML = "\t\n\n\r\n\t ";
assertEnumEqual($('level3_1', 'level3_2', 'level_only_child', 'level2_3'), $$('#level1 *:empty'));
assertEnumEqual([$('level_only_child')], $$('#level_only_child:empty'));
}},