diff options
Diffstat (limited to 'files/fr/web')
-rw-r--r-- | files/fr/web/api/childnode/after/index.html | 4 | ||||
-rw-r--r-- | files/fr/web/api/document/getselection/index.html (renamed from files/fr/web/api/documentorshadowroot/getselection/index.html) | 4 | ||||
-rw-r--r-- | files/fr/web/api/document/stylesheets/index.html (renamed from files/fr/web/api/documentorshadowroot/stylesheets/index.html) | 4 | ||||
-rw-r--r-- | files/fr/web/api/element/getattributens/index.html | 2 | ||||
-rw-r--r-- | files/fr/web/api/passwordcredential/additionaldata/index.html | 73 | ||||
-rw-r--r-- | files/fr/web/api/passwordcredential/idname/index.html | 50 | ||||
-rw-r--r-- | files/fr/web/api/passwordcredential/passwordname/index.html | 52 | ||||
-rw-r--r-- | files/fr/web/javascript/reference/global_objects/function/apply/index.html | 2 | ||||
-rw-r--r-- | files/fr/web/javascript/reference/statements/function/index.html | 2 | ||||
-rw-r--r-- | files/fr/web/manifest/index.html | 2 | ||||
-rw-r--r-- | files/fr/web/mathml/element/mglyph/index.html | 70 | ||||
-rw-r--r-- | files/fr/web/svg/element/clippath/index.html | 2 |
12 files changed, 11 insertions, 256 deletions
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>"</pre> +// "<div><p></p>Text</div>"</pre> <h3 id="Insertion_d'un_élément_et_de_texte">Insertion d'un élément et de texte</h3> @@ -68,7 +68,7 @@ var span = document.createElement("span"); child.after(span, "Text"); console.log(parent.outerHTML); -// "<div><p></p><span></span>Texte</div>"</pre> +// "<div><p></p><span></span>Text</div>"</pre> <h3 id="ChildNode.after()_n'est_pas_accessible"><code>ChildNode.after()</code> n'est pas accessible</h3> diff --git a/files/fr/web/api/documentorshadowroot/getselection/index.html b/files/fr/web/api/document/getselection/index.html index dfe7b3a102..676ba4d351 100644 --- a/files/fr/web/api/documentorshadowroot/getselection/index.html +++ b/files/fr/web/api/document/getselection/index.html @@ -1,6 +1,6 @@ --- title: document.getSelection -slug: Web/API/DocumentOrShadowRoot/getSelection +slug: Web/API/Document/getSelection tags: - API - DOM @@ -9,7 +9,7 @@ tags: - Selection translation_of: Web/API/DocumentOrShadowRoot/getSelection translation_of_original: Web/API/Document/getSelection -original_slug: Web/API/Document/getSelection +original_slug: Web/API/DocumentOrShadowRoot/getSelection --- <p>{{APIRef("DOM")}}</p> diff --git a/files/fr/web/api/documentorshadowroot/stylesheets/index.html b/files/fr/web/api/document/stylesheets/index.html index e61287ae60..2965e4eb43 100644 --- a/files/fr/web/api/documentorshadowroot/stylesheets/index.html +++ b/files/fr/web/api/document/stylesheets/index.html @@ -1,9 +1,9 @@ --- title: Document.styleSheets -slug: Web/API/DocumentOrShadowRoot/styleSheets +slug: Web/API/Document/styleSheets translation_of: Web/API/DocumentOrShadowRoot/styleSheets translation_of_original: Web/API/Document/styleSheets -original_slug: Web/API/Document/styleSheets +original_slug: Web/API/DocumentOrShadowRoot/styleSheets --- <div>{{APIRef}}</div> diff --git a/files/fr/web/api/element/getattributens/index.html b/files/fr/web/api/element/getattributens/index.html index 1a256de5fa..ecd4a98493 100644 --- a/files/fr/web/api/element/getattributens/index.html +++ b/files/fr/web/api/element/getattributens/index.html @@ -36,7 +36,7 @@ translation_of: Web/API/Element/getAttributeNS <h2 id="Exemples">Exemples</h2> -<p>Le document SVG suivantu utilise une valeur d'attribut <code>foo</code> d'un espace de nom spécifique :</p> +<p>Le document SVG suivant utilise une valeur d'attribut <code>foo</code> d'un espace de nom spécifique :</p> <pre class="brush: xml"><svg xmlns="http://www.w3.org/2000/svg" xmlns:test="http://www.example.com/2014/test" width="40" height="40"> diff --git a/files/fr/web/api/passwordcredential/additionaldata/index.html b/files/fr/web/api/passwordcredential/additionaldata/index.html deleted file mode 100644 index 48af22f69e..0000000000 --- a/files/fr/web/api/passwordcredential/additionaldata/index.html +++ /dev/null @@ -1,73 +0,0 @@ ---- -title: PasswordCredential.additionalData -slug: Web/API/PasswordCredential/additionalData -tags: - - API - - Credential Management API - - PasswordCredential - - Propriété - - Reference -translation_of: Web/API/PasswordCredential/additionalData ---- -<p>{{SeeCompatTable}}{{APIRef("")}}{{Deprecated_header}}</p> - -<p>La propriété <strong><code>additionalData</code></strong>, rattachée à l'interface {{domxref("PasswordCredential")}}, est une instance de {{domxref("FormData")}} ou une instane de {{domxref("URLSearchParams")}} ou {{jsxref("null")}}.</p> - -<p>Les données contenues dans l'objet associé seront ajoutées au corps de la requête et envoyées au point distant avec les informations d'authentification.</p> - -<h2 id="Syntaxe">Syntaxe</h2> - -<pre class="syntaxbox"><em>passwordCredential</em>.additionalData = formData -<em>formData</em> = <em>passwordCredential</em>.additionalData -passwordCredential.additionalData = urlSearchParams -<em>ulrSearchParams</em> = <em>passwordCredential</em>.additionalData -</pre> - -<h3 id="Valeur">Valeur</h3> - -<p>Une instance {{domxref("FormData")}} ou une instance {{domxref("URLSearchParams")}} ou {{jsxref("null")}}.</p> - -<h2 id="Exemples">Exemples</h2> - -<p>Dans l'exemple suivant, on crée un objet {{domxref("FormData")}} auquel on ajoute un <a href="/docs/Web/Security/Same-origin_policy#How_to_block_cross-origin_access">jeton CSRF</a>. Ensuite, on stocke l'objet du formulaire dans le paramètre <code>additionalData</code> avant de l'envoyer au serveur avec un appel à {{domxref("fetch")}}.</p> - -<pre class="brush: js">// L'objet options a été créé au préalable -navigator.credentials.get(options).then(function(creds) { - if (creds.type == 'password') { - var form = new FormData(); - var csrf_token = document.querySelector('csrf_token').value; - form.append('csrf_token', csrf_token); - - creds.additionalData = form; - - fetch('https://www.example.com', { - method: 'POST', - credentials: creds - }); - }; -});</pre> - -<h2 id="Spécifications">Spécifications</h2> - -<table class="standard-table"> - <thead> - <tr> - <th scope="col">Spécification</th> - <th scope="col">État</th> - <th scope="col">Commentaires</th> - </tr> - </thead> - <tbody> - <tr> - <td>{{SpecName('Credential Management')}}</td> - <td>{{Spec2('Credential Management')}}</td> - <td>Définition initiale.</td> - </tr> - </tbody> -</table> - -<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> - -<div class="hidden">Le tableau de compatibilité de cette page a été généré à partir de données structurées. Si vous souhaitez contribuer à ces données, n'hésitez pas à consulter <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> et à nous envoyer une <em>pull request</em>.</div> - -<p>{{Compat("api.PasswordCredential.additionalData")}}</p> diff --git a/files/fr/web/api/passwordcredential/idname/index.html b/files/fr/web/api/passwordcredential/idname/index.html deleted file mode 100644 index 61b654c9ea..0000000000 --- a/files/fr/web/api/passwordcredential/idname/index.html +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: idName -slug: Web/API/PasswordCredential/idName -tags: - - API - - PasswordCredential - - Propriété - - Reference - - idName -translation_of: Web/API/PasswordCredential/idName ---- -<p>{{SeeCompatTable}}{{APIRef("")}}{{Deprecated_header}}</p> - -<p><span class="seoSummary">La propriété <strong><code>idName</code></strong> de l'interface {{domxref("PasswordCredential")}} fournit une chaîne de caractères {{domxref("USVString")}} représentant le nom qui sera utilisé pour le champ d'identifiant, </span>lorsqu'on envoie l'objet courant à un point d'accès distant when submitting the current object to a remote endpoint via {{domxref("fetch")}}. Par défaut, cette propriété vaut <code>'username'</code>, mais on peut la définir avec n'importe quelle valeur qui serait attendue de la part d'un service distant.</p> - -<h2 id="Syntaxe">Syntaxe</h2> - -<pre class="syntaxbox">var idName = PasswordCredential.idName -PasswordCredential.idName = "userID"</pre> - -<h3 id="Valeur">Valeur</h3> - -<p>Une chaîne de caractères {{domxref("USVString")}} qui représente le nom utilisé pour le champ d'identifiant lorsqu'on envoie l'objet courant à un point distant avec {{domxref("fetch")}}.</p> - -<h2 id="Exemples">Exemples</h2> - -<pre class="brush: js">// TBD</pre> - -<h2 id="Spécifications">Spécifications</h2> - -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Spécification</th> - <th scope="col">État</th> - <th scope="col">Commentaires</th> - </tr> - <tr> - <td>{{SpecName('Credential Management')}}</td> - <td>{{Spec2('Credential Management')}}</td> - <td>Définition initiale.</td> - </tr> - </tbody> -</table> - -<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> - -<div class="hidden">Le tableau de compatibilité de cette page a été généré à partir de données structurées. Si vous souhaitez contribuer à ces données, n'hésitez pas à consulter <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> et à nous envoyer une <em>pull request</em>.</div> - -<p>{{Compat("api.PasswordCredential.idName")}}</p> diff --git a/files/fr/web/api/passwordcredential/passwordname/index.html b/files/fr/web/api/passwordcredential/passwordname/index.html deleted file mode 100644 index d1399f8d18..0000000000 --- a/files/fr/web/api/passwordcredential/passwordname/index.html +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: PasswordCredential.passwordName -slug: Web/API/PasswordCredential/passwordName -tags: - - API - - Credential Management API - - PasswordCredential - - Propriété - - Reference -translation_of: Web/API/PasswordCredential/passwordName ---- -<p>{{SeeCompatTable}}{{APIRef("")}}{{Deprecated_header}}</p> - -<p>La propriété <strong><code>passwordName</code></strong>, rattachée à l'interface {{domxref("PasswordCredential")}}, est une chaîne de caractères {{domxref("USVString")}} qui indique le nom utilisé pour dénommer le champ relatif au mot de passe lors de l'envoi de l'objet courant au point d'accès distant avec {{domxref("fetch")}}. Par défaut, cette propriété vaut <code>'password'</code> mais il est possible de la modifier afin qu'elle corresponde à la valeur attendue par le service distant.</p> - -<h2 id="Syntaxe">Syntaxe</h2> - -<pre class="syntaxbox">var passwordName = PasswordCredential.passwordName -PasswordCredential.passwordName = "passcode"</pre> - -<h3 id="Valeur">Valeur</h3> - -<p>Une chaîne de caractères {{domxref("USVString")}} qui représente le nom du champ pour le mot de passe. Ce nom sera utilisé lors de l'envoi de l'objet courant au point d'accès distant avec {{domxref("fetch")}}.</p> - -<h2 id="Exemples">Exemples</h2> - -<pre class="brush: js">// TBD</pre> - -<h2 id="Spécifications">Spécifications</h2> - -<table class="standard-table"> - <thead> - <tr> - <th scope="col">Spécification</th> - <th scope="col">État</th> - <th scope="col">Commentaires</th> - </tr> - </thead> - <tbody> - <tr> - <td>{{SpecName('Credential Management')}}</td> - <td>{{Spec2('Credential Management')}}</td> - <td>Définition initiale.</td> - </tr> - </tbody> -</table> - -<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> - -<div class="hidden">Le tableau de compatibilité de cette page a été généré à partir de données structurées. Si vous souhaitez contribuer à ces données, n'hésitez pas à consulter <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> et à nous envoyer une <em>pull request</em>.</div> - -<p>{{Compat("api.PasswordCredential.passwordName")}}</p> diff --git a/files/fr/web/javascript/reference/global_objects/function/apply/index.html b/files/fr/web/javascript/reference/global_objects/function/apply/index.html index fe76177918..cd506e138f 100644 --- a/files/fr/web/javascript/reference/global_objects/function/apply/index.html +++ b/files/fr/web/javascript/reference/global_objects/function/apply/index.html @@ -86,7 +86,7 @@ original_slug: Web/JavaScript/Reference/Objets_globaux/Function/apply } var monTableau = [4, "Coucou monde !", false]; -var monInstance = MonConstructeur.constructor(monTableau); +var monInstance = MonConstructeur.construct(monTableau); console.log(monInstance.propriété1); // "Coucou monde !" console.log(monInstance instanceof MonConstructeur); // "true" diff --git a/files/fr/web/javascript/reference/statements/function/index.html b/files/fr/web/javascript/reference/statements/function/index.html index 3489676831..64433c3715 100644 --- a/files/fr/web/javascript/reference/statements/function/index.html +++ b/files/fr/web/javascript/reference/statements/function/index.html @@ -37,7 +37,7 @@ original_slug: Web/JavaScript/Reference/Instructions/function <dl> <dt><code>instructions</code></dt> - <dd>Les instructions qui constituent le corps de la fonctio.</dd> + <dd>Les instructions qui constituent le corps de la fonction.</dd> </dl> <h2 id="Description">Description</h2> diff --git a/files/fr/web/manifest/index.html b/files/fr/web/manifest/index.html index 6d7a5e276d..4c1fc34f13 100644 --- a/files/fr/web/manifest/index.html +++ b/files/fr/web/manifest/index.html @@ -65,7 +65,7 @@ translation_of: Web/Manifest <pre class="brush: json notranslate">"background_color": "red"</pre> <div class="note"> -<p><strong>Note</strong> : Le membre Bakground_color est uniquement destiné à améliorer l'expérience de l'utilisateur alors qu'une application Web est en cours de chargement et ne doit pas être utilisé par l'agent utilisateur comme couleur d'arrière-plan lorsque la feuille de style de l'application Web est disponible</p> +<p><strong>Note</strong> : Le membre Background_color est uniquement destiné à améliorer l'expérience de l'utilisateur alors qu'une application Web est en cours de chargement et ne doit pas être utilisé par l'agent utilisateur comme couleur d'arrière-plan lorsque la feuille de style de l'application Web est disponible</p> </div> <h3 id="description"><font face="Consolas">description</font></h3> diff --git a/files/fr/web/mathml/element/mglyph/index.html b/files/fr/web/mathml/element/mglyph/index.html deleted file mode 100644 index e19c07131f..0000000000 --- a/files/fr/web/mathml/element/mglyph/index.html +++ /dev/null @@ -1,70 +0,0 @@ ---- -title: <mglyph> -slug: Web/MathML/Element/mglyph -tags: - - Element - - MathML - - Reference -translation_of: Web/MathML/Element/mglyph ---- -<div>{{MathMLRef}}</div> - -<p>L'élément MathML <strong><code><mglyph></code></strong> est utilisé afin d'afficher des symboles non-standards n'ayant pas de caractères Unicode correspondants. Cet élément peut être utilisé avec les <a href="/fr/docs/tag/MathML:Token%20Elements">éléments jetons</a>.</p> - -<h2 id="Attributs">Attributs</h2> - -<dl> - <dt id="attr-alt"><code>alt</code></dt> - <dd>Cet attribut définit le texte alternatif décrivant l'image. Ce texte sera affiché si l'URL est incorrecte, si <a href="/fr/docs/Web/HTML/Element/Img#Formats_d%27image_support.C3.A9s" title="/fr/docs/Web/HTML/Element/Img#Formats_d%27image_support.C3.A9s">le format de l'image n'est pas supporté</a> ou jusqu'à la fin du téléchargement de l'image.</dd> - <dt id="attr-class-id-style"><code>class</code>, <code>id</code>, <code>style</code></dt> - <dd>Afin d'être utilisés avec les <a href="/fr/docs/CSS">feuilles de styles</a>.</dd> - <dt id="attr-height"><code>height</code></dt> - <dd>La hauteur de l'image.</dd> - <dt id="attr-href"><code>href</code></dt> - <dd>Un hyperlien pointant vers un URI donné.</dd> - <dt id="attr-mathbackground"><code>mathbackground</code></dt> - <dd>La couleur de fond. Il est possible d'utiliser les codes au format <code>#rgb</code>, <code>#rrggbb</code> et les <a href="/fr/docs/CSS/valeur_de_couleur#Mots-cl.C3.A9s">noms de couleurs HTML</a>.</dd> - <dt id="attr-src"><code>src</code></dt> - <dd>L'URL de l'image.</dd> - <dt id="attr-valign"><code>valign</code></dt> - <dd>Définit l'alignement vertical par rapport à la ligne de base courante.</dd> - <dt id="attr-width"><code>width</code></dt> - <dd>La largeur de l'image.</dd> -</dl> - -<h2 id="Exemples">Exemples</h2> - -<pre class="brush: html"><math> - <mi><mglyph src="mon-glyphe.png" alt="mon glyphe"/></mi> -</math> -</pre> - -<h2 id="Spécifications">Spécifications</h2> - -<table class="standard-table"> - <thead> - <tr> - <th scope="col">Spécification</th> - <th scope="col">Statut</th> - <th scope="col">Commentaires</th> - </tr> - </thead> - <tbody> - <tr> - <td>{{ SpecName('MathML3', 'chapter3.html#presm.mglyph', 'mglyph') }}</td> - <td>{{ Spec2('MathML3') }}</td> - <td>Spécification actuelle</td> - </tr> - <tr> - <td>{{ SpecName('MathML2', 'chapter3.html#presm.mglyph', 'mglyph') }}</td> - <td>{{ Spec2('MathML2') }}</td> - <td>Spécification initiale</td> - </tr> - </tbody> -</table> - -<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> - -<div class="hidden">Le tableau de compatibilité de cette page a été généré à partir de données structurées. Si vous souhaitez contribuer à ces données, n'hésitez pas à consulter <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> et à nous envoyer une <em>pull request</em>.</div> - -<p>{{Compat("mathml.elements.mglyph")}}</p> diff --git a/files/fr/web/svg/element/clippath/index.html b/files/fr/web/svg/element/clippath/index.html index 44ff32994f..276807168a 100644 --- a/files/fr/web/svg/element/clippath/index.html +++ b/files/fr/web/svg/element/clippath/index.html @@ -19,7 +19,7 @@ translation_of: Web/SVG/Element/clipPath <pre class="brush: html"><svg viewBox="0 0 100 100"> <clipPath id="myClip"> - <!-- La forme crée par le détourage est un simple cercle. --> + <!-- La forme créée par le détourage est un simple cercle. --> <circle cx="40" cy="35" r="35" /> </clipPath> |