From c150e9e82b60f25875771d8e3a237cdb07802732 Mon Sep 17 00:00:00 2001 From: Alexandre Capt Date: Wed, 10 Mar 2021 11:07:45 +0100 Subject: Fix typo in sample result --- files/fr/web/api/childnode/after/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'files') diff --git a/files/fr/web/api/childnode/after/index.html b/files/fr/web/api/childnode/after/index.html index 60fc5d339d..474d64a307 100644 --- a/files/fr/web/api/childnode/after/index.html +++ b/files/fr/web/api/childnode/after/index.html @@ -56,7 +56,7 @@ parent.appendChild(child); child.after("Text"); console.log(parent.outerHTML); -// "<div><p></p>Texte</div>" +// "<div><p></p>Text</div>"

Insertion d'un élément et de  texte

@@ -68,7 +68,7 @@ var span = document.createElement("span"); child.after(span, "Text"); console.log(parent.outerHTML); -// "<div><p></p><span></span>Texte</div>" +// "<div><p></p><span></span>Text</div>"

ChildNode.after() n'est pas accessible

-- cgit v1.2.3-54-g00ecf