aboutsummaryrefslogtreecommitdiff
path: root/files/es/web/api/htmlelement
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2021-07-15 12:59:34 -0400
committerGitHub <noreply@github.com>2021-07-15 12:59:34 -0400
commit3601b7bb982e958927e069715cfe07430bce7196 (patch)
treed305ecdbf80ce8126386a0d7886f70d915277c7c /files/es/web/api/htmlelement
parent9ace67d06f2369e3c770e3a11e06e1c8cc9f66fd (diff)
downloadtranslated-content-3601b7bb982e958927e069715cfe07430bce7196.tar.gz
translated-content-3601b7bb982e958927e069715cfe07430bce7196.tar.bz2
translated-content-3601b7bb982e958927e069715cfe07430bce7196.zip
delete pages that were never translated from en-US (es, part 1) (#1547)
Diffstat (limited to 'files/es/web/api/htmlelement')
-rw-r--r--files/es/web/api/htmlelement/innertext/index.html84
1 files changed, 0 insertions, 84 deletions
diff --git a/files/es/web/api/htmlelement/innertext/index.html b/files/es/web/api/htmlelement/innertext/index.html
deleted file mode 100644
index 403f3c0bc1..0000000000
--- a/files/es/web/api/htmlelement/innertext/index.html
+++ /dev/null
@@ -1,84 +0,0 @@
----
-title: HTMLElement.innerText
-slug: Web/API/HTMLElement/innerText
-translation_of: Web/API/HTMLElement/innerText
----
-<div>{{APIRef("HTML DOM")}}</div>
-
-<p><span class="seoSummary">The <code><strong>innerText</strong></code> property of the {{domxref("HTMLElement")}} interface represents the "rendered" text content of a node and its descendants.</span> As a getter, it approximates the text the user would get if they highlighted the contents of the element with the cursor and then copied it to the clipboard.</p>
-
-<div class="blockIndicator note">
-<p><strong>Note:</strong> <code>innerText</code> is easily confused with {{domxref("Node.textContent")}}, but there are important differences between the two. Basically, <code>innerText</code> is aware of the rendered appearance of text, while <code>textContent</code> is not.</p>
-</div>
-
-<h2 id="Syntax">Syntax</h2>
-
-<pre class="syntaxbox notranslate">const <em>renderedText</em> = <em>htmlElement</em>.innerText
-<em>htmlElement</em>.innerText = <em>string</em></pre>
-
-<h3 id="Value">Value</h3>
-
-<p>A {{domxref("DOMString")}} representing the rendered text content of an element. If the element itself is not <a href="https://html.spec.whatwg.org/multipage/rendering.html#being-rendered">being rendered</a> (e.g detached from the document or is hidden from view), the returned value is the same as the {{domxref("Node.textContent")}} property.</p>
-
-<h2 id="Example">Example</h2>
-
-<p>This example compares <code>innerText</code> with {{domxref("Node.textContent")}}. Note how <code>innerText</code> is aware of things like {{htmlElement("br")}} elements, and ignores hidden elements.</p>
-
-<h3 id="HTML">HTML</h3>
-
-<pre class="brush: html notranslate">&lt;h3&gt;Source element:&lt;/h3&gt;
-&lt;p id="source"&gt;
- &lt;style&gt;#source { color: red; }&lt;/style&gt;
-Take a look at&lt;br&gt;how this text&lt;br&gt;is interpreted
- below.
- &lt;span style="display:none"&gt;HIDDEN TEXT&lt;/span&gt;
-&lt;/p&gt;
-&lt;h3&gt;Result of textContent:&lt;/h3&gt;
-&lt;textarea id="textContentOutput" rows="6" cols="30" readonly&gt;...&lt;/textarea&gt;
-&lt;h3&gt;Result of innerText:&lt;/h3&gt;
-&lt;textarea id="innerTextOutput" rows="6" cols="30" readonly&gt;...&lt;/textarea&gt;</pre>
-
-<h3 id="JavaScript">JavaScript</h3>
-
-<pre class="brush: js notranslate">const source = document.getElementById('source');
-const textContentOutput = document.getElementById('textContentOutput');
-const innerTextOutput = document.getElementById('innerTextOutput');
-
-textContentOutput.innerHTML = source.textContent;
-innerTextOutput.innerHTML = source.innerText;</pre>
-
-<h3 id="Result">Result</h3>
-
-<p>{{EmbedLiveSample("Example", 700, 450)}}</p>
-
-<h2 id="Specification">Specification</h2>
-
-<table class="standard-table">
- <thead>
- <tr>
- <th scope="col">Specification</th>
- <th scope="col">Status</th>
- <th scope="col">Comment</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>{{SpecName('HTML WHATWG', 'dom.html#the-innertext-idl-attribute', 'innerText')}}</td>
- <td>{{Spec2('HTML WHATWG')}}</td>
- <td>Introduced, based on the <a href="https://github.com/rocallahan/innerText-spec">draft of the innerText specification</a>. See <a href="https://github.com/whatwg/html/issues/465">whatwg/html#465</a> and <a href="https://github.com/whatwg/compat/issues/5">whatwg/compat#5</a> for history.</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Browser_compatibility">Browser compatibility</h2>
-
-
-
-<p>{{Compat("api.HTMLElement.innerText")}}</p>
-
-<h2 id="See_also">See also</h2>
-
-<ul>
- <li>{{domxref("HTMLElement.outerText")}}</li>
- <li>{{domxref("Element.innerHTML")}}</li>
-</ul>