diff options
author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:41:45 -0500 |
---|---|---|
committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:41:45 -0500 |
commit | 1109132f09d75da9a28b649c7677bb6ce07c40c0 (patch) | |
tree | 0dd8b084480983cf9f9680e8aedb92782a921b13 /files/es/web/api/cssstylerule/selectortext | |
parent | 4b1a9203c547c019fc5398082ae19a3f3d4c3efe (diff) | |
download | translated-content-1109132f09d75da9a28b649c7677bb6ce07c40c0.tar.gz translated-content-1109132f09d75da9a28b649c7677bb6ce07c40c0.tar.bz2 translated-content-1109132f09d75da9a28b649c7677bb6ce07c40c0.zip |
initial commit
Diffstat (limited to 'files/es/web/api/cssstylerule/selectortext')
-rw-r--r-- | files/es/web/api/cssstylerule/selectortext/index.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/files/es/web/api/cssstylerule/selectortext/index.html b/files/es/web/api/cssstylerule/selectortext/index.html new file mode 100644 index 0000000000..56dec42a94 --- /dev/null +++ b/files/es/web/api/cssstylerule/selectortext/index.html @@ -0,0 +1,23 @@ +--- +title: CssRule.selectorText +slug: Web/API/CSSStyleRule/selectorText +translation_of: Web/API/CSSStyleRule/selectorText +--- +<p>{{ ApiRef() }}</p> +<h3 id="Summary" name="Summary">Resumen</h3> +<p><strong>selectorText</strong> recoge/establece la representación en forma de texto, del selector para el grupo de reglas.</p> +<h3 id="Syntax" name="Syntax">Sintaxis</h3> +<pre class="eval"><em>string</em> = cssRule.selectorText +cssRule.selectorText = <em>string</em> +</pre> +<h3 id="Example" name="Example">Ejemplo</h3> +<pre> // for cssrule: body { background-color: darkblue; } + cssrule = document.styleSheets[1] + !!TODO!! + selector = cssrule.selectorText; + // selector is now "body" +</pre> +<h3 id="Notes" name="Notes">Notas</h3> +<p>La implementación puede haber eliminado espacios en blanco no significativos, en el momento de comprobar el selector.</p> +<h3 id="Specification" name="Specification">Especificación</h3> +<p>DOM Level 2 Style - cssRule</p> |