aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/uievent
diff options
context:
space:
mode:
authorSphinxKnight <SphinxKnight@users.noreply.github.com>2021-09-26 13:11:47 +0200
committerGitHub <noreply@github.com>2021-09-26 13:11:47 +0200
commit6772831200d14c2436aea2d0c837f40dbf12156f (patch)
treee41b587ce1834baf8c737454c0ae110ebc8208ca /files/fr/web/api/uievent
parent707941dbecfb0cc1e75dd32d2dacac4d1845bf2c (diff)
downloadtranslated-content-6772831200d14c2436aea2d0c837f40dbf12156f.tar.gz
translated-content-6772831200d14c2436aea2d0c837f40dbf12156f.tar.bz2
translated-content-6772831200d14c2436aea2d0c837f40dbf12156f.zip
Prepare Web API section for Markdown conversion (#2464)
* Remove summary classes and ids * Remove unecessary hidden * Remove useless span filled with useless attributes / ids * Remove useless font * Remove notranslate * Remove id in other elements than headings * Remove name attributes * Remove <pre><code> for JS w/ language-js class * Remove <pre><code> for HTML w/ language-html class * Remove <pre><code> for other lang w/ language-* class * Rm highlighted line in code samples * fix links, internal, external, absolute URLs * missing file from last commit * Fix styles errors apart from table + some classes * Fix notes and warnings (+ some other :x) * fix typo during merge which broke a doc * aand forgot a conflict * fix remaining classes of errors except dls and images * Fix dls * Fix images (deki/mozillademos) and remaining style issues * Remove script tag from svg file * Remove script tag from svg fileS * Compress SVG files for CI
Diffstat (limited to 'files/fr/web/api/uievent')
-rw-r--r--files/fr/web/api/uievent/index.html8
-rw-r--r--files/fr/web/api/uievent/layerx/index.html4
2 files changed, 6 insertions, 6 deletions
diff --git a/files/fr/web/api/uievent/index.html b/files/fr/web/api/uievent/index.html
index 342b6ae2e3..0bf32d28b4 100644
--- a/files/fr/web/api/uievent/index.html
+++ b/files/fr/web/api/uievent/index.html
@@ -13,7 +13,7 @@ translation_of: Web/API/UIEvent
---
<p>{{APIRef("DOM Events")}}</p>
-<p><span class="seoSummary">L'interface <strong><code>UIEvent</code></strong> représente des évènements simples de l'interface utilisateur.</span></p>
+<p>L'interface <strong><code>UIEvent</code></strong> représente des évènements simples de l'interface utilisateur.</p>
<p><code>UIEvent</code> dérive de {{domxref("Event")}}. Bien que la méthode {{domxref("UIEvent.initUIEvent()")}}  soit conservée pour la compatibilité ascendante, vous devez créer un objet <code>UIEvent</code> en utilisant le constructeur {{domxref("UIEvent.UIEvent", "UIEvent()")}}.</p>
@@ -62,7 +62,7 @@ translation_of: Web/API/UIEvent
<dl>
<dt>{{domxref("UIEvent.initUIEvent()")}} {{deprecated_inline}}</dt>
- <dd>Initialise un objet <code>UIEvent</code>. <span id="result_box" lang="fr"><span>Si l'évènement a déjà été envoyé, cette méthode ne fait rien.</span></span></dd>
+ <dd>Initialise un objet <code>UIEvent</code>. Si l'évènement a déjà été envoyé, cette méthode ne fait rien.</dd>
</dl>
<h2 id="Spécifications">Spécifications</h2>
@@ -101,9 +101,9 @@ translation_of: Web/API/UIEvent
<p>{{Compat("api.UIEvent")}}</p>
-<h2 class="editable" id="Voir_aussi"><span>Voir aussi</span></h2>
+<h2 id="Voir_aussi">Voir aussi</h2>
<ul>
- <li><a href="https://developer.mozilla.org/fr/docs/Learn/JavaScript/Building_blocks/Events">Introduction to events</a></li>
+ <li><a href="/fr/docs/Learn/JavaScript/Building_blocks/Events">Introduction to events</a></li>
<li>{{ domxref("Event") }}</li>
</ul>
diff --git a/files/fr/web/api/uievent/layerx/index.html b/files/fr/web/api/uievent/layerx/index.html
index 649458c30d..c4ea6de756 100644
--- a/files/fr/web/api/uievent/layerx/index.html
+++ b/files/fr/web/api/uievent/layerx/index.html
@@ -16,7 +16,7 @@ translation_of: Web/API/UIEvent/layerX
<p>Cette propriété prend en compte le défilement de la page, et retourne une valeur relative à l'ensemble du document, à moins que l'évènement ne se soit produit à l'intérieur d'un élément positionné, auquel cas la valeur retournée est relative au coin supérieur gauche de l'élément positionné.</p>
-<h2 id="Syntax" name="Syntax"><strong>Syntaxe</strong></h2>
+<h2 id="Syntax"><strong>Syntaxe</strong></h2>
<pre>var <em>posx</em> = <em>event</em>.layerX</pre>
@@ -24,7 +24,7 @@ translation_of: Web/API/UIEvent/layerX
<li><em><code>posx</code></em> est une valeur entière en pixels pour la coordonnée x du pointeur de la souris, lorsque l'évènement souris est déclenché.</li>
</ul>
-<h2 id="Syntax" name="Syntax"><strong>Exemples</strong></h2>
+<h2 id="Syntax"><strong>Exemples</strong></h2>
<pre class="eval">&lt;html&gt;
&lt;head&gt;