diff options
author | YujiSoftware <yuji.software+github@gmail.com> | 2021-03-30 18:22:36 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-30 18:22:36 +0900 |
commit | 8e33c52f809796c68a683ad343f37ee4e7ce4616 (patch) | |
tree | 8173bf5eaf5c192eb2487efe37c7b74997800898 /files/ja/web/api/window | |
parent | 8ea157f6b6fbef9c60695918c6a6382677e5b5df (diff) | |
download | translated-content-8e33c52f809796c68a683ad343f37ee4e7ce4616.tar.gz translated-content-8e33c52f809796c68a683ad343f37ee4e7ce4616.tar.bz2 translated-content-8e33c52f809796c68a683ad343f37ee4e7ce4616.zip |
Migrate CompatibilityTable to Compat macro (lang-ja) (#356)
* Migrate to Compat macro (ja/mozilla/add-ons/webextensions)
* Migrate to Compat macro (ja/web/api)
Diffstat (limited to 'files/ja/web/api/window')
-rw-r--r-- | files/ja/web/api/window/cancelanimationframe/index.html | 58 | ||||
-rw-r--r-- | files/ja/web/api/window/frameelement/index.html | 48 | ||||
-rw-r--r-- | files/ja/web/api/window/issecurecontext/index.html | 70 | ||||
-rw-r--r-- | files/ja/web/api/window/localstorage/index.html | 67 | ||||
-rw-r--r-- | files/ja/web/api/window/ondeviceproximity/index.html | 50 | ||||
-rw-r--r-- | files/ja/web/api/window/scrollx/index.html | 79 | ||||
-rw-r--r-- | files/ja/web/api/window/self/index.html | 50 | ||||
-rw-r--r-- | files/ja/web/api/window/sessionstorage/index.html | 67 |
8 files changed, 8 insertions, 481 deletions
diff --git a/files/ja/web/api/window/cancelanimationframe/index.html b/files/ja/web/api/window/cancelanimationframe/index.html index 98bea1681c..7076cd8add 100644 --- a/files/ja/web/api/window/cancelanimationframe/index.html +++ b/files/ja/web/api/window/cancelanimationframe/index.html @@ -50,63 +50,7 @@ cancelAnimationFrame(myReq); <h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの実装状況</h2> -<div>{{CompatibilityTable}}</div> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>機能</th> - <th>Chrome</th> - <th>Edge</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>基本サポート</td> - <td>21.0 {{property_prefix("webkit")}}<br> - 24.0</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoDesktop("11.0")}} {{property_prefix("moz")}}<br> - 23.0</td> - <td>10</td> - <td>15.0</td> - <td>6.0 {{property_prefix("webkit")}}<br> - 6.1</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>機能</th> - <th>Android</th> - <th>Chrome for Android</th> - <th>Edge</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>基本サポート</td> - <td>4.4</td> - <td>33</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("11.0")}} {{property_prefix("moz")}}<br> - 23.0</td> - <td>10</td> - <td>33</td> - <td>7.1</td> - </tr> - </tbody> -</table> -</div> +<p>{{Compat("api.Window.cancelAnimationFrame")}}</p> <h2 id="Specification" name="Specification">仕様</h2> diff --git a/files/ja/web/api/window/frameelement/index.html b/files/ja/web/api/window/frameelement/index.html index ab266fa993..77db39f5a3 100644 --- a/files/ja/web/api/window/frameelement/index.html +++ b/files/ja/web/api/window/frameelement/index.html @@ -56,53 +56,7 @@ if (frameEl) { <h2 id="ブラウザー互換性">ブラウザー互換性</h2> -<div>{{CompatibilityTable}}</div> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>機能</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>基本サポート</td> - <td>4?</td> - <td>{{CompatGeckoDesktop("1")}}</td> - <td>5.5?</td> - <td>12.1?</td> - <td>4?</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>機能</th> - <th>Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>基本サポート</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoDesktop("1")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> +<p>{{Compat("api.Window.frameElement")}}</p> <h2 id="関連項目">関連項目</h2> diff --git a/files/ja/web/api/window/issecurecontext/index.html b/files/ja/web/api/window/issecurecontext/index.html index cafa0e3300..7e5fe8045d 100644 --- a/files/ja/web/api/window/issecurecontext/index.html +++ b/files/ja/web/api/window/issecurecontext/index.html @@ -49,75 +49,7 @@ translation_of: Web/API/Window/isSecureContext <h2 id="ブラウザー実装状況">ブラウザー実装状況</h2> -<p>{{CompatibilityTable}}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>機能</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>基本サポート</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoDesktop(49)}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - <tr> - <td><a href="/ja/docs/Web/API/Window/opener">window.opener</a> の考慮</td> - <td>{{CompatNo}}</td> - <td>{{CompatGeckoDesktop(49)}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>機能</th> - <th>Android</th> - <th>Android Webview</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - <th>Chrome for Android</th> - </tr> - <tr> - <td>基本サポート</td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile(49)}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - <tr> - <td><a href="/ja/docs/Web/API/Window/opener">window.opener</a> の考慮</td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile(49)}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> +<p>{{Compat("api.Window.isSecureContext")}}</p> <h2 id="関連項目">関連項目</h2> diff --git a/files/ja/web/api/window/localstorage/index.html b/files/ja/web/api/window/localstorage/index.html index 5fc78d7ba2..e7d66703c1 100644 --- a/files/ja/web/api/window/localstorage/index.html +++ b/files/ja/web/api/window/localstorage/index.html @@ -71,72 +71,7 @@ translation_of: Web/API/Window/localStorage <h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザ実装状況</h2> -<p>{{ CompatibilityTable() }}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>機能</th> - <th>Chrome</th> - <th>Edge</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>localStorage</td> - <td>4</td> - <td>{{CompatVersionUnknown}}</td> - <td>3.5</td> - <td>8</td> - <td>10.50</td> - <td>4</td> - </tr> - <tr> - <td>sessionStorage</td> - <td>5</td> - <td>{{CompatVersionUnknown}}</td> - <td>2</td> - <td>8</td> - <td>10.50</td> - <td>4</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>機能</th> - <th>Android</th> - <th>Edge</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>基本サポート</td> - <td>2.1</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{ CompatUnknown }}</td> - <td>8</td> - <td>11</td> - <td>iOS 3.2</td> - </tr> - </tbody> -</table> -</div> - -<p>すべてのブラウザは <code>localStorage</code> と {{domxref("sessionStorage")}} に対する容量変更ができるようになっています。<a class="external" href="http://dev-test.nemikor.com/web-storage/support-test/" title="http://dev-test.nemikor.com/web-storage/support-test/">詳しくはこちらを参照してください。</a></p> - -<div class="note"> -<p><strong>注:</strong> iOS 5.1 からは、Safari Mobile は <code>localStorage</code> データをキャッシュフォルダーに保存し、そこは時々 OS の指示で (よくあるのはスペースが少ない場合) 掃除されがちです。Safari Mobile のプライベートブラウジングモードでも、まったく <code>localStorage</code> が使用できません。</p> -</div> +<p>{{Compat("api.Window.localStorage")}}</p> <h2 id="See_also" name="See_also">関連情報</h2> diff --git a/files/ja/web/api/window/ondeviceproximity/index.html b/files/ja/web/api/window/ondeviceproximity/index.html index 48551acc69..d3bd96413d 100644 --- a/files/ja/web/api/window/ondeviceproximity/index.html +++ b/files/ja/web/api/window/ondeviceproximity/index.html @@ -42,55 +42,7 @@ translation_of: Web/API/Window/ondeviceproximity <h2 id="ブラウザー実装状況">ブラウザー実装状況</h2> -<p>{{ CompatibilityTable() }}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>機能</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>基本サポート</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatNo() }}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>機能</th> - <th>Android</th> - <th>Chrome for Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>基本サポート</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatGeckoMobile("15.0") }}</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatNo() }}</td> - <td>{{ CompatNo() }}</td> - </tr> - </tbody> -</table> -</div> +<p>{{Compat("api.Window.ondeviceproximity")}}</p> <h2 id="関連項目">関連項目</h2> diff --git a/files/ja/web/api/window/scrollx/index.html b/files/ja/web/api/window/scrollx/index.html index 94852e3996..eb01796e86 100644 --- a/files/ja/web/api/window/scrollx/index.html +++ b/files/ja/web/api/window/scrollx/index.html @@ -71,84 +71,7 @@ var y = (window.pageYOffset !== undefined) <h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザー実装状況</h2> -<div>{{CompatibilityTable}}</div> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>機能</th> - <th>Chrome</th> - <th>Edge</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>基本サポート</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - <tr> - <td>サブピクセル精度</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoDesktop(55)}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>機能</th> - <th>Android</th> - <th>Android Webview</th> - <th>Edge</th> - <th>Firefox Mobile (Gecko)</th> - <th>Firefox OS</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - <th>Android 版 Chrome</th> - </tr> - <tr> - <td>基本サポート</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - <tr> - <td>サブピクセル精度</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile(55)}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - </tr> - </tbody> -</table> -</div> +<p>{{Compat("api.Window.scrollX")}}</p> <h2 id="See_also" name="See_also">関連情報</h2> diff --git a/files/ja/web/api/window/self/index.html b/files/ja/web/api/window/self/index.html index 8a884828f3..ab5b1b18e6 100644 --- a/files/ja/web/api/window/self/index.html +++ b/files/ja/web/api/window/self/index.html @@ -66,55 +66,7 @@ var w4 = window.self; <h2 id="ブラウザー互換性">ブラウザー互換性</h2> -<p>{{ CompatibilityTable() }}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>機能</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>基本サポート</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>機能</th> - <th>Android</th> - <th>Chrome for Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>基本サポート</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatVersionUnknown() }}</td> - </tr> - </tbody> -</table> -</div> +<p>{{Compat("api.Window.self")}}</p> <h2 class="noinclude" id="関連">関連</h2> diff --git a/files/ja/web/api/window/sessionstorage/index.html b/files/ja/web/api/window/sessionstorage/index.html index 426a8e6f18..865c32a6e6 100644 --- a/files/ja/web/api/window/sessionstorage/index.html +++ b/files/ja/web/api/window/sessionstorage/index.html @@ -79,72 +79,7 @@ field.addEventListener("change", function() { <h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザ実装状況</h2> -<div>{{CompatibilityTable}}</div> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>機能</th> - <th>Chrome</th> - <th>Edge</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>localStorage</td> - <td>4</td> - <td>{{CompatVersionUnknown}}</td> - <td>3.5</td> - <td>8</td> - <td>10.50</td> - <td>4</td> - </tr> - <tr> - <td>sessionStorage</td> - <td>5</td> - <td>{{CompatVersionUnknown}}</td> - <td>2</td> - <td>8</td> - <td>10.50</td> - <td>4</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>機能</th> - <th>Android</th> - <th>Edge</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Phone</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>基本サポート</td> - <td>2.1</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>8</td> - <td>11</td> - <td>iOS 3.2</td> - </tr> - </tbody> -</table> -</div> - -<p>すべてのブラウザで、localStorage および sessionStorage が受け入れる容量は異なります。<a href="http://dev-test.nemikor.com/web-storage/support-test/" title="http://dev-test.nemikor.com/web-storage/support-test/">さまざまなブラウザのストレージ容量を報告しているページ</a>があります。</p> - -<div class="note"> -<p><strong>注記</strong>: iOS 5.1 より Safari Mobile は localStorage データを cache フォルダに保存しており、概して空き容量が少ない場合に OS の要求により、時々クリーンアップを受けます。</p> -</div> +<p>{{Compat("api.Window.sessionStorage")}}</p> <h2 id="See_also" name="See_also">関連情報</h2> |