From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/fr/web/api/domrectreadonly/bottom/index.html | 105 ++++++++++++++++++ .../api/domrectreadonly/domrectreadonly/index.html | 122 +++++++++++++++++++++ files/fr/web/api/domrectreadonly/height/index.html | 105 ++++++++++++++++++ files/fr/web/api/domrectreadonly/index.html | 84 ++++++++++++++ files/fr/web/api/domrectreadonly/left/index.html | 105 ++++++++++++++++++ files/fr/web/api/domrectreadonly/right/index.html | 105 ++++++++++++++++++ files/fr/web/api/domrectreadonly/top/index.html | 105 ++++++++++++++++++ files/fr/web/api/domrectreadonly/width/index.html | 105 ++++++++++++++++++ files/fr/web/api/domrectreadonly/x/index.html | 106 ++++++++++++++++++ files/fr/web/api/domrectreadonly/y/index.html | 106 ++++++++++++++++++ 10 files changed, 1048 insertions(+) create mode 100644 files/fr/web/api/domrectreadonly/bottom/index.html create mode 100644 files/fr/web/api/domrectreadonly/domrectreadonly/index.html create mode 100644 files/fr/web/api/domrectreadonly/height/index.html create mode 100644 files/fr/web/api/domrectreadonly/index.html create mode 100644 files/fr/web/api/domrectreadonly/left/index.html create mode 100644 files/fr/web/api/domrectreadonly/right/index.html create mode 100644 files/fr/web/api/domrectreadonly/top/index.html create mode 100644 files/fr/web/api/domrectreadonly/width/index.html create mode 100644 files/fr/web/api/domrectreadonly/x/index.html create mode 100644 files/fr/web/api/domrectreadonly/y/index.html (limited to 'files/fr/web/api/domrectreadonly') 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 +--- +

{{APIRef("DOM")}}{{ SeeCompatTable() }}

+ +

La propriété en lecture seule bottom d'une interface DOMRectReadOnly renvoie la valeur des coordonnées du pied du DOMRect (a la même valeur que y + height (y + hauteur), ou y si height est négative).

+ +

Syntaxe

+ +
var recBottom = DOMRect.bottom;
+ +

Valeur

+ +

Un double.

+ +

Spécifications

+ + + + + + + + + + + + + + +
SpécificationStatutCommentaire
{{SpecName('Geometry Interfaces', '#dom-domrectreadonly-bottom', 'bottom')}}{{Spec2('Geometry Interfaces')}}La dernière version de la spécification est un ED.
+ +

Compatibilité des navigateurs

+ +

{{ CompatibilityTable() }}

+ +
+ + + + + + + + + + + + + + + + + + + +
FonctionnalitéChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatNo}}
+
+  
{{CompatVersionUnknown}}
+  
{{ CompatNo }} +

{{ CompatNo }}

+
{{ CompatNo }}
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FonctionnalitéAndroidFirefox Mobile (Gecko)Firefox OS (Gecko)IE PhoneOpera MobileSafari MobileChrome for Android
Basic support{{ CompatNo }}{{CompatVersionUnknown}}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}
+
+ +

Voir aussi

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

{{APIRef("DOM")}}{{ SeeCompatTable }}

+ +

Le constructeur DOMRectReadOnly() crée un nouvel objet {{domxref("DOMRectReadOnly")}}.

+ +

Syntaxe

+ +
var myDOMRectReadOnly = new DOMRectReadOnly(x, y, width, height);
+ +

Paramètres

+ +
+
x
+
La coordonnée x de l'origine d'un DOMRectReadOnly.
+
y
+
La coordonnée y de l'origine d'un DOMRectReadOnly.
+
width
+
La largeur d'un DOMRectReadOnly.
+
height
+
La hauteur d'un DOMRectReadOnly.
+
+ +

Exemples

+ +

Pour créer un nouveau DOMPoint, vous pouvez exécuter une ligne de code comme celle-ci :

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

Spécifications

+ + + + + + + + + + + + + + +
SpécificationStatutCommentaire
{{SpecName('Geometry Interfaces', '#DOMRect', 'DOMRect()')}}{{Spec2('Geometry Interfaces')}}Définition initiale.
+ +

Compatibilité des navigateurs

+ +

{{ CompatibilityTable }}

+ +
+ + + + + + + + + + + + + + + + + + + + + +
FonctionnalitéChromeFirefox (Gecko)Internet ExplorerEdgeOperaSafari (WebKit)
Basic support{{CompatChrome(57)}}{{CompatNo}}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
FonctionnalitéAndroid WebviewChrome for AndoridFirefox Mobile (Gecko)Firefox OS (Gecko)IE MobileEdge MobileOpera MobileSafari Mobile
Basic support{{CompatUnknown}}{{CompatChrome(57)}}{{CompatUnknown}}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}
+
+ +

Voir aussi

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

{{APIRef("DOM")}}{{ SeeCompatTable() }}

+ +

La propriété en lecture seule height de l'interface of the DOMRectReadOnly représente la hauteur du DOMRect.

+ +

Syntaxe

+ +
var recHeight = DOMRect.height;
+ +

Valeur

+ +

Un double.

+ +

Spécifications

+ + + + + + + + + + + + + + +
SpécificationStatutCommentaire
{{SpecName('Geometry Interfaces', '#dom-domrectreadonly-height', 'height')}}{{Spec2('Geometry Interfaces')}}La dernière version de la spécification est un ED.
+ +

Compatibilité des navigateurs

+ +

{{ CompatibilityTable() }}

+ +
+ + + + + + + + + + + + + + + + + + + +
FonctionnalitéChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatNo}}
+
+  
{{CompatVersionUnknown}}
+  
{{ CompatNo }} +

{{ CompatNo }}

+
{{ CompatNo }}
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FonctionnalitéAndroidFirefox Mobile (Gecko)Firefox OS (Gecko)IE PhoneOpera MobileSafari MobileChrome for Android
Basic support{{ CompatNo }}{{CompatVersionUnknown}}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}
+
+ +

Voir aussi

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

{{draft}}{{APIRef("Geometry Interfaces")}}{{ SeeCompatTable() }}

+ +

L'interface DOMRectReadOnly spécifie les propriétés standard utilisées par {{domxref("DOMRect")}} pour définir un rectangle.

+ +

Constructeur

+ +
+
{{domxref("DOMRectReadOnly.DOMRectReadOnly","DOMRectReadOnly()")}}
+
Défini pour créer un nouvel objet DOMRectReadOnly, mais notez que ce constructeur ne peut pas être appelé par JavaScript tiers: cela renvoie une erreur de type "Constructeur illégal".
+
+ +

Propriétés

+ +
+
+ +
+
{{domxref("DOMRectReadOnly.x")}} {{readonlyInline}}
+
La coordonnée x de l'origine du DOMRect.
+
{{domxref("DOMRectReadOnly.y")}} {{readonlyInline}}
+
La coordonnée y de l'origine du DOMRect.
+
{{domxref("DOMRectReadOnly.width")}} {{readonlyInline}}
+
La largeur du DOMRect.
+
{{domxref("DOMRectReadOnly.height")}} {{readonlyInline}}
+
La hauteur du DOMRect.
+
{{domxref("DOMRectReadOnly.top")}} {{readonlyInline}}
+
Renvoie la valeur de coordonnée supérieur du DOMRect (généralement la même que y).
+
{{domxref("DOMRectReadOnly.right")}} {{readonlyInline}}
+
Renvoie la valeur de coordonnée droite du DOMRect (généralement identique à x + largeur).
+
{{domxref("DOMRectReadOnly.bottom")}} {{readonlyInline}}
+
Renvoie la valeur de coordonnée inférieur du DOMRect (généralement la même que y + hauteur).
+
{{domxref("DOMRectReadOnly.left")}} {{readonlyInline}}
+
Renvoie la valeur de coordonnée gauche du DOMRect (généralement la même que x).
+
+ +

Méthodes

+ +
+
{{domxref("DOMRectReadOnly.fromRect()")}}
+
Crée un nouvel objet DOMRect avec un emplacement et des dimensions donnés.
+
+ +

Spécifications

+ + + + + + + + + + + + + + +
SpécificationStatutCommentaire
{{SpecName('Geometry Interfaces', '#DOMRect', 'DOMRectReadOnly')}}{{Spec2('Geometry Interfaces')}}Définition initiale.
+ +

Compatibilité des navigateurs

+ + + +

{{Compat("api.DOMRectReadOnly")}}

+ +

Voir aussi

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

{{APIRef("DOM")}}{{ SeeCompatTable() }}

+ +

La propriété en lecture seule left de l'interface DOMRectReadOnly renvoie la valeur de la coordonnée gauche du DOMRect (a la même valeur que x, ou x + width (x + largeur) si width est négative).

+ +

Syntaxe

+ +
var recLeft = DOMRect.left;
+ +

Valeur

+ +

Un double.

+ +

Spécifications

+ + + + + + + + + + + + + + +
SpécificationStatutCommentaire
{{SpecName('Geometry Interfaces', '#dom-domrectreadonly-left', 'left')}}{{Spec2('Geometry Interfaces')}}La dernière version de la spécification est un ED.
+ +

Compatibilité des navigateurs

+ +

{{ CompatibilityTable() }}

+ +
+ + + + + + + + + + + + + + + + + + + +
FonctionnalitéChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatNo}}
+
+  
{{CompatVersionUnknown}}
+  
{{ CompatNo }} +

{{ CompatNo }}

+
{{ CompatNo }}
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FonctionnalitéAndroidFirefox Mobile (Gecko)Firefox OS (Gecko)IE PhoneOpera MobileSafari MobileChrome for Android
Basic support{{ CompatNo }}{{CompatVersionUnknown}}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}
+
+ +

Voir aussi

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

{{APIRef("DOM")}}{{ SeeCompatTable() }}

+ +

La propriété en lecture seule right de l'interface DOMRectReadOnly renvoie la valeur de la coordonnée droite du DOMRect. (a la même valeur que x + width (x + largeur), ou x si width est négative).

+ +

Syntaxe

+ +
var recRight = DOMRect.right;
+ +

Valeur

+ +

Un double.

+ +

Spécifications

+ + + + + + + + + + + + + + +
SpécificationStatutCommentaire
{{SpecName('Geometry Interfaces', '#dom-domrectreadonly-right', 'right')}}{{Spec2('Geometry Interfaces')}}La dernière version de la spécification est un ED.
+ +

Compatibilité des navigateurs

+ +

{{ CompatibilityTable() }}

+ +
+ + + + + + + + + + + + + + + + + + + +
FonctionnalitéChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatNo}}
+
+  
{{CompatVersionUnknown}}
+  
{{ CompatNo }} +

{{ CompatNo }}

+
{{ CompatNo }}
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FonctionnalitéAndroidFirefox Mobile (Gecko)Firefox OS (Gecko)IE PhoneOpera MobileSafari MobileChrome for Android
Basic support{{ CompatNo }}{{CompatVersionUnknown}}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}
+
+ +

Voir aussi

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

{{APIRef("DOM")}}{{ SeeCompatTable() }}

+ +

La propriété en lecture seule top de l'interface DOMRectReadOnly renvoie la valeur de la coordonnée haute du DOMRect. (A la même valeur que y, ou y + height (y + hauteur) si height est négative.)

+ +

Syntaxe

+ +
var recTop = DOMRect.top;
+ +

Valeur

+ +

Un double.

+ +

Spécifications

+ + + + + + + + + + + + + + +
SpécificationStatutCommentaire
{{SpecName('Geometry Interfaces', '#dom-domrectreadonly-top', 'top')}}{{Spec2('Geometry Interfaces')}}La dernière version de la spécification est un ED.
+ +

Compatibilité des navigateurs

+ +

{{ CompatibilityTable() }}

+ +
+ + + + + + + + + + + + + + + + + + + +
FonctionnalitéChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatNo}}
+
+  
{{CompatVersionUnknown}}
+  
{{ CompatNo }} +

{{ CompatNo }}

+
{{ CompatNo }}
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FonctionnalitéAndroidFirefox Mobile (Gecko)Firefox OS (Gecko)IE PhoneOpera MobileSafari MobileChrome for Android
Basic support{{ CompatNo }}{{CompatVersionUnknown}}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}
+
+ +

Voir aussi

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

{{APIRef("DOM")}}{{ SeeCompatTable() }}

+ +

La propriété en lecture seule width de l'interface DOMRectReadOnly représente la largeur du DOMRect.

+ +

Syntaxe

+ +
var recWidth = DOMRect.width;
+ +

Valeur

+ +

Un double.

+ +

Spécifications

+ + + + + + + + + + + + + + +
SpecificationStatusComment
{{SpecName('Geometry Interfaces', '#dom-domrectreadonly-width', 'width')}}{{Spec2('Geometry Interfaces')}}La dernière version de la spécification est un ED.
+ +

Compatibilité des navigateurs

+ +

{{ CompatibilityTable() }}

+ +
+ + + + + + + + + + + + + + + + + + + +
FonctionnalitéChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatNo}}
+
+  
{{CompatVersionUnknown}}
+  
{{ CompatNo }} +

{{ CompatNo }}

+
{{ CompatNo }}
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FonctionnalitéAndroidFirefox Mobile (Gecko)Firefox OS (Gecko)IE PhoneOpera MobileSafari MobileChrome for Android
Basic support{{ CompatNo }}{{CompatVersionUnknown}}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}
+
+ +

Voir aussi

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

{{APIRef("DOM")}}{{ SeeCompatTable() }}

+ +

La propriété en lecture seule x de l'interface DOMRectReadOnly représente la coordonnée x d' l'origine du DOMRect.

+ +

Syntaxe

+ +
var recX = DOMRect.x;
+ +

Valeur

+ +

Un double.

+ +

Spécifications

+ + + + + + + + + + + + + + +
SpécificationStatutCommentaire
{{SpecName('Geometry Interfaces', '#dom-domrectreadonly-x', 'x')}}{{Spec2('Geometry Interfaces')}}La dernière version de la spécification est un ED.
+ +

Compatibilité des navigateurs

+ +

{{ CompatibilityTable() }}

+ +
+ + + + + + + + + + + + + + + + + + + +
FonctionnalitéChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatNo}}
+
+  
{{CompatVersionUnknown}}
+  
{{ CompatNo }} +

{{ CompatNo }}

+
{{ CompatNo }}
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FonctionnalitéAndroidFirefox Mobile (Gecko)Firefox OS (Gecko)IE PhoneOpera MobileSafari MobileChrome for Android
Basic support{{ CompatNo }}{{CompatVersionUnknown}}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}
+
+ +

Voir aussi

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

{{APIRef("DOM")}}{{ SeeCompatTable() }}

+ +

La propriété en lecture seule y de l'interface DOMRectReadOnly représente la coordonnée y de l'origine du DOMRect.

+ +

Syntaxe

+ +
var recY = DOMRect.y;
+ +

Valeur

+ +

Un double.

+ +

Spécifications

+ + + + + + + + + + + + + + +
SpécificationStatutCommentaire
{{SpecName('Geometry Interfaces', '#dom-domrectreadonly-y', 'y')}}{{Spec2('Geometry Interfaces')}}La dernière version de la spécification est un ED.
+ +

Compatibilité des navigateurs

+ +

{{ CompatibilityTable() }}

+ +
+ + + + + + + + + + + + + + + + + + + +
FonctionnalitéChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatNo}}
+
+  
{{CompatVersionUnknown}}
+  
{{ CompatNo }} +

{{ CompatNo }}

+
{{ CompatNo }}
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + +
FonctionnalitéAndroidFirefox Mobile (Gecko)Firefox OS (Gecko)IE PhoneOpera MobileSafari MobileChrome for Android
Basic support{{ CompatNo }}{{CompatVersionUnknown}}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}{{ CompatNo }}
+
+ +

Voir aussi

+ + -- cgit v1.2.3-54-g00ecf