2.1.3 [W3C-DOM4] Section 4.2.2 Interface NonElementParentNode
V0007: The getElementById method returns Element, not nullable Element
The specification states:
-
4.2.2 Interface NonElementParentNode ... interface NonElementParentNode { Element? getElementById(DOMString elementId); };
All document modes (All versions)
The getElementById
method
returns Element
, not nullable Element
:
Element getElementById(DOMString elementId);
V0008: The DocumentFragment interface does not implement the NonElementParentNode interface
The specification states:
-
4.2.2 Interface NonElementParentNode ... interface NonElementParentNode { ... }; ... DocumentFragment implements NonElementParentNode;
All document modes (All versions)
The DocumentFragment
interface
does not implement the NonElementParentNode
interface.