aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/page_visibility_api
diff options
context:
space:
mode:
authorYujiSoftware <yuji.software+github@gmail.com>2021-03-30 18:22:36 +0900
committerGitHub <noreply@github.com>2021-03-30 18:22:36 +0900
commit8e33c52f809796c68a683ad343f37ee4e7ce4616 (patch)
tree8173bf5eaf5c192eb2487efe37c7b74997800898 /files/ja/web/api/page_visibility_api
parent8ea157f6b6fbef9c60695918c6a6382677e5b5df (diff)
downloadtranslated-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/page_visibility_api')
-rw-r--r--files/ja/web/api/page_visibility_api/index.html89
1 files changed, 1 insertions, 88 deletions
diff --git a/files/ja/web/api/page_visibility_api/index.html b/files/ja/web/api/page_visibility_api/index.html
index 2069bebc7e..ca03415e4d 100644
--- a/files/ja/web/api/page_visibility_api/index.html
+++ b/files/ja/web/api/page_visibility_api/index.html
@@ -176,94 +176,7 @@ document.addEventListener("visibilitychange", handleVisibilityChange, false);
<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>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本対応</td>
- <td>13 {{property_prefix("webkit")}}<br>
- 33</td>
- <td>{{CompatGeckoDesktop(18)}}<sup>[2]</sup></td>
- <td>10</td>
- <td>12.10<sup>[1]</sup></td>
- <td>7</td>
- </tr>
- <tr>
- <td><code>onvisibilitychange</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(56)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Budget-based background timeout throttling</td>
- <td>57</td>
- <td>{{CompatGeckoDesktop(58)}}</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>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本対応</td>
- <td>5.0<sup>[3]</sup></td>
- <td>{{CompatGeckoMobile(18)}}<sup>[2]</sup></td>
- <td>10</td>
- <td>12.10<sup>[1]</sup></td>
- <td>7<sup>[4]</sup></td>
- </tr>
- <tr>
- <td><code>onvisibilitychange</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(56)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Budget-based background timeout throttling</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile(58)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] ブラウザーウィンドウを最小化しても <code>visibilitychange</code> イベントは発生せず、また <code>hidden</code> は <code>true</code> に変わりません。</p>
-
-<p>[2] Firefox 10 から Firefox 51 まで、このプロパティは <code>-moz-</code> 接頭辞を使用することができました。</p>
-
-<p>[3] Android 4.4 はこの機能に <code>webkit</code> の接頭辞付きで対応しています。</p>
-
-<p>[4] From iOS 11.0.2 onwards, the values are not correct in standalone mode (when you press "Add to Homescreen") and when the screen is locked (you pressed the power button). The value for <code>hidden</code> is <code>false</code> and <code>visibilityState</code> is <code>visible</code>.</p>
+<p>{{Compat("api.Document.visibilityState")}}</p>
<h2 id="See_also" name="See_also">関連情報</h2>