From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- .../web/api/stylesheet/parentstylesheet/index.html | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 files/fr/web/api/stylesheet/parentstylesheet/index.html (limited to 'files/fr/web/api/stylesheet/parentstylesheet/index.html') diff --git a/files/fr/web/api/stylesheet/parentstylesheet/index.html b/files/fr/web/api/stylesheet/parentstylesheet/index.html new file mode 100644 index 0000000000..8db8ffbff9 --- /dev/null +++ b/files/fr/web/api/stylesheet/parentstylesheet/index.html @@ -0,0 +1,36 @@ +--- +title: StyleSheet.parentStyleSheet +slug: Web/API/StyleSheet/parentStyleSheet +translation_of: Web/API/StyleSheet/parentStyleSheet +--- +
+
{{APIRef ("CSSOM")}}
+
+ +

Résumé

+ +

Renvoie la feuille de style qui inclut celle-ci, le cas échéant.

+ +

Syntaxe

+ +
ObjRef = stylesheet.parentStyleSheet
+
+ +

Exemple

+ +
// trouve la feuille de style de niveau supérieur
+If (stylesheet.parentStyleSheet) {
+    Feuille = stylesheet.parentStyleSheet;
+} autre {
+    Feuille = feuille de style;
+}
+ +

Remarques

+ +

Cette propriété renvoie NULL est la feuille de style actuelle est une feuille de style de haut niveau ou si l'inclusion de la feuille de style n'est pas prise en charge.

+ +

spécification

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