aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/document/clear/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja/web/api/document/clear/index.html')
-rw-r--r--files/ja/web/api/document/clear/index.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/files/ja/web/api/document/clear/index.html b/files/ja/web/api/document/clear/index.html
new file mode 100644
index 0000000000..e1215f9569
--- /dev/null
+++ b/files/ja/web/api/document/clear/index.html
@@ -0,0 +1,33 @@
+---
+title: Document.clear()
+slug: Web/API/Document/clear
+tags:
+ - DOM
+ - DOM_0
+ - Document
+ - Gecko
+ - HTML5
+translation_of: Web/API/Document/clear
+---
+<div>{{APIRef("DOM")}}{{ Deprecated_header() }}</div>
+
+<p><code><strong>Document.clear()</strong></code> メソッドは指定された文書全体を消去するもので、初期 (1.0 以前) の Mozilla アプリケーションにありました。</p>
+
+<p>近年のバージョンの Mozilla ベースアプリケーションでも、 Internet Explorer や Netscape 4 でも、このメソッドは何も行いません。</p>
+
+<h2 id="Syntax" name="Syntax">構文</h2>
+
+<pre class="syntaxbox">document.clear();
+</pre>
+
+<h2 id="Specification" name="Specification">仕様書</h2>
+
+<ul>
+ <li><a href="http://www.whatwg.org/html/#dom-document-clear" title="http://www.whatwg.org/html/#dom-document-clear">HTML5</a></li>
+</ul>
+
+<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの対応</h2>
+
+<div class="hidden">このページの互換性一覧表は構造化データから生成されています。データに協力していただけるのであれば、 <a class="external" href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> をチェックアウトしてプルリクエストを送信してください。</div>
+
+<div>{{Compat("api.Document.clear")}}</div>