gregolai / ganon

Automatically exported from code.google.com/p/ganon
0 stars 0 forks source link

wrap() sets wrapped element as last child #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What will reproduce the problem?
Wrap an element, that isn't last among its siblings, with another element.

What is the expected output? What do you see instead?
Expected: Element is wrapped in another element; nothing else.
Actual: Element is wrapped in another element; element and new parent are set 
as last child of original parent element.

Which version are you using?
Rev. 72, PHP 5.3.6

Original issue reported on code.google.com by r...@smsgroup.com on 27 Sep 2012 at 2:30

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
This was as actually as designed, but I can see that it's not very intuitive. 
In the next release this will be changed. Thanks for reporting!

Original comment by niels....@gmail.com on 19 Oct 2012 at 5:31