--- 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 ---
{{APIRef("DOM")}}{{ SeeCompatTable() }}
La propriété en lecture seule height
de l'interface of the DOMRectReadOnly
représente la hauteur du DOMRect
.
var recHeight = DOMRect.height;
Un double.
Spécification | Statut | Commentaire |
---|---|---|
{{SpecName('Geometry Interfaces', '#dom-domrectreadonly-height', 'height')}} | {{Spec2('Geometry Interfaces')}} | La dernière version de la spécification est un ED. |
{{ CompatibilityTable() }}
Fonctionnalité | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support | {{CompatNo}} |
{{CompatVersionUnknown}} |
{{ CompatNo }} |
{{ CompatNo }} |
{{ CompatNo }} |
Fonctionnalité | Android | Firefox Mobile (Gecko) | Firefox OS (Gecko) | IE Phone | Opera Mobile | Safari Mobile | Chrome for Android |
---|---|---|---|---|---|---|---|
Basic support | {{ CompatNo }} | {{CompatVersionUnknown}} | {{ CompatNo }} | {{ CompatNo }} | {{ CompatNo }} | {{ CompatNo }} | {{ CompatNo }} |