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/htmlelement | |
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/htmlelement')
4 files changed, 5 insertions, 11 deletions
diff --git a/files/fr/web/api/htmlelement/offsetheight/index.html b/files/fr/web/api/htmlelement/offsetheight/index.html index ae436458f9..5ceee19bcc 100644 --- a/files/fr/web/api/htmlelement/offsetheight/index.html +++ b/files/fr/web/api/htmlelement/offsetheight/index.html @@ -51,6 +51,4 @@ translation_of: Web/API/HTMLElement/offsetHeight <li><a href="/fr/DOM/element.clientHeight"><code>element.clientHeight</code></a></li> <li><a href="/fr/DOM/element.scrollHeight"><code>element.scrollHeight</code></a></li> <li><a href="/fr/DOM/element.offsetWidth"><code>element.offsetWidth</code></a></li> -</ul> - -<p>{{ languages( { "en": "en/DOM/element.offsetHeight", "pl": "pl/DOM/element.offsetHeight" } ) }}</p> +</ul>
\ No newline at end of file diff --git a/files/fr/web/api/htmlelement/offsetleft/index.html b/files/fr/web/api/htmlelement/offsetleft/index.html index c29542abcc..f4bf76cb37 100644 --- a/files/fr/web/api/htmlelement/offsetleft/index.html +++ b/files/fr/web/api/htmlelement/offsetleft/index.html @@ -31,7 +31,7 @@ if (tOLeft > 5) { <p><img src="offsetleft.jpg"></p> <p><small>Note : il s'agit d'une image de l'exemple, pas d'un rendu direct dans le navigateur. En effet, il n'est pas possible d'intégrer des scripts dans la page du wiki.</small></p> -<pre><div style="width: 300px; border-color:blue; +<pre class="brush: html"><div style="width: 300px; border-color:blue; border-style:solid; border-width:1;"> <span>Short span. </span> <span id="long">Long span that wraps withing this div.</span> @@ -54,5 +54,4 @@ if (tOLeft > 5) { <p><code><a href="fr/DOM/element.offsetParent">offsetParent</a></code>, <code><a href="fr/DOM/element.offsetTop">offsetTop</a></code>, <code><a href="fr/DOM/element.offsetWidth">offsetWidth</a></code>, <code><a href="fr/DOM/element.offsetHeight">offsetHeight</a></code></p> <h3 id="Sp.C3.A9cification">Spécification</h3> <p>Cette propriété ne fait partie d'aucun standard ou recommandation technique du W3C.</p> -<p><a href="http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/offsetleft.asp">MSDN: offsetLeft</a></p> -<p>{{ languages( { "en": "en/DOM/element.offsetLeft", "pl": "pl/DOM/element.offsetLeft" } ) }}</p> +<p><a href="http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/offsetleft.asp">MSDN: offsetLeft</a></p>
\ No newline at end of file diff --git a/files/fr/web/api/htmlelement/offsetparent/index.html b/files/fr/web/api/htmlelement/offsetparent/index.html index 5e278fefe9..4f3775191e 100644 --- a/files/fr/web/api/htmlelement/offsetparent/index.html +++ b/files/fr/web/api/htmlelement/offsetparent/index.html @@ -18,5 +18,4 @@ translation_of: Web/API/HTMLElement/offsetParent <li><code>objetParent</code> est une référence à l'élément dans lequel l'élément courant est positionné.</li> </ul> <h3 id="Sp.C3.A9cification">Spécification</h3> -<p>{{ DOM0() }}</p> -<p>{{ languages( { "en": "en/DOM/element.offsetParent", "pl": "pl/DOM/element.offsetParent" } ) }}</p> +<p>{{ DOM0() }}</p>
\ No newline at end of file diff --git a/files/fr/web/api/htmlelement/offsetwidth/index.html b/files/fr/web/api/htmlelement/offsetwidth/index.html index a7d58e4448..a957ef38e9 100644 --- a/files/fr/web/api/htmlelement/offsetwidth/index.html +++ b/files/fr/web/api/htmlelement/offsetwidth/index.html @@ -37,6 +37,4 @@ translation_of: Web/API/HTMLElement/offsetWidth <ul> <li><a href="http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/offsetwidth.asp?frame=true"><em>offsetWidth definition</em> sur MSDN</a></li> <li><a href="http://msdn.microsoft.com/workshop/author/om/measuring.asp"><em>Measuring Element Dimension and Location</em> sur MSDN</a></li> -</ul> - -<p>{{ languages( { "en": "en/DOM/element.offsetWidth", "pl": "pl/DOM/element.offsetWidth" } ) }}</p> +</ul>
\ No newline at end of file |