diff options
author | SphinxKnight <SphinxKnight@users.noreply.github.com> | 2021-09-27 19:52:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-27 19:52:26 +0200 |
commit | b57379257281efd293e51237969a8553a7c58ae7 (patch) | |
tree | 37d1e1dee8f3ab8a5e4d953d121f80f647a94b5e /files/fr/web/api/pointer_events | |
parent | f139538f3148990f7b61d94f75d96381985a0c0e (diff) | |
download | translated-content-b57379257281efd293e51237969a8553a7c58ae7.tar.gz translated-content-b57379257281efd293e51237969a8553a7c58ae7.tar.bz2 translated-content-b57379257281efd293e51237969a8553a7c58ae7.zip |
Fix web api fr upstream h2m (#2597)
* fix html examples with script
* remove languages macro
* enclose code words in <code> to avoid dot escape
Diffstat (limited to 'files/fr/web/api/pointer_events')
-rw-r--r-- | files/fr/web/api/pointer_events/index.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/files/fr/web/api/pointer_events/index.html b/files/fr/web/api/pointer_events/index.html index 0e26e4cbda..734d88d9f5 100644 --- a/files/fr/web/api/pointer_events/index.html +++ b/files/fr/web/api/pointer_events/index.html @@ -141,7 +141,7 @@ translation_of: Web/API/Pointer_events <p>This example registers a handler for every event type for the given element.</p> -<pre class="brush: js"><html> +<pre class="brush: html"><html> <script> function over_handler(event) { } function enter_handler(event) { } @@ -179,7 +179,7 @@ function init() { <p>This example illustrates accessing all of a touch event's properties.</p> -<pre class="brush: js"><html> +<pre class="brush: html"><html> <script> var id = -1; @@ -310,7 +310,7 @@ function init() { <p>The following example shows pointer capture being set on an element.</p> -<pre class="brush: js"><html> +<pre class="brush: html"><html> <script> function downHandler(ev) { var el=document.getElementById("target"); @@ -330,7 +330,7 @@ function init() { <p>The following example shows a pointer capture being released (when a {{event("pointercancel")}} event occurs. The browser does this automatically when a {{event("pointerup")}} or {{event("pointercancel")}} event occurs.</p> -<pre class="brush: js"><html> +<pre class="brush: html"><html> <script> function downHandler(ev) { var el=document.getElementById("target"); |