import { NodeType, NAME, OWNER_DOCUMENT } from './constants.mjs';
import { ParentNode } from './ParentNode.mjs';

class DocumentFragment extends ParentNode {
  nodeType = (() => NodeType.DOCUMENT_FRAGMENT_NODE)();
  [NAME] = '#document-fragment';
  [OWNER_DOCUMENT] = (() => typeof window !== 'undefined' ? window.document : null)();
}

export { DocumentFragment };
