Node.insertBefore() has been around since the dawn of time (at least since the 1997 DOM Spec Level 1). I'm interested in historically why the spec never included an insertAfter(). It seems like such low hanging fruit, I have to wonder:
- Were there technical challenges to browser implementation?
- Is there some fundamental limitation to graph traversal with an insertAfter()?
- Was this simply an oversight?