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/element | |
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/element')
-rw-r--r-- | files/ja/web/api/element/animate/index.html | 58 | ||||
-rw-r--r-- | files/ja/web/api/element/insertadjacenthtml/index.html | 48 | ||||
-rw-r--r-- | files/ja/web/api/element/insertadjacenttext/index.html | 48 | ||||
-rw-r--r-- | files/ja/web/api/element/localname/index.html | 50 | ||||
-rw-r--r-- | files/ja/web/api/element/requestfullscreen/index.html | 78 |
5 files changed, 5 insertions, 277 deletions
diff --git a/files/ja/web/api/element/animate/index.html b/files/ja/web/api/element/animate/index.html index dc6e4a39aa..d8a1a29c2b 100644 --- a/files/ja/web/api/element/animate/index.html +++ b/files/ja/web/api/element/animate/index.html @@ -136,63 +136,7 @@ elem.animate([ { left: '0px' }, <h2 id="ブラウザ実装状況">ブラウザ実装状況</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>基本サポート</td> - <td>{{CompatChrome("39")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{ CompatGeckoDesktop("47.0")}}</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>Chrome for Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>Firefox OS</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td> - <p>基本サポート</p> - </td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{ CompatGeckoMobile("47.0")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> +<p>{{Compat("api.Element.animate")}}</p> <h2 id="参考情報">参考情報</h2> diff --git a/files/ja/web/api/element/insertadjacenthtml/index.html b/files/ja/web/api/element/insertadjacenthtml/index.html index 94caa67346..72e464954f 100644 --- a/files/ja/web/api/element/insertadjacenthtml/index.html +++ b/files/ja/web/api/element/insertadjacenthtml/index.html @@ -77,53 +77,7 @@ d1.insertAdjacentHTML('afterend', '<div id="two">two</div>'); <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>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>基本サポート</td> - <td>1.0</td> - <td>{{ CompatGeckoDesktop("8.0") }}</td> - <td>4.0</td> - <td>7.0</td> - <td>4.0 (527)</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>{{ CompatUnknown() }}</td> - <td>{{ CompatGeckoMobile("8.0") }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - </tr> - </tbody> -</table> -</div> +<p>{{Compat("api.Element.insertAdjacentHTML")}}</p> <h2 id="関連情報">関連情報</h2> diff --git a/files/ja/web/api/element/insertadjacenttext/index.html b/files/ja/web/api/element/insertadjacenttext/index.html index 7b13ef97b8..fc0e0ac2b8 100644 --- a/files/ja/web/api/element/insertadjacenttext/index.html +++ b/files/ja/web/api/element/insertadjacenttext/index.html @@ -91,53 +91,7 @@ afterBtn.addEventListener('click', function() { <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>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari (WebKit)</th> - </tr> - <tr> - <td>基本サポート</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatGeckoDesktop("48.0") }}</td> - <td>{{ CompatUnknown() }}</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>{{ CompatUnknown() }}</td> - <td>{{ CompatGeckoMobile("48.0") }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - </tr> - </tbody> -</table> -</div> +<p>{{Compat("api.Element.insertAdjacentText")}}</p> <h2 id="関連項目">関連項目</h2> diff --git a/files/ja/web/api/element/localname/index.html b/files/ja/web/api/element/localname/index.html index a785fc58f3..797a6e0660 100644 --- a/files/ja/web/api/element/localname/index.html +++ b/files/ja/web/api/element/localname/index.html @@ -86,55 +86,7 @@ translation_of: Web/API/Element/localName <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>46.0<sup>[1]</sup></td> - <td>{{CompatGeckoDesktop("48.0")}}<sup>[1]</sup></td> - <td>{{CompatUnknown}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatUnknown}}</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>{{CompatGeckoMobile("48.0")}}<sup>[1]</sup></td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] この API は以前、{{domxref("Node")}} API で利用可能でした。</p> +<p>{{Compat("api.Element.localName")}}</p> <h2 id="参考情報">参考情報</h2> diff --git a/files/ja/web/api/element/requestfullscreen/index.html b/files/ja/web/api/element/requestfullscreen/index.html index 17054560e1..46fa5a5c5d 100644 --- a/files/ja/web/api/element/requestfullscreen/index.html +++ b/files/ja/web/api/element/requestfullscreen/index.html @@ -79,83 +79,7 @@ translation_of: Web/API/Element/requestFullScreen <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>Firefox</th> - <th>Internet Explorer</th> - <th>Edge</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>基本対応</td> - <td>{{CompatVersionUnknown}}{{property_prefix("webkit")}}<sup>[1]</sup></td> - <td>{{CompatGeckoDesktop("9.0")}} <code>mozRequestFullScreen</code> として対応<sup>[2]</sup><br> - {{CompatGeckoDesktop("47.0")}} (full-screen-api.unprefix.enabled で制御)</td> - <td>11{{property_prefix("ms")}}<sup>[3]</sup></td> - <td>{{CompatVersionUnknown}}<sup>[3]</sup></td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - <tr> - <td>Promise の返却</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</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>Chrome Android</th> - <th>Edge</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>基本対応</td> - <td>{{CompatVersionUnknown}}{{property_prefix("webkit")}}<sup>[1]</sup></td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatGeckoMobile("9.0")}} <code>mozRequestFullScreen</code> として対応 <sup>[2]</sup><br> - {{CompatGeckoMobile("47.0")}} (full-screen-api.unprefix.enabled で制御)</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - <tr> - <td>Promise の返却</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] <code>webkitRequestFullscreen</code> としても実装されています。</p> - -<p>[2] <code>mozRequestFullScreen</code> として実装されています (Screen の S は大文字です)。 Firefox 44 より前のバージョンでは、誤って {{HTMLElement('frame')}} や {{HTMLElement('object')}} の内部にある要素の要求も受け入れて、許可されれば全画面表示していました。これは Firefox 44 以降で修正済みです。文書の最上位にある要素、または {{htmlattrxref("allowfullscreen", "iframe")}} 属性を持つ {{HTMLElement('iframe')}} だけが全画面モードで表示できます。</p> - -<p>[3] <a href="https://msdn.microsoft.com/library/dn254939%28v=vs.85%29.aspx">MSDN の文書</a>をご覧ください。</p> +<p>{{Compat("api.Element.requestFullscreen")}}</p> <h2 id="See_also" name="See_also">関連情報</h2> |