Emmanuele Bassi
4f470b9231
actor: Provide a proper implementation of replace_child()
...
The correct sequence of actions should be remove(old) → insert(new), not
insert(new) → remove(old). We can implement a simple delegate insertion
functions to insert the new child between the previous and next siblings
of the old child.
While we're at it, let's also add a unit test for replace_child().
2012-01-16 23:37:11 +00:00
..
2012-01-16 23:37:10 +00:00
2012-01-16 23:37:11 +00:00
2011-11-10 15:37:50 +00:00
2012-01-16 23:35:16 +00:00
2011-11-10 15:37:50 +00:00
2011-11-03 15:35:03 +00:00
2011-11-10 15:37:50 +00:00
2011-11-10 15:37:50 +00:00
2011-09-07 13:00:35 +01:00
2011-11-10 15:37:50 +00:00
2011-11-10 15:37:50 +00:00
2011-11-10 15:37:50 +00:00
2011-11-10 15:37:50 +00:00
2011-11-10 15:37:50 +00:00
2011-11-14 22:57:50 +08:00
2011-11-10 15:37:50 +00:00
2011-11-10 15:37:50 +00:00
2011-11-10 15:37:50 +00:00
2011-11-10 15:37:50 +00:00
2011-11-10 15:37:50 +00:00
2011-11-18 17:23:56 +00:00
2011-11-10 15:37:50 +00:00
2011-11-10 15:37:50 +00:00
2011-11-10 15:37:50 +00:00
2011-11-10 15:37:50 +00:00
2011-11-10 15:37:50 +00:00
2011-11-10 15:37:50 +00:00
2011-11-10 15:37:50 +00:00
2011-11-10 15:37:50 +00:00
2011-11-10 15:37:50 +00:00
2011-11-10 15:37:50 +00:00
2011-11-10 15:37:50 +00:00
2011-11-10 15:37:50 +00:00
2011-11-10 15:37:50 +00:00
2011-11-10 15:37:50 +00:00
2011-11-10 14:15:32 +00:00
2011-11-03 13:42:13 +00:00
2012-01-16 23:37:11 +00:00
2011-11-10 15:37:50 +00:00
2011-11-10 15:37:50 +00:00
2011-11-22 01:01:37 +00:00
2011-11-10 15:37:50 +00:00
2011-11-03 15:35:03 +00:00
2011-11-22 01:01:37 +00:00
2011-11-10 15:37:50 +00:00
2011-11-10 15:37:50 +00:00
2011-11-27 12:19:40 +00:00