--- 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>