[Bug 21066] [Shadow DOM] Consider the Window as the parent node of the Document in event path.