diff --git a/dom.bs b/dom.bs index 00212ae6b..524defb7c 100644 --- a/dom.bs +++ b/dom.bs @@ -21,6 +21,8 @@ urlPrefix: https://www.w3.org/TR/xml-names/#NT- url: https://w3c.github.io/DOM-Parsing/#dfn-createcontextualfragment-fragment type: method; text: createContextualFragment(); for: Range type: interface + url: https://html.spec.whatwg.org/multipage/dom.html#htmldocument + text: HTMLDocument url: https://w3c.github.io/touch-events/#idl-def-touchevent text: TouchEvent url: https://w3c.github.io/deviceorientation/spec-source-orientation.html#devicemotion @@ -86,9 +88,10 @@ This specification standardizes the DOM. It does so as follows:

This specification depends on the Infra Standard. [[!INFRA]] -

Some of the terms used in this specification are defined in Encoding, +

Some of the terms used in this specification are defined in Encoding, HTML, Selectors, Web IDL, XML, and Namespaces in XML. [[!ENCODING]] +[[!HTML]] [[!SELECTORS4]] [[!WEBIDL]] [[!XML]] @@ -5472,7 +5475,7 @@ with that document. interface DOMImplementation { [NewObject] DocumentType createDocumentType(DOMString qualifiedName, DOMString publicId, DOMString systemId); [NewObject] XMLDocument createDocument(DOMString? namespace, [TreatNullAs=EmptyString] DOMString qualifiedName, optional DocumentType? doctype = null); - [NewObject] Document createHTMLDocument(optional DOMString title); + [NewObject] HTMLDocument createHTMLDocument(optional DOMString title); boolean hasFeature(); // useless; always returns true }; @@ -5493,7 +5496,7 @@ interface DOMImplementation {

doc = document . {{Document/implementation}} . createDocument(namespace, qualifiedName [, doctype = null])
- Returns an {{XMLDocument}}, with a + Returns an {{XMLDocument}} object, with a document element whose local name is qualifiedName and whose @@ -5508,7 +5511,7 @@ interface DOMImplementation {
doc = document . {{Document/implementation}} . createHTMLDocument([title])
- Returns a document, with a basic + Returns an {{HTMLDocument}} object, with a basic tree already constructed including a <{title}> element, unless the title argument is omitted. @@ -5538,7 +5541,7 @@ method, when invoked, must run these steps: method, when invoked, must run these steps:
    -
  1. Let document be a new {{XMLDocument}}. +

  2. Let document be a new {{XMLDocument}} object.

  3. Let element be null. @@ -5575,7 +5578,7 @@ The method, when invoked, must run these steps:

      -
    1. Let doc be a new document that is an HTML document. +

    2. Let doc be a new {{HTMLDocument}} object.

    3. Set doc's content type to "text/html". @@ -10097,6 +10100,7 @@ Elliott Sprehn, Emilio Cobos Álvarez, Eric Bidelman, Erik Arvidsson, +ExE Boss, Gary Kacmarcik, Gavin Nicol, Giorgio Liscio,