aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/dompointreadonly
diff options
context:
space:
mode:
authorjulieng <julien.gattelier@gmail.com>2021-10-02 17:20:24 +0200
committerSphinxKnight <SphinxKnight@users.noreply.github.com>2021-10-02 17:30:20 +0200
commit1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde (patch)
tree30a56efd3eff3a01bd1611e1840fdbbfacf544a4 /files/fr/web/api/dompointreadonly
parentc05efa8d7ae464235cf83d7c0956e42dc6974103 (diff)
downloadtranslated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.tar.gz
translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.tar.bz2
translated-content-1407c8fdef01ecd0ffb8a8bd46e7113f119b9fde.zip
convert content to md
Diffstat (limited to 'files/fr/web/api/dompointreadonly')
-rw-r--r--files/fr/web/api/dompointreadonly/index.md81
-rw-r--r--files/fr/web/api/dompointreadonly/w/index.md43
-rw-r--r--files/fr/web/api/dompointreadonly/x/index.md45
-rw-r--r--files/fr/web/api/dompointreadonly/y/index.md45
-rw-r--r--files/fr/web/api/dompointreadonly/z/index.md45
5 files changed, 98 insertions, 161 deletions
diff --git a/files/fr/web/api/dompointreadonly/index.md b/files/fr/web/api/dompointreadonly/index.md
index f200ed1509..8685e88378 100644
--- a/files/fr/web/api/dompointreadonly/index.md
+++ b/files/fr/web/api/dompointreadonly/index.md
@@ -9,66 +9,47 @@ tags:
- Quadrilatère
translation_of: Web/API/DOMPointReadOnly
---
-<p>{{APIRef("Geometry Interfaces")}}{{ SeeCompatTable() }}</p>
+{{APIRef("Geometry Interfaces")}}{{ SeeCompatTable() }}
-<p>L'interface <strong><code>DOMPointReadOnly</code></strong> spécifie les propriétés standard utilisées par {{domxref("DOMPoint")}} pour définir un point 2D ou 3D dans un système de coordonnées.</p>
+L'interface **`DOMPointReadOnly`** spécifie les propriétés standard utilisées par {{domxref("DOMPoint")}} pour définir un point 2D ou 3D dans un système de coordonnées.
-<h2 id="Constructeur">Constructeur</h2>
+## Constructeur
-<dl>
- <dt>{{domxref("DOMPointReadOnly.DOMPointReadOnly","DOMPointReadOnly()")}}</dt>
- <dd>Défini pour créer un nouvel objet <code>DOMPointReadOnly</code>, mais notez que ce constructeur ne peut pas être appelé par un JavaScript tiers : ce faisant, il retourne un  typeError "constructeur illégal" .</dd>
-</dl>
+- {{domxref("DOMPointReadOnly.DOMPointReadOnly","DOMPointReadOnly()")}}
+ - : Défini pour créer un nouvel objet `DOMPointReadOnly`, mais notez que ce constructeur ne peut pas être appelé par un JavaScript tiers : ce faisant, il retourne un  typeError "constructeur illégal" .
-<h2 id="Méthodes">Méthodes</h2>
+## Méthodes
-<dl>
- <dt>{{domxref("DOMPointReadOnly.fromPoint")}}</dt>
- <dd>Traduit la position / perspective d'un <code>DOMPoint</code> à une nouvelle position (ne semble pas encore être pris en charge).</dd>
- <dt>{{domxref("DOMPointReadOnly.matrixTransform")}}</dt>
- <dd>Applique une transformation matricielle à un objet <code>DOMPointReadOnly</code>  (ne semble pas encore être pris en charge).</dd>
- <dt>{{domxref("DOMPointReadOnly.toJSON()")}}</dt>
- <dd>Renvoie une représentation JSON de l'objet <code>DOMPointReadOnly</code>.</dd>
-</dl>
+- {{domxref("DOMPointReadOnly.fromPoint")}}
+ - : Traduit la position / perspective d'un `DOMPoint` à une nouvelle position (ne semble pas encore être pris en charge).
+- {{domxref("DOMPointReadOnly.matrixTransform")}}
+ - : Applique une transformation matricielle à un objet `DOMPointReadOnly`  (ne semble pas encore être pris en charge).
+- {{domxref("DOMPointReadOnly.toJSON()")}}
+ - : Renvoie une représentation JSON de l'objet `DOMPointReadOnly`.
-<h2 id="Propriétés">Propriétés</h2>
+## Propriétés
-<dl>
- <dt>{{domxref("DOMPointReadOnly.x")}} {{readonlyInline}}</dt>
- <dd>La coordonnée x du <code>DOMPoint</code>.</dd>
- <dt>{{domxref("DOMPointReadOnly.y")}} {{readonlyInline}}</dt>
- <dd>La coordonnée y du <code>DOMPoint</code>.</dd>
- <dt>{{domxref("DOMPointReadOnly.z")}} {{readonlyInline}}</dt>
- <dd>La coordonnée z du <code>DOMPoint</code>.</dd>
- <dt>{{domxref("DOMPointReadOnly.w")}} {{readonlyInline}}</dt>
- <dd>La valeur de perspective du <code>DOMPoint</code>.</dd>
-</dl>
+- {{domxref("DOMPointReadOnly.x")}} {{readonlyInline}}
+ - : La coordonnée x du `DOMPoint`.
+- {{domxref("DOMPointReadOnly.y")}} {{readonlyInline}}
+ - : La coordonnée y du `DOMPoint`.
+- {{domxref("DOMPointReadOnly.z")}} {{readonlyInline}}
+ - : La coordonnée z du `DOMPoint`.
+- {{domxref("DOMPointReadOnly.w")}} {{readonlyInline}}
+ - : La valeur de perspective du `DOMPoint`.
-<h2 id="Specification">Spécifications</h2>
+## Spécifications
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">Spécification</th>
- <th scope="col">Statut</th>
- <th scope="col">Commentaire</th>
- </tr>
- <tr>
- <td>{{SpecName('Geometry Interfaces', '#DOMPoint', 'DOMPoint')}}</td>
- <td>{{Spec2('Geometry Interfaces')}}</td>
- <td>La dernière version de la spécification est un ED.</td>
- </tr>
- </tbody>
-</table>
+| Spécification | Statut | Commentaire |
+| -------------------------------------------------------------------------------- | -------------------------------------------- | -------------------------------------------------- |
+| {{SpecName('Geometry Interfaces', '#DOMPoint', 'DOMPoint')}} | {{Spec2('Geometry Interfaces')}} | La dernière version de la spécification est un ED. |
-<h2 id="Browser_compatibility">Compatibilité des navigateurs</h2>
+## Compatibilité des navigateurs
-<p>{{Compat("api.DOMPointReadOnly")}}</p>
+{{Compat("api.DOMPointReadOnly")}}
-<h2 id="See_also">Voir aussi</h2>
+## Voir aussi
-<ul>
- <li>{{domxref("DOMPoint")}}</li>
- <li>{{domxref("DOMRect")}}</li>
- <li>{{domxref("DOMMatrix")}}</li>
-</ul>
+- {{domxref("DOMPoint")}}
+- {{domxref("DOMRect")}}
+- {{domxref("DOMMatrix")}}
diff --git a/files/fr/web/api/dompointreadonly/w/index.md b/files/fr/web/api/dompointreadonly/w/index.md
index 6eab04af2c..e9ca6e45b0 100644
--- a/files/fr/web/api/dompointreadonly/w/index.md
+++ b/files/fr/web/api/dompointreadonly/w/index.md
@@ -11,41 +11,30 @@ tags:
- W
translation_of: Web/API/DOMPointReadOnly/w
---
-<p>{{APIRef("DOM")}}{{ SeeCompatTable() }}</p>
+{{APIRef("DOM")}}{{ SeeCompatTable() }}
-<p>La propriété en lecture seule <code><strong>w</strong></code> de l'interface <strong><code>DOMPointReadOnly</code></strong> représente la perspective d'un point.</p>
+La propriété en lecture seule **`w`** de l'interface **`DOMPointReadOnly`** représente la perspective d'un point.
-<h2 id="Syntaxe">Syntaxe</h2>
+## Syntaxe
-<pre class="brush: js">var perspective = DOMPoint.w;</pre>
+```js
+var perspective = DOMPoint.w;
+```
-<h3 id="Specification">Valeur</h3>
+### Valeur
-<p>Un double.</p>
+Un double.
-<h2 id="Specification">Spécifications</h2>
+## Spécifications
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">Spécification</th>
- <th scope="col">Statut</th>
- <th scope="col">Commentaire</th>
- </tr>
- <tr>
- <td>{{SpecName('Geometry Interfaces', '#dom-dompointreadonly-w', 'w')}}</td>
- <td>{{Spec2('Geometry Interfaces')}}</td>
- <td>La dernière version de la spécification est un ED.</td>
- </tr>
- </tbody>
-</table>
+| Spécification | Statut | Commentaire |
+| ---------------------------------------------------------------------------------------- | -------------------------------------------- | -------------------------------------------------- |
+| {{SpecName('Geometry Interfaces', '#dom-dompointreadonly-w', 'w')}} | {{Spec2('Geometry Interfaces')}} | La dernière version de la spécification est un ED. |
-<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2>
+## Compatibilité des navigateurs
-<p>{{Compat("api.DOMPointReadOnly.w")}}</p>
+{{Compat("api.DOMPointReadOnly.w")}}
-<h2 id="Voir_aussi">Voir aussi</h2>
+## Voir aussi
-<ul>
- <li>{{domxref("DOMPoint")}}</li>
-</ul>
+- {{domxref("DOMPoint")}}
diff --git a/files/fr/web/api/dompointreadonly/x/index.md b/files/fr/web/api/dompointreadonly/x/index.md
index 77c78c54d4..b7f01029d6 100644
--- a/files/fr/web/api/dompointreadonly/x/index.md
+++ b/files/fr/web/api/dompointreadonly/x/index.md
@@ -11,43 +11,32 @@ tags:
- x
translation_of: Web/API/DOMPointReadOnly/x
---
-<p>{{APIRef("DOM")}}{{ SeeCompatTable() }}</p>
+{{APIRef("DOM")}}{{ SeeCompatTable() }}
-<p>La propriété en lecture seule <code><strong>x</strong></code> de l'interface <strong><code>DOMPointReadOnly</code></strong> représente la coordonnée x d'un point.</p>
+La propriété en lecture seule **`x`** de l'interface **`DOMPointReadOnly`** représente la coordonnée x d'un point.
-<p>En général, x positif signifie à droite et négatif à gauche (par rapport à l'origine).</p>
+En général, x positif signifie à droite et négatif à gauche (par rapport à l'origine).
-<h2 id="Syntaxe">Syntaxe</h2>
+## Syntaxe
-<pre class="brush: js">var xPos = DOMPoint.x;</pre>
+```js
+var xPos = DOMPoint.x;
+```
-<h3 id="Specification">Valeur</h3>
+### Valeur
-<p>Un double.</p>
+Un double.
-<h2 id="Specification">Spécifications</h2>
+## Spécifications
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">Spécification</th>
- <th scope="col">Statut</th>
- <th scope="col">Commentaire</th>
- </tr>
- <tr>
- <td>{{SpecName('Geometry Interfaces', '#dom-dompointreadonly-x', 'x')}}</td>
- <td>{{Spec2('Geometry Interfaces')}}</td>
- <td>La dernière version de la spécification est un ED.</td>
- </tr>
- </tbody>
-</table>
+| Spécification | Statut | Commentaire |
+| ---------------------------------------------------------------------------------------- | -------------------------------------------- | -------------------------------------------------- |
+| {{SpecName('Geometry Interfaces', '#dom-dompointreadonly-x', 'x')}} | {{Spec2('Geometry Interfaces')}} | La dernière version de la spécification est un ED. |
-<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2>
+## Compatibilité des navigateurs
-<p>{{Compat("api.DOMPointReadOnly.x")}}</p>
+{{Compat("api.DOMPointReadOnly.x")}}
-<h2 id="Voir_aussi">Voir aussi</h2>
+## Voir aussi
-<ul>
- <li>{{domxref("DOMPoint")}}</li>
-</ul>
+- {{domxref("DOMPoint")}}
diff --git a/files/fr/web/api/dompointreadonly/y/index.md b/files/fr/web/api/dompointreadonly/y/index.md
index 74e42ccf0f..60559d3d04 100644
--- a/files/fr/web/api/dompointreadonly/y/index.md
+++ b/files/fr/web/api/dompointreadonly/y/index.md
@@ -11,43 +11,32 @@ tags:
- 'y'
translation_of: Web/API/DOMPointReadOnly/y
---
-<p>{{APIRef("DOM")}}{{ SeeCompatTable() }}</p>
+{{APIRef("DOM")}}{{ SeeCompatTable() }}
-<p>La propriété en lecture seule <code><strong>y</strong></code> de l'interface <strong><code>DOMPointReadOnly</code></strong> représente la coordonnée y d'un point.</p>
+La propriété en lecture seule **`y`** de l'interface **`DOMPointReadOnly`** représente la coordonnée y d'un point.
-<p>En général, y positif signifie en haut et négatif en bas (par rapport à l'origine).</p>
+En général, y positif signifie en haut et négatif en bas (par rapport à l'origine).
-<h2 id="Syntaxe">Syntaxe</h2>
+## Syntaxe
-<pre class="brush: js">var yPos = DOMPoint.y;</pre>
+```js
+var yPos = DOMPoint.y;
+```
-<h3 id="Specification">Valeur</h3>
+### Valeur
-<p>Un double.</p>
+Un double.
-<h2 id="Specification">Spécifications</h2>
+## Spécifications
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">Spécification</th>
- <th scope="col">Statut</th>
- <th scope="col">Commentaire</th>
- </tr>
- <tr>
- <td>{{SpecName('Geometry Interfaces', '#dom-dompointreadonly-y', 'y')}}</td>
- <td>{{Spec2('Geometry Interfaces')}}</td>
- <td>La dernière version de la spécification est un ED.</td>
- </tr>
- </tbody>
-</table>
+| Spécification | Statut | Commentaire |
+| ---------------------------------------------------------------------------------------- | -------------------------------------------- | -------------------------------------------------- |
+| {{SpecName('Geometry Interfaces', '#dom-dompointreadonly-y', 'y')}} | {{Spec2('Geometry Interfaces')}} | La dernière version de la spécification est un ED. |
-<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2>
+## Compatibilité des navigateurs
-<p>{{Compat("api.DOMPointReadOnly.y")}}</p>
+{{Compat("api.DOMPointReadOnly.y")}}
-<h2 id="Voir_aussi">Voir aussi</h2>
+## Voir aussi
-<ul>
- <li>{{domxref("DOMPoint")}}</li>
-</ul>
+- {{domxref("DOMPoint")}}
diff --git a/files/fr/web/api/dompointreadonly/z/index.md b/files/fr/web/api/dompointreadonly/z/index.md
index 3befe72ac8..eeeee1c153 100644
--- a/files/fr/web/api/dompointreadonly/z/index.md
+++ b/files/fr/web/api/dompointreadonly/z/index.md
@@ -12,43 +12,32 @@ tags:
- z
translation_of: Web/API/DOMPointReadOnly/z
---
-<p>{{APIRef("DOM")}}{{ SeeCompatTable() }}</p>
+{{APIRef("DOM")}}{{ SeeCompatTable() }}
-<p>La propriété en lecture seule <code><strong>z</strong></code> de l'interface <strong><code>DOMPointReadOnly</code></strong> représente la coordonnée z d'un point.</p>
+La propriété en lecture seule **`z`** de l'interface **`DOMPointReadOnly`** représente la coordonnée z d'un point.
-<p>En général, z positif signifie vers l'extérieur de l'écran (autrement dit, opposée à la direction de l'utilisateur) et négatif vers l'intérieur de l'écran (dans la même direction que l'utilisateur).</p>
+En général, z positif signifie vers l'extérieur de l'écran (autrement dit, opposée à la direction de l'utilisateur) et négatif vers l'intérieur de l'écran (dans la même direction que l'utilisateur).
-<h2 id="Syntaxe">Syntaxe</h2>
+## Syntaxe
-<pre class="brush: js">var zPos = DOMPoint.z;</pre>
+```js
+var zPos = DOMPoint.z;
+```
-<h3 id="Specification">Valeur</h3>
+### Valeur
-<p>Un double.</p>
+Un double.
-<h2 id="Specification">Spécifications</h2>
+## Spécifications
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">Spécification</th>
- <th scope="col">Statut</th>
- <th scope="col">Commentaire</th>
- </tr>
- <tr>
- <td>{{SpecName('Geometry Interfaces', '#dom-dompointreadonly-z', 'z')}}</td>
- <td>{{Spec2('Geometry Interfaces')}}</td>
- <td>La dernière version de la spécification est un ED.</td>
- </tr>
- </tbody>
-</table>
+| Spécification | Statut | Commentaire |
+| ---------------------------------------------------------------------------------------- | -------------------------------------------- | -------------------------------------------------- |
+| {{SpecName('Geometry Interfaces', '#dom-dompointreadonly-z', 'z')}} | {{Spec2('Geometry Interfaces')}} | La dernière version de la spécification est un ED. |
-<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2>
+## Compatibilité des navigateurs
-<p>{{Compat("api.DOMPointReadOnly.z")}}</p>
+{{Compat("api.DOMPointReadOnly.z")}}
-<h2 id="Voir_aussi">Voir aussi</h2>
+## Voir aussi
-<ul>
- <li>{{domxref("DOMPoint")}}</li>
-</ul>
+- {{domxref("DOMPoint")}}