Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
josepharhar committed Aug 15, 2023
1 parent cb99174 commit 7a7c1ee
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -109013,8 +109013,7 @@ enum <dfn enum>DOMParserSupportedType</dfn> {

</div>

<h4><code data-x="dom-setHTMLUnsafe">setHTMLUnsafe</code> and <code
data-x="dom-parseHTMLUnsafe">parseHTMLUnsafe</code></h4>
<h4>Unsafe HTML parsing methods</h4>

<dl class="domintro">
<dt><code data-x=""><var>element</var>.<span subdfn
Expand All @@ -109034,13 +109033,15 @@ enum <dfn enum>DOMParserSupportedType</dfn> {
</dd>
</dl>

<p class="note">These methods perform no sanitization to remove potentially-dangerous elements and
attributes like <code>script</code> or <span>event handler content attributes</span>.</p>

<pre><code class="idl">partial interface <span id="Element-partial">Element</span> {
undefined <span data-x="dom-setHTMLUnsafe">setHTMLUnsafe</span>(DOMString string);
};</code></pre>

<p>The <dfn method for="Element"><code
data-x="dom-setHTMLUnsafe">Element.setHTMLUnsafe(<var>string</var>)</code></dfn> method steps
are:</p>
data-x="dom-setHTMLUnsafe">setHTMLUnsafe(<var>string</var>)</code></dfn> method steps are:</p>

<ol>
<li><p>Let <var>contextElement</var> be <span>this</span>'s <span
Expand Down

0 comments on commit 7a7c1ee

Please sign in to comment.