From c05efa8d7ae464235cf83d7c0956e42dc6974103 Mon Sep 17 00:00:00 2001 From: julieng Date: Sat, 2 Oct 2021 17:20:14 +0200 Subject: move *.html to *.md --- .../fr/web/api/window/devicepixelratio/index.html | 45 ---------------------- files/fr/web/api/window/devicepixelratio/index.md | 45 ++++++++++++++++++++++ 2 files changed, 45 insertions(+), 45 deletions(-) delete mode 100644 files/fr/web/api/window/devicepixelratio/index.html create mode 100644 files/fr/web/api/window/devicepixelratio/index.md (limited to 'files/fr/web/api/window/devicepixelratio') diff --git a/files/fr/web/api/window/devicepixelratio/index.html b/files/fr/web/api/window/devicepixelratio/index.html deleted file mode 100644 index f7a9d3a7bf..0000000000 --- a/files/fr/web/api/window/devicepixelratio/index.html +++ /dev/null @@ -1,45 +0,0 @@ ---- -title: Window.devicePixelRatio -slug: Web/API/Window/devicePixelRatio -translation_of: Web/API/Window/devicePixelRatio ---- -

{{APIRef}}

- -

La propriété en lecture seule Window.devicePixelRatio retourne le rapport entre la taille (verticale) d'un pixel physique sur le périphérique d'affichage et la taille d'un pixel indépendant du matériel (abrégé en anglais "dips").

- -

Aucun rappel ni événement ne se déclenche lorsque la valeur change (par exemple, si vous glissez la fenêtre entre deux écrans à densités de pixels différentes).

- -

Syntaxe

- -
valeur = window.devicePixelRatio;
-
- -

Spécifications

- - - - - - - - - - - - - - - - -
SpécificationStatutCommentaire
{{SpecName("CSSOM View", "#dom-window-devicepixelratio", "Window.devicePixelRatio")}}{{Spec2("CSSOM View")}}Définition initiale
- -

Compatibilité des navigateurs

- -

{{Compat("api.Window.devicePixelRatio")}}

- -

Voir aussi

- - diff --git a/files/fr/web/api/window/devicepixelratio/index.md b/files/fr/web/api/window/devicepixelratio/index.md new file mode 100644 index 0000000000..f7a9d3a7bf --- /dev/null +++ b/files/fr/web/api/window/devicepixelratio/index.md @@ -0,0 +1,45 @@ +--- +title: Window.devicePixelRatio +slug: Web/API/Window/devicePixelRatio +translation_of: Web/API/Window/devicePixelRatio +--- +

{{APIRef}}

+ +

La propriété en lecture seule Window.devicePixelRatio retourne le rapport entre la taille (verticale) d'un pixel physique sur le périphérique d'affichage et la taille d'un pixel indépendant du matériel (abrégé en anglais "dips").

+ +

Aucun rappel ni événement ne se déclenche lorsque la valeur change (par exemple, si vous glissez la fenêtre entre deux écrans à densités de pixels différentes).

+ +

Syntaxe

+ +
valeur = window.devicePixelRatio;
+
+ +

Spécifications

+ + + + + + + + + + + + + + + + +
SpécificationStatutCommentaire
{{SpecName("CSSOM View", "#dom-window-devicepixelratio", "Window.devicePixelRatio")}}{{Spec2("CSSOM View")}}Définition initiale
+ +

Compatibilité des navigateurs

+ +

{{Compat("api.Window.devicePixelRatio")}}

+ +

Voir aussi

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