From 1109132f09d75da9a28b649c7677bb6ce07c40c0 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:41:45 -0500 Subject: initial commit --- .../web/api/stylesheet/parentstylesheet/index.html | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 files/es/web/api/stylesheet/parentstylesheet/index.html (limited to 'files/es/web/api/stylesheet/parentstylesheet') diff --git a/files/es/web/api/stylesheet/parentstylesheet/index.html b/files/es/web/api/stylesheet/parentstylesheet/index.html new file mode 100644 index 0000000000..118aedd82a --- /dev/null +++ b/files/es/web/api/stylesheet/parentstylesheet/index.html @@ -0,0 +1,24 @@ +--- +title: Stylesheet.parentStyleSheet +slug: Web/API/StyleSheet/parentStyleSheet +translation_of: Web/API/StyleSheet/parentStyleSheet +--- +

{{ ApiRef() }}

+

Resumen

+

Devuelve la hoja de estilo que incluye a la que está en curso, si existe.

+

Sintaxis

+
objRef = stylesheet.parentStyleSheet
+
+

Ejemplo

+
// encuentra la hoja de estilo de alto nivel
+if (stylesheet.parentStyleSheet) {
+  sheet = stylesheet.parentStyleSheet;
+}
+else
+{ sheet = stylesheet; }
+
+

Notas

+

Esta propiedad devuelve NULL si la hoja de estilo actual es una hoja de estilo de alto nivel o si la inclusión de hojas de estilo no está implementada.

+

Specification

+

parentStyleSheet

+

{{ languages( { "pl": "pl/DOM/stylesheet.parentStyleSheet" } ) }}

-- cgit v1.2.3-54-g00ecf