Modify layout node iterator to traverse pseudo element as well as DOM without connecting pseudo element to DOM