Skip to content

Commit

Permalink
Add errors section to domchildnode.replacewith to fix parsing errors (#…
Browse files Browse the repository at this point in the history
…792)

Co-authored-by: haszi <haszika80@gmail.com>
  • Loading branch information
haszi and haszi authored Feb 9, 2024
1 parent aef0691 commit 977b78c
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions reference/dom/domchildnode/replacewith.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<refname>DOMChildNode::replaceWith</refname>
<refpurpose>Remplace le nœud par de nouveaux nœuds</refpurpose>
</refnamediv>

<refsect1 role="description">
&reftitle.description;
<methodsynopsis role="DOMChildNode">
Expand All @@ -18,7 +18,7 @@
Une combinaison de <methodname>DOMChildNode::remove</methodname> et <methodname>DOMChildNode::append</methodname>.
</para>
</refsect1>

<refsect1 role="parameters">
&reftitle.parameters;
<para>
Expand All @@ -34,14 +34,22 @@
</variablelist>
</para>
</refsect1>

<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.void;
</para>
</refsect1>

<refsect1 role="errors">
&reftitle.errors;
<variablelist>
&dom.errors.hierarchy.parent;
&dom.errors.wrong_document;
</variablelist>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
Expand Down

0 comments on commit 977b78c

Please sign in to comment.