Fix faulty DOM test.
This commit is contained in:
parent
0e63247604
commit
dee8a1010c
|
@ -1,3 +1,5 @@
|
|||
* Remove another sniffing from one of DOM tests. Fixes last IE8 failure. (kangax)
|
||||
|
||||
* `Element.extend` now takes care of IE8 bug when HTMLAppletElement and HTMLObjectElement objects do not inherit from `Element.prototype`. (kangax)
|
||||
|
||||
* Fix DOM tests to use proper feature test when testing `setOpacity` (kangax)
|
||||
|
|
|
@ -1095,8 +1095,9 @@ new Test.Unit.Runner({
|
|||
{id: 'my_input_field_id', name: 'my_input_field'}));
|
||||
this.assertEqual(input, document.body.lastChild);
|
||||
this.assertEqual('my_input_field', $(document.body.lastChild).name);
|
||||
if (Prototype.Browser.IE)
|
||||
this.assertMatch(/name=["']?my_input_field["']?/, $('my_input_field').outerHTML);
|
||||
if ('outerHTML' in document.documentElement) {
|
||||
this.assertMatch(/name=["']?my_input_field["']?/, $('my_input_field_id').outerHTML);
|
||||
}
|
||||
|
||||
if (originalElement && Prototype.BrowserFeatures.ElementExtensions) {
|
||||
Element.prototype.fooBar = Prototype.emptyFunction
|
||||
|
|
Loading…
Reference in New Issue