--- 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>{{Compat("api.DOMRectReadOnly.y")}}</p> <h2 id="Voir_aussi">Voir aussi</h2> <ul> <li>{{domxref("DOMRect")}}</li> </ul>