diff --git a/sections/nodes.include b/sections/nodes.include index 5eae9f3ab..b329b80c5 100644 --- a/sections/nodes.include +++ b/sections/nodes.include @@ -943,23 +943,30 @@ For HTML, see the definition of +
{{Element}} +
ELEMENT_NODE (1); -
  • TEXT_NODE (3); +
    {{Text}} +
    TEXT_NODE (3); -
  • PROCESSING_INSTRUCTION_NODE (7); +
    {{ProcessingInstruction}} +
    PROCESSING_INSTRUCTION_NODE (7); -
  • COMMENT_NODE (8); +
    {{Comment}} +
    COMMENT_NODE (8); -
  • DOCUMENT_NODE (9); +
    {{Document}} +
    DOCUMENT_NODE (9); -
  • DOCUMENT_TYPE_NODE (10); +
    {{DocumentType}} +
    DOCUMENT_TYPE_NODE (10); -
  • DOCUMENT_FRAGMENT_NODE (11). - +
    {{DocumentFragment}} +
    DOCUMENT_FRAGMENT_NODE (11). + -

    The nodeName attribute must return the following, depending on the context object: +

    The nodeName attribute's getter, when invoked, must return the first matching statement, switching on the context object:

    Element