Ticket #11319: test_for_offset_parent_on_new_body_elements.2.diff
| File test_for_offset_parent_on_new_body_elements.2.diff, 0.6 kB (added by rubyruy, 2 years ago) |
|---|
-
test/unit/dom.html
old new 1726 1726 window.resizeTo(850, 650); 1727 1727 }.bind(this)); 1728 1728 }}, 1729 1729 testOffsetParentForNewElementsOnBody: function() {with(this){ 1730 var newElement = new Element("div"); 1731 $(document.body).insert(newElement); 1732 assertEqual(document.body, newElement.getOffsetParent()) 1733 }}, 1730 1734 testNodeConstants: function() {with(this) { 1731 1735 assert(window.Node, 'window.Node is unavailable'); 1732 1736