diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:40:17 -0500 |
commit | 33058f2b292b3a581333bdfb21b8f671898c5060 (patch) | |
tree | 51c3e392513ec574331b2d3f85c394445ea803c6 /files/fr/web/api/domrectreadonly | |
parent | 8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff) | |
download | translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2 translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip |
initial commit
Diffstat (limited to 'files/fr/web/api/domrectreadonly')
-rw-r--r-- | files/fr/web/api/domrectreadonly/bottom/index.html | 105 | ||||
-rw-r--r-- | files/fr/web/api/domrectreadonly/domrectreadonly/index.html | 122 | ||||
-rw-r--r-- | files/fr/web/api/domrectreadonly/height/index.html | 105 | ||||
-rw-r--r-- | files/fr/web/api/domrectreadonly/index.html | 84 | ||||
-rw-r--r-- | files/fr/web/api/domrectreadonly/left/index.html | 105 | ||||
-rw-r--r-- | files/fr/web/api/domrectreadonly/right/index.html | 105 | ||||
-rw-r--r-- | files/fr/web/api/domrectreadonly/top/index.html | 105 | ||||
-rw-r--r-- | files/fr/web/api/domrectreadonly/width/index.html | 105 | ||||
-rw-r--r-- | files/fr/web/api/domrectreadonly/x/index.html | 106 | ||||
-rw-r--r-- | files/fr/web/api/domrectreadonly/y/index.html | 106 |
10 files changed, 1048 insertions, 0 deletions
diff --git a/files/fr/web/api/domrectreadonly/bottom/index.html b/files/fr/web/api/domrectreadonly/bottom/index.html new file mode 100644 index 0000000000..25b0e2baf6 --- /dev/null +++ b/files/fr/web/api/domrectreadonly/bottom/index.html @@ -0,0 +1,105 @@ +--- +title: DOMRectReadOnly.bottom +slug: Web/API/DOMRectReadOnly/bottom +tags: + - API + - Bas + - DOM + - Géométrie + - Propriétés + - Rectangle +translation_of: Web/API/DOMRectReadOnly/bottom +--- +<p>{{APIRef("DOM")}}{{ SeeCompatTable() }}</p> + +<p>La propriété en lecture seule <code><strong>bottom</strong></code> d'une interface <strong><code>DOMRectReadOnly</code></strong> renvoie la valeur des coordonnées du pied du <code>DOMRect</code> (a la même valeur que <code>y + height</code> <em>(y + hauteur)</em>, ou <code>y</code> si <code>height</code> est négative).</p> + +<h2 id="Syntaxe">Syntaxe</h2> + +<pre class="brush: js">var recBottom = DOMRect.bottom;</pre> + +<h3 id="Specification" name="Specification">Valeur</h3> + +<p>Un double.</p> + +<h2 id="Specification" name="Specification">Spécifications</h2> + +<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-domrectreadonly-bottom', 'bottom')}}</td> + <td>{{Spec2('Geometry Interfaces')}}</td> + <td>La dernière version de la spécification est un ED.</td> + </tr> + </tbody> +</table> + +<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> + +<p>{{ CompatibilityTable() }}</p> + +<div id="compat-desktop"> +<table class="compat-table"> + <tbody> + <tr> + <th>Fonctionnalité</th> + <th>Chrome</th> + <th>Firefox (Gecko)</th> + <th>Internet Explorer</th> + <th>Opera</th> + <th>Safari (WebKit)</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{CompatNo}}<br> + <br> + </td> + <td>{{CompatVersionUnknown}}<br> + </td> + <td>{{ CompatNo }}</td> + <td> + <p>{{ CompatNo }}</p> + </td> + <td>{{ CompatNo }}</td> + </tr> + </tbody> +</table> +</div> + +<div id="compat-mobile"> +<table class="compat-table"> + <tbody> + <tr> + <th>Fonctionnalité</th> + <th>Android</th> + <th>Firefox Mobile (Gecko)</th> + <th>Firefox OS (Gecko)</th> + <th>IE Phone</th> + <th>Opera Mobile</th> + <th>Safari Mobile</th> + <th>Chrome for Android</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{ CompatNo }}</td> + <td>{{CompatVersionUnknown}}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + </tr> + </tbody> +</table> +</div> + +<h2 id="Voir_aussi">Voir aussi</h2> + +<ul> + <li>{{domxref("DOMRect")}}</li> +</ul> diff --git a/files/fr/web/api/domrectreadonly/domrectreadonly/index.html b/files/fr/web/api/domrectreadonly/domrectreadonly/index.html new file mode 100644 index 0000000000..dbbc58d738 --- /dev/null +++ b/files/fr/web/api/domrectreadonly/domrectreadonly/index.html @@ -0,0 +1,122 @@ +--- +title: DOMRectReadOnly() +slug: Web/API/DOMRectReadOnly/DOMRectReadOnly +tags: + - API + - Constructeurs + - DOM + - Géométrie + - Rectangle +translation_of: Web/API/DOMRectReadOnly/DOMRectReadOnly +--- +<p>{{APIRef("DOM")}}{{ SeeCompatTable }}</p> + +<p>Le constructeur <strong><code>DOMRectReadOnly()</code></strong> crée un nouvel objet {{domxref("DOMRectReadOnly")}}.</p> + +<h2 id="Syntaxe">Syntaxe</h2> + +<pre class="syntaxbox">var myDOMRectReadOnly = new DOMRectReadOnly(x, y, width, height);</pre> + +<h3 id="Paramètres">Paramètres</h3> + +<dl> + <dt>x</dt> + <dd>La coordonnée <code>x</code> de l'origine d'un <code>DOMRectReadOnly</code>.</dd> + <dt>y</dt> + <dd>La coordonnée <code>y</code> de l'origine d'un <code>DOMRectReadOnly</code>.</dd> + <dt>width</dt> + <dd>La largeur d'un <code>DOMRectReadOnly</code>.</dd> + <dt>height</dt> + <dd>La hauteur d'un <code>DOMRectReadOnly</code>.</dd> +</dl> + +<h2 id="Exemples">Exemples</h2> + +<p>Pour créer un nouveau <code>DOMPoint</code>, vous pouvez exécuter une ligne de code comme celle-ci :</p> + +<pre class="brush: js">myDOMRect = new DOMRectReadOnly(0,0,100,100); +// l'exécution de 'myDOMRect' dans la console devrait alors renvoyer +// DOMRect { x: 0, y: 0, width: 100, height: 100, top: 0, right: 100, bottom: 100, left: 0 } +</pre> + +<h2 id="Spécifications">Spécifications</h2> + +<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', '#DOMRect', 'DOMRect()')}}</td> + <td>{{Spec2('Geometry Interfaces')}}</td> + <td>Définition initiale.</td> + </tr> + </tbody> +</table> + +<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> + +<p>{{ CompatibilityTable }}</p> + +<div id="compat-desktop"> +<table class="compat-table"> + <tbody> + <tr> + <th>Fonctionnalité</th> + <th>Chrome</th> + <th>Firefox (Gecko)</th> + <th>Internet Explorer</th> + <th>Edge</th> + <th>Opera</th> + <th>Safari (WebKit)</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{CompatChrome(57)}}</td> + <td>{{CompatNo}}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + </tr> + </tbody> +</table> +</div> + +<div id="compat-mobile"> +<table class="compat-table"> + <tbody> + <tr> + <th>Fonctionnalité</th> + <th>Android Webview</th> + <th>Chrome for Andorid</th> + <th>Firefox Mobile (Gecko)</th> + <th>Firefox OS (Gecko)</th> + <th>IE Mobile</th> + <th>Edge Mobile</th> + <th>Opera Mobile</th> + <th>Safari Mobile</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{CompatUnknown}}</td> + <td>{{CompatChrome(57)}}</td> + <td>{{CompatUnknown}}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + </tr> + </tbody> +</table> +</div> + +<h2 id="Voir_aussi">Voir aussi</h2> + +<ul> + <li>{{domxref("DOMPoint")}}</li> + <li>{{domxref("DOMRect")}}</li> +</ul> diff --git a/files/fr/web/api/domrectreadonly/height/index.html b/files/fr/web/api/domrectreadonly/height/index.html new file mode 100644 index 0000000000..56e8940710 --- /dev/null +++ b/files/fr/web/api/domrectreadonly/height/index.html @@ -0,0 +1,105 @@ +--- +title: DOMRectReadOnly.height +slug: Web/API/DOMRectReadOnly/height +tags: + - API + - DOM + - Géométrie + - Hauteur + - Propriétés + - Rectangle +translation_of: Web/API/DOMRectReadOnly/height +--- +<p>{{APIRef("DOM")}}{{ SeeCompatTable() }}</p> + +<p>La propriété en lecture seule <strong><code>height</code></strong> de l'interface of the <strong><code>DOMRectReadOnly</code></strong> représente la hauteur du <code>DOMRect</code>.</p> + +<h2 id="Syntaxe">Syntaxe</h2> + +<pre class="brush: js">var recHeight = DOMRect.height;</pre> + +<h3 id="Specification" name="Specification">Valeur</h3> + +<p>Un double.</p> + +<h2 id="Specification" name="Specification">Spécifications</h2> + +<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-domrectreadonly-height', 'height')}}</td> + <td>{{Spec2('Geometry Interfaces')}}</td> + <td>La dernière version de la spécification est un ED.</td> + </tr> + </tbody> +</table> + +<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> + +<p>{{ CompatibilityTable() }}</p> + +<div id="compat-desktop"> +<table class="compat-table"> + <tbody> + <tr> + <th>Fonctionnalité</th> + <th>Chrome</th> + <th>Firefox (Gecko)</th> + <th>Internet Explorer</th> + <th>Opera</th> + <th>Safari (WebKit)</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{CompatNo}}<br> + <br> + </td> + <td>{{CompatVersionUnknown}}<br> + </td> + <td>{{ CompatNo }}</td> + <td> + <p>{{ CompatNo }}</p> + </td> + <td>{{ CompatNo }}</td> + </tr> + </tbody> +</table> +</div> + +<div id="compat-mobile"> +<table class="compat-table"> + <tbody> + <tr> + <th>Fonctionnalité</th> + <th>Android</th> + <th>Firefox Mobile (Gecko)</th> + <th>Firefox OS (Gecko)</th> + <th>IE Phone</th> + <th>Opera Mobile</th> + <th>Safari Mobile</th> + <th>Chrome for Android</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{ CompatNo }}</td> + <td>{{CompatVersionUnknown}}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + </tr> + </tbody> +</table> +</div> + +<h2 id="Voir_aussi">Voir aussi</h2> + +<ul> + <li>{{domxref("DOMRect")}}</li> +</ul> diff --git a/files/fr/web/api/domrectreadonly/index.html b/files/fr/web/api/domrectreadonly/index.html new file mode 100644 index 0000000000..ca5100b338 --- /dev/null +++ b/files/fr/web/api/domrectreadonly/index.html @@ -0,0 +1,84 @@ +--- +title: DOMRectReadOnly +slug: Web/API/DOMRectReadOnly +tags: + - API + - DOM Reference + - DOMRectReadOnly + - Experimental + - Geometry + - Rectangle + - Reference + - TopicStub +translation_of: Web/API/DOMRectReadOnly +--- +<p>{{draft}}{{APIRef("Geometry Interfaces")}}{{ SeeCompatTable() }}</p> + +<p>L'interface <strong><code>DOMRectReadOnly</code></strong> spécifie les propriétés standard utilisées par {{domxref("DOMRect")}} pour définir un rectangle.</p> + +<h2 id="Constructeur">Constructeur</h2> + +<dl> + <dt>{{domxref("DOMRectReadOnly.DOMRectReadOnly","DOMRectReadOnly()")}}</dt> + <dd>Défini pour créer un nouvel objet <code>DOMRectReadOnly</code>, mais notez que ce constructeur ne peut pas être appelé par JavaScript tiers: cela renvoie une erreur de type "Constructeur illégal".</dd> +</dl> + +<h2 id="Propriétés">Propriétés</h2> + +<dl> +</dl> + +<dl> + <dt>{{domxref("DOMRectReadOnly.x")}} {{readonlyInline}}</dt> + <dd>La coordonnée x de l'origine du <code>DOMRect</code>.</dd> + <dt>{{domxref("DOMRectReadOnly.y")}} {{readonlyInline}}</dt> + <dd>La coordonnée y de l'origine du <code>DOMRect</code>.</dd> + <dt>{{domxref("DOMRectReadOnly.width")}} {{readonlyInline}}</dt> + <dd>La largeur du <code>DOMRect</code>.</dd> + <dt>{{domxref("DOMRectReadOnly.height")}} {{readonlyInline}}</dt> + <dd>La hauteur du <code>DOMRect</code>.</dd> + <dt>{{domxref("DOMRectReadOnly.top")}} {{readonlyInline}}</dt> + <dd>Renvoie la valeur de coordonnée supérieur du <code>DOMRect</code> (généralement la même que <code>y</code>).</dd> + <dt>{{domxref("DOMRectReadOnly.right")}} {{readonlyInline}}</dt> + <dd>Renvoie la valeur de coordonnée droite du <code>DOMRect</code> (généralement identique à <code>x + largeur</code>).</dd> + <dt>{{domxref("DOMRectReadOnly.bottom")}} {{readonlyInline}}</dt> + <dd>Renvoie la valeur de coordonnée inférieur du <code>DOMRect</code> (généralement la même que <code>y + hauteur</code>).</dd> + <dt>{{domxref("DOMRectReadOnly.left")}} {{readonlyInline}}</dt> + <dd>Renvoie la valeur de coordonnée gauche du <code>DOMRect</code> (généralement la même que <code>x</code>).</dd> +</dl> + +<h2 id="Méthodes">Méthodes</h2> + +<dl> + <dt>{{domxref("DOMRectReadOnly.fromRect()")}}</dt> + <dd>Crée un nouvel objet <code>DOMRect</code> avec un emplacement et des dimensions donnés.</dd> +</dl> + +<h2 id="Specification" name="Specification">Spécifications</h2> + +<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', '#DOMRect', 'DOMRectReadOnly')}}</td> + <td>{{Spec2('Geometry Interfaces')}}</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 est généré à partir de données structurées. Si vous souhaitez contribuer aux données, veuillez consulter <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> et envoyez-nous une pull request.</div> + +<p>{{Compat("api.DOMRectReadOnly")}}</p> + +<h2 id="Voir_aussi">Voir aussi</h2> + +<ul> + <li>{{domxref("DOMPoint")}}</li> +</ul> diff --git a/files/fr/web/api/domrectreadonly/left/index.html b/files/fr/web/api/domrectreadonly/left/index.html new file mode 100644 index 0000000000..f74b8ec46a --- /dev/null +++ b/files/fr/web/api/domrectreadonly/left/index.html @@ -0,0 +1,105 @@ +--- +title: DOMRectReadOnly.left +slug: Web/API/DOMRectReadOnly/left +tags: + - API + - DOM + - Gauche + - Géométrie + - Propriétés + - Rectangle +translation_of: Web/API/DOMRectReadOnly/left +--- +<p>{{APIRef("DOM")}}{{ SeeCompatTable() }}</p> + +<p>La propriété en lecture seule <code><strong>left</strong></code> de l'interface <strong><code>DOMRectReadOnly</code></strong> renvoie la valeur de la coordonnée gauche du <code>DOMRect</code> (a la même valeur que <code>x</code>, ou <code>x + width</code><em> (x + largeur)</em> si <code>width</code> est négative).</p> + +<h2 id="Syntaxe">Syntaxe</h2> + +<pre class="brush: js">var recLeft = DOMRect.left;</pre> + +<h3 id="Specification" name="Specification">Valeur</h3> + +<p>Un double.</p> + +<h2 id="Specification" name="Specification">Spécifications</h2> + +<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-domrectreadonly-left', 'left')}}</td> + <td>{{Spec2('Geometry Interfaces')}}</td> + <td>La dernière version de la spécification est un ED.</td> + </tr> + </tbody> +</table> + +<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> + +<p>{{ CompatibilityTable() }}</p> + +<div id="compat-desktop"> +<table class="compat-table"> + <tbody> + <tr> + <th>Fonctionnalité</th> + <th>Chrome</th> + <th>Firefox (Gecko)</th> + <th>Internet Explorer</th> + <th>Opera</th> + <th>Safari (WebKit)</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{CompatNo}}<br> + <br> + </td> + <td>{{CompatVersionUnknown}}<br> + </td> + <td>{{ CompatNo }}</td> + <td> + <p>{{ CompatNo }}</p> + </td> + <td>{{ CompatNo }}</td> + </tr> + </tbody> +</table> +</div> + +<div id="compat-mobile"> +<table class="compat-table"> + <tbody> + <tr> + <th>Fonctionnalité</th> + <th>Android</th> + <th>Firefox Mobile (Gecko)</th> + <th>Firefox OS (Gecko)</th> + <th>IE Phone</th> + <th>Opera Mobile</th> + <th>Safari Mobile</th> + <th>Chrome for Android</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{ CompatNo }}</td> + <td>{{CompatVersionUnknown}}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + </tr> + </tbody> +</table> +</div> + +<h2 id="Voir_aussi">Voir aussi</h2> + +<ul> + <li>{{domxref("DOMRect")}}</li> +</ul> diff --git a/files/fr/web/api/domrectreadonly/right/index.html b/files/fr/web/api/domrectreadonly/right/index.html new file mode 100644 index 0000000000..b7ca22e5a4 --- /dev/null +++ b/files/fr/web/api/domrectreadonly/right/index.html @@ -0,0 +1,105 @@ +--- +title: DOMRectReadOnly.right +slug: Web/API/DOMRectReadOnly/right +tags: + - API + - DOM + - Droite + - Géométrie + - Propriétés + - Rectangle +translation_of: Web/API/DOMRectReadOnly/right +--- +<p>{{APIRef("DOM")}}{{ SeeCompatTable() }}</p> + +<p>La propriété en lecture seule <code><strong>right</strong></code> de l'interface <strong><code>DOMRectReadOnly</code></strong> renvoie la valeur de la coordonnée droite du <code>DOMRect.</code> (a la même valeur que <code>x + width</code> <em>(x + largeur)</em>, ou <code>x</code> si <code>width</code> est négative).</p> + +<h2 id="Syntaxe">Syntaxe</h2> + +<pre class="brush: js">var recRight = DOMRect.right;</pre> + +<h3 id="Specification" name="Specification">Valeur</h3> + +<p>Un double.</p> + +<h2 id="Specification" name="Specification">Spécifications</h2> + +<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-domrectreadonly-right', 'right')}}</td> + <td>{{Spec2('Geometry Interfaces')}}</td> + <td>La dernière version de la spécification est un ED.</td> + </tr> + </tbody> +</table> + +<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> + +<p>{{ CompatibilityTable() }}</p> + +<div id="compat-desktop"> +<table class="compat-table"> + <tbody> + <tr> + <th>Fonctionnalité</th> + <th>Chrome</th> + <th>Firefox (Gecko)</th> + <th>Internet Explorer</th> + <th>Opera</th> + <th>Safari (WebKit)</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{CompatNo}}<br> + <br> + </td> + <td>{{CompatVersionUnknown}}<br> + </td> + <td>{{ CompatNo }}</td> + <td> + <p>{{ CompatNo }}</p> + </td> + <td>{{ CompatNo }}</td> + </tr> + </tbody> +</table> +</div> + +<div id="compat-mobile"> +<table class="compat-table"> + <tbody> + <tr> + <th>Fonctionnalité</th> + <th>Android</th> + <th>Firefox Mobile (Gecko)</th> + <th>Firefox OS (Gecko)</th> + <th>IE Phone</th> + <th>Opera Mobile</th> + <th>Safari Mobile</th> + <th>Chrome for Android</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{ CompatNo }}</td> + <td>{{CompatVersionUnknown}}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + </tr> + </tbody> +</table> +</div> + +<h2 id="Voir_aussi">Voir aussi</h2> + +<ul> + <li>{{domxref("DOMRect")}}</li> +</ul> diff --git a/files/fr/web/api/domrectreadonly/top/index.html b/files/fr/web/api/domrectreadonly/top/index.html new file mode 100644 index 0000000000..d34297d82c --- /dev/null +++ b/files/fr/web/api/domrectreadonly/top/index.html @@ -0,0 +1,105 @@ +--- +title: DOMRectReadOnly.top +slug: Web/API/DOMRectReadOnly/top +tags: + - API + - DOM + - Géométrie + - Haut + - Propriétés + - Rectangle +translation_of: Web/API/DOMRectReadOnly/top +--- +<p>{{APIRef("DOM")}}{{ SeeCompatTable() }}</p> + +<p>La propriété en lecture seule <code><strong>top</strong></code> de l'interface <strong><code>DOMRectReadOnly</code></strong> renvoie la valeur de la coordonnée haute du <code>DOMRect.</code> (A la même valeur que <code>y</code>, ou <code>y + height</code> <em>(y + hauteur)</em> si <code>height</code> est négative.)</p> + +<h2 id="Syntaxe">Syntaxe</h2> + +<pre class="brush: js">var recTop = DOMRect.top;</pre> + +<h3 id="Specification" name="Specification">Valeur</h3> + +<p>Un double.</p> + +<h2 id="Specification" name="Specification">Spécifications</h2> + +<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-domrectreadonly-top', 'top')}}</td> + <td>{{Spec2('Geometry Interfaces')}}</td> + <td>La dernière version de la spécification est un ED.</td> + </tr> + </tbody> +</table> + +<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> + +<p>{{ CompatibilityTable() }}</p> + +<div id="compat-desktop"> +<table class="compat-table"> + <tbody> + <tr> + <th>Fonctionnalité</th> + <th>Chrome</th> + <th>Firefox (Gecko)</th> + <th>Internet Explorer</th> + <th>Opera</th> + <th>Safari (WebKit)</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{CompatNo}}<br> + <br> + </td> + <td>{{CompatVersionUnknown}}<br> + </td> + <td>{{ CompatNo }}</td> + <td> + <p>{{ CompatNo }}</p> + </td> + <td>{{ CompatNo }}</td> + </tr> + </tbody> +</table> +</div> + +<div id="compat-mobile"> +<table class="compat-table"> + <tbody> + <tr> + <th>Fonctionnalité</th> + <th>Android</th> + <th>Firefox Mobile (Gecko)</th> + <th>Firefox OS (Gecko)</th> + <th>IE Phone</th> + <th>Opera Mobile</th> + <th>Safari Mobile</th> + <th>Chrome for Android</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{ CompatNo }}</td> + <td>{{CompatVersionUnknown}}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + </tr> + </tbody> +</table> +</div> + +<h2 id="Voir_aussi">Voir aussi</h2> + +<ul> + <li>{{domxref("DOMRect")}}</li> +</ul> diff --git a/files/fr/web/api/domrectreadonly/width/index.html b/files/fr/web/api/domrectreadonly/width/index.html new file mode 100644 index 0000000000..9443cf03cf --- /dev/null +++ b/files/fr/web/api/domrectreadonly/width/index.html @@ -0,0 +1,105 @@ +--- +title: DOMRectReadOnly.width +slug: Web/API/DOMRectReadOnly/width +tags: + - API + - DOM + - Géométrie + - Largeur + - Propriétés + - Rectangle +translation_of: Web/API/DOMRectReadOnly/width +--- +<p>{{APIRef("DOM")}}{{ SeeCompatTable() }}</p> + +<p>La propriété en lecture seule <code><strong>width</strong></code> de l'interface <strong><code>DOMRectReadOnly</code></strong> représente la largeur du <code>DOMRect</code>.</p> + +<h2 id="Syntaxe">Syntaxe</h2> + +<pre class="brush: js">var recWidth = DOMRect.width;</pre> + +<h3 id="Specification" name="Specification">Valeur</h3> + +<p>Un double.</p> + +<h2 id="Specification" name="Specification">Spécifications</h2> + +<table class="standard-table"> + <tbody> + <tr> + <th scope="col">Specification</th> + <th scope="col">Status</th> + <th scope="col">Comment</th> + </tr> + <tr> + <td>{{SpecName('Geometry Interfaces', '#dom-domrectreadonly-width', 'width')}}</td> + <td>{{Spec2('Geometry Interfaces')}}</td> + <td>La dernière version de la spécification est un ED.</td> + </tr> + </tbody> +</table> + +<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> + +<p>{{ CompatibilityTable() }}</p> + +<div id="compat-desktop"> +<table class="compat-table"> + <tbody> + <tr> + <th>Fonctionnalité</th> + <th>Chrome</th> + <th>Firefox (Gecko)</th> + <th>Internet Explorer</th> + <th>Opera</th> + <th>Safari (WebKit)</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{CompatNo}}<br> + <br> + </td> + <td>{{CompatVersionUnknown}}<br> + </td> + <td>{{ CompatNo }}</td> + <td> + <p>{{ CompatNo }}</p> + </td> + <td>{{ CompatNo }}</td> + </tr> + </tbody> +</table> +</div> + +<div id="compat-mobile"> +<table class="compat-table"> + <tbody> + <tr> + <th>Fonctionnalité</th> + <th>Android</th> + <th>Firefox Mobile (Gecko)</th> + <th>Firefox OS (Gecko)</th> + <th>IE Phone</th> + <th>Opera Mobile</th> + <th>Safari Mobile</th> + <th>Chrome for Android</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{ CompatNo }}</td> + <td>{{CompatVersionUnknown}}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + </tr> + </tbody> +</table> +</div> + +<h2 id="Voir_aussi">Voir aussi</h2> + +<ul> + <li>{{domxref("DOMRect")}}</li> +</ul> diff --git a/files/fr/web/api/domrectreadonly/x/index.html b/files/fr/web/api/domrectreadonly/x/index.html new file mode 100644 index 0000000000..b802488dc6 --- /dev/null +++ b/files/fr/web/api/domrectreadonly/x/index.html @@ -0,0 +1,106 @@ +--- +title: DOMRectReadOnly.x +slug: Web/API/DOMRectReadOnly/x +tags: + - API + - Coordonnées + - DOM + - Géométrie + - Propriétés + - Rectangle + - x +translation_of: Web/API/DOMRectReadOnly/x +--- +<p>{{APIRef("DOM")}}{{ SeeCompatTable() }}</p> + +<p>La propriété en lecture seule <code><strong>x</strong></code> de l'interface <strong><code>DOMRectReadOnly</code></strong> représente la coordonnée x d' l'origine du <code>DOMRect</code>.</p> + +<h2 id="Syntaxe">Syntaxe</h2> + +<pre class="brush: js">var recX = DOMRect.x;</pre> + +<h3 id="Specification" name="Specification">Valeur</h3> + +<p>Un double.</p> + +<h2 id="Specification" name="Specification">Spécifications</h2> + +<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-domrectreadonly-x', 'x')}}</td> + <td>{{Spec2('Geometry Interfaces')}}</td> + <td>La dernière version de la spécification est un ED.</td> + </tr> + </tbody> +</table> + +<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> + +<p>{{ CompatibilityTable() }}</p> + +<div id="compat-desktop"> +<table class="compat-table"> + <tbody> + <tr> + <th>Fonctionnalité</th> + <th>Chrome</th> + <th>Firefox (Gecko)</th> + <th>Internet Explorer</th> + <th>Opera</th> + <th>Safari (WebKit)</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{CompatNo}}<br> + <br> + </td> + <td>{{CompatVersionUnknown}}<br> + </td> + <td>{{ CompatNo }}</td> + <td> + <p>{{ CompatNo }}</p> + </td> + <td>{{ CompatNo }}</td> + </tr> + </tbody> +</table> +</div> + +<div id="compat-mobile"> +<table class="compat-table"> + <tbody> + <tr> + <th>Fonctionnalité</th> + <th>Android</th> + <th>Firefox Mobile (Gecko)</th> + <th>Firefox OS (Gecko)</th> + <th>IE Phone</th> + <th>Opera Mobile</th> + <th>Safari Mobile</th> + <th>Chrome for Android</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{ CompatNo }}</td> + <td>{{CompatVersionUnknown}}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + </tr> + </tbody> +</table> +</div> + +<h2 id="Voir_aussi">Voir aussi</h2> + +<ul> + <li>{{domxref("DOMRect")}}</li> +</ul> diff --git a/files/fr/web/api/domrectreadonly/y/index.html b/files/fr/web/api/domrectreadonly/y/index.html new file mode 100644 index 0000000000..9aa00ecaf3 --- /dev/null +++ b/files/fr/web/api/domrectreadonly/y/index.html @@ -0,0 +1,106 @@ +--- +title: DOMRectReadOnly.y +slug: Web/API/DOMRectReadOnly/y +tags: + - API + - Coordonnées + - DOM + - Géométrie + - Propriétés + - Rectangle + - 'y' +translation_of: Web/API/DOMRectReadOnly/y +--- +<p>{{APIRef("DOM")}}{{ SeeCompatTable() }}</p> + +<p>La propriété en lecture seule <code><strong>y</strong></code> de l'interface <strong><code>DOMRectReadOnly</code></strong> représente la coordonnée y de l'origine du <code>DOMRect</code>.</p> + +<h2 id="Syntaxe">Syntaxe</h2> + +<pre class="brush: js">var recY = DOMRect.y;</pre> + +<h3 id="Specification" name="Specification">Valeur</h3> + +<p>Un double.</p> + +<h2 id="Specification" name="Specification">Spécifications</h2> + +<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-domrectreadonly-y', 'y')}}</td> + <td>{{Spec2('Geometry Interfaces')}}</td> + <td>La dernière version de la spécification est un ED.</td> + </tr> + </tbody> +</table> + +<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> + +<p>{{ CompatibilityTable() }}</p> + +<div id="compat-desktop"> +<table class="compat-table"> + <tbody> + <tr> + <th>Fonctionnalité</th> + <th>Chrome</th> + <th>Firefox (Gecko)</th> + <th>Internet Explorer</th> + <th>Opera</th> + <th>Safari (WebKit)</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{CompatNo}}<br> + <br> + </td> + <td>{{CompatVersionUnknown}}<br> + </td> + <td>{{ CompatNo }}</td> + <td> + <p>{{ CompatNo }}</p> + </td> + <td>{{ CompatNo }}</td> + </tr> + </tbody> +</table> +</div> + +<div id="compat-mobile"> +<table class="compat-table"> + <tbody> + <tr> + <th>Fonctionnalité</th> + <th>Android</th> + <th>Firefox Mobile (Gecko)</th> + <th>Firefox OS (Gecko)</th> + <th>IE Phone</th> + <th>Opera Mobile</th> + <th>Safari Mobile</th> + <th>Chrome for Android</th> + </tr> + <tr> + <td>Basic support</td> + <td>{{ CompatNo }}</td> + <td>{{CompatVersionUnknown}}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + <td>{{ CompatNo }}</td> + </tr> + </tbody> +</table> +</div> + +<h2 id="Voir_aussi">Voir aussi</h2> + +<ul> + <li>{{domxref("DOMRect")}}</li> +</ul> |