Fixed DOM implementation for DocumentFragment nodes.