Re: [w3c/DOM-Parsing] Move DOMParser to HTML (#60)

domenic commented on this pull request.



> -
-    <dt><var>document</var> = <var>domparser</var> . <a data-link-for=DOMParser>parseFromString</a> ( <var>str</var>, <var>type</var> )
-    <dd>Parse <var>str</var> using a parser that matches <var>type</var>'s supported MIME types
-    (either XML or HTML), and return a <a>Document</a> object contained the parsed content if
-    successful. If not successful, returns a <a>Document</a> describing the error.
-    <dd>If <var>type</var> does not match a value in the <a>SupportedType</a> enumeration, an
-    exception is thrown [[WEBIDL]].
-  </dl>
+  <span id="dom-domparser"></span>
+  <span id="dom-domparser-parsefromstring"></span>
+  <span id="idl-def-supportedtype"></span>
+  <span id="dom-supportedtype-text/html"></span>
+  <span id="dom-supportedtype-text/xml"></span>
+  <span id="dom-supportedtype-application/xml"></span>
+  <span id="dom-supportedtype-application/xhtml+xml"></span>
+  <span id="dom-supportedtype-image/svg+xml"></span>

We've been doing it in HTML when moving things around, and Bikeshed has `oldids=""` (https://tabatkins.github.io/bikeshed/#id-gen). There might even be something similar in ReSpec, but I'm not as familiar...

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/DOM-Parsing/pull/60#discussion_r372446113

Received on Wednesday, 29 January 2020 15:20:06 UTC