aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/canvasrenderingcontext2d
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/canvasrenderingcontext2d
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/canvasrenderingcontext2d')
-rw-r--r--files/ja/web/api/canvasrenderingcontext2d/clearhitregions/index.html57
-rw-r--r--files/ja/web/api/canvasrenderingcontext2d/direction/index.html52
-rw-r--r--files/ja/web/api/canvasrenderingcontext2d/drawfocusifneeded/index.html74
-rw-r--r--files/ja/web/api/canvasrenderingcontext2d/fillrect/index.html54
-rw-r--r--files/ja/web/api/canvasrenderingcontext2d/filltext/index.html50
-rw-r--r--files/ja/web/api/canvasrenderingcontext2d/font/index.html50
-rw-r--r--files/ja/web/api/canvasrenderingcontext2d/globalcompositeoperation/index.html67
-rw-r--r--files/ja/web/api/canvasrenderingcontext2d/imagesmoothingenabled/index.html55
-rw-r--r--files/ja/web/api/canvasrenderingcontext2d/lineto/index.html50
-rw-r--r--files/ja/web/api/canvasrenderingcontext2d/removehitregion/index.html57
-rw-r--r--files/ja/web/api/canvasrenderingcontext2d/stroke/index.html67
-rw-r--r--files/ja/web/api/canvasrenderingcontext2d/stroketext/index.html50
-rw-r--r--files/ja/web/api/canvasrenderingcontext2d/textalign/index.html50
13 files changed, 13 insertions, 720 deletions
diff --git a/files/ja/web/api/canvasrenderingcontext2d/clearhitregions/index.html b/files/ja/web/api/canvasrenderingcontext2d/clearhitregions/index.html
index 221e2fcfd6..7a39fcf2c8 100644
--- a/files/ja/web/api/canvasrenderingcontext2d/clearhitregions/index.html
+++ b/files/ja/web/api/canvasrenderingcontext2d/clearhitregions/index.html
@@ -56,62 +56,7 @@ ctx.clearHitRegions();
<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}}[1]</td>
- <td>{{CompatGeckoDesktop(38)}} [2]</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(38)}} [2]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="注記">注記</h3>
-
-<ul>
- <li>[1] この機能はフラグを変更しないと動作しません。有効にするには<code>ExperimentalCanvasFeatures</code>フラグを<code>true</code>に設定してください。</li>
- <li>[2] この機能は設定を変更しないと動作しません。about:configで<code>canvas.hitregions.enabled</code>を<code>true</code>に設定してください。</li>
-</ul>
+<p>{{Compat("api.CanvasRenderingContext2D.clearHitRegions")}}</p>
<h2 id="関連情報">関連情報</h2>
diff --git a/files/ja/web/api/canvasrenderingcontext2d/direction/index.html b/files/ja/web/api/canvasrenderingcontext2d/direction/index.html
index 4e0e4d2885..1f2e04c823 100644
--- a/files/ja/web/api/canvasrenderingcontext2d/direction/index.html
+++ b/files/ja/web/api/canvasrenderingcontext2d/direction/index.html
@@ -118,57 +118,7 @@ window.addEventListener("load", drawCanvas);
<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</th>
- </tr>
- <tr>
- <td>基本サポート</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</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>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] この機能はデフォルトで無効化されています。有効化するには <code>ExperimentalCanvasFeatures</code> 機能フラグを使用します。</p>
+<p>{{Compat("api.CanvasRenderingContext2D.direction")}}</p>
<h2 id="See_also" name="See_also">関連情報</h2>
diff --git a/files/ja/web/api/canvasrenderingcontext2d/drawfocusifneeded/index.html b/files/ja/web/api/canvasrenderingcontext2d/drawfocusifneeded/index.html
index db5875c709..6b9dd231ec 100644
--- a/files/ja/web/api/canvasrenderingcontext2d/drawfocusifneeded/index.html
+++ b/files/ja/web/api/canvasrenderingcontext2d/drawfocusifneeded/index.html
@@ -115,79 +115,7 @@ window.addEventListener("load", drawCanvas);
<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>{{CompatGeckoDesktop(29)}}[1]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Pathパラメーター</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</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>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>{{CompatGeckoMobile(29)}}[1]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Pathパラメーター</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="注記">注記</h3>
-
-<ul>
- <li>[1] Gecko 28 {{geckoRelease(28)}}ではこのメソッドは "<code>drawSystemFocusRing</code>" として実装されていましたが、Gecko 29 {{geckoRelease(29)}} で名前が変更されました。</li>
- <li>[1] Gecko 32 {{geckoRelease(32)}} より前では、このメソッドは設定を変更しないと有効にならず、有効にするには "<code>canvas.focusring.enabled</code>" を変更する必要がありました。</li>
-</ul>
+<p>{{Compat("api.CanvasRenderingContext2D.drawFocusIfNeeded")}}</p>
<h2 id="関連情報">関連情報</h2>
diff --git a/files/ja/web/api/canvasrenderingcontext2d/fillrect/index.html b/files/ja/web/api/canvasrenderingcontext2d/fillrect/index.html
index 9839c130e1..06ac03269f 100644
--- a/files/ja/web/api/canvasrenderingcontext2d/fillrect/index.html
+++ b/files/ja/web/api/canvasrenderingcontext2d/fillrect/index.html
@@ -109,59 +109,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="ブラウザ間の互換性">ブラウザ間の互換性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</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>Feature</th>
- <th>Android</th>
- <th>Chrome for 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>Basic support</td>
- <td>{{CompatVersionUnknown}}</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.CanvasRenderingContext2D.fillRect")}}</p>
<h2 id="関連項目">関連項目</h2>
diff --git a/files/ja/web/api/canvasrenderingcontext2d/filltext/index.html b/files/ja/web/api/canvasrenderingcontext2d/filltext/index.html
index 6098495f82..e59cd65a76 100644
--- a/files/ja/web/api/canvasrenderingcontext2d/filltext/index.html
+++ b/files/ja/web/api/canvasrenderingcontext2d/filltext/index.html
@@ -115,55 +115,7 @@ window.addEventListener("load", drawCanvas);
<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</th>
- </tr>
- <tr>
- <td>基本サポート</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>{{CompatIE(9)}}</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>{{CompatGeckoMobile("1.9.1")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+<p>{{Compat("api.CanvasRenderingContext2D.fillText")}}</p>
<h2 id="See_also" name="See_also">関連情報</h2>
diff --git a/files/ja/web/api/canvasrenderingcontext2d/font/index.html b/files/ja/web/api/canvasrenderingcontext2d/font/index.html
index 0b49ae78fa..5a2fef3180 100644
--- a/files/ja/web/api/canvasrenderingcontext2d/font/index.html
+++ b/files/ja/web/api/canvasrenderingcontext2d/font/index.html
@@ -116,55 +116,7 @@ window.addEventListener("load", drawCanvas);
<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</th>
- </tr>
- <tr>
- <td>基本サポート</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>{{CompatIE(9)}}</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>{{CompatGeckoMobile("1.9.1")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+<p>{{Compat("api.CanvasRenderingContext2D.font")}}</p>
<h2 id="Gecko-specific_notes" name="Gecko-specific_notes">Gecko 固有の注意事項</h2>
diff --git a/files/ja/web/api/canvasrenderingcontext2d/globalcompositeoperation/index.html b/files/ja/web/api/canvasrenderingcontext2d/globalcompositeoperation/index.html
index c176a9becd..146d2efc72 100644
--- a/files/ja/web/api/canvasrenderingcontext2d/globalcompositeoperation/index.html
+++ b/files/ja/web/api/canvasrenderingcontext2d/globalcompositeoperation/index.html
@@ -122,72 +122,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="ブラウザの互換性">ブラウザの互換性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Blend modes</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoDesktop("20") }}</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>Feature</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>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Blend modes</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoMobile("20") }}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+<p>{{Compat("api.CanvasRenderingContext2D.globalCompositeOperation")}}</p>
<h2 id="WebKitBlinkについての注釈">WebKit/Blinkについての注釈</h2>
diff --git a/files/ja/web/api/canvasrenderingcontext2d/imagesmoothingenabled/index.html b/files/ja/web/api/canvasrenderingcontext2d/imagesmoothingenabled/index.html
index 8577d3ab83..21645faa04 100644
--- a/files/ja/web/api/canvasrenderingcontext2d/imagesmoothingenabled/index.html
+++ b/files/ja/web/api/canvasrenderingcontext2d/imagesmoothingenabled/index.html
@@ -123,60 +123,7 @@ window.addEventListener("load", drawCanvas);
<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>30 [1]</td>
- <td>{{ CompatVersionUnknown() }}<br>
- {{property_prefix("moz")}}</td>
- <td>{{ CompatVersionUnknown() }}<br>
- {{property_prefix("ms")}}</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>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>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}<br>
- {{property_prefix("moz")}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] バージョン 29 までは、<code>webkit</code> プレフィックス付きでサポートされています。</p>
+<p>{{Compat("api.CanvasRenderingContext2D.imageSmoothingEnabled")}}</p>
<h2 id="関連項目">関連項目</h2>
diff --git a/files/ja/web/api/canvasrenderingcontext2d/lineto/index.html b/files/ja/web/api/canvasrenderingcontext2d/lineto/index.html
index 2bd2f6ea4f..a731624917 100644
--- a/files/ja/web/api/canvasrenderingcontext2d/lineto/index.html
+++ b/files/ja/web/api/canvasrenderingcontext2d/lineto/index.html
@@ -107,55 +107,7 @@ window.addEventListener("load", drawCanvas);
<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.CanvasRenderingContext2D.lineTo")}}</p>
<h2 id="参考情報">参考情報</h2>
diff --git a/files/ja/web/api/canvasrenderingcontext2d/removehitregion/index.html b/files/ja/web/api/canvasrenderingcontext2d/removehitregion/index.html
index cc0550f292..4bc5cbf49b 100644
--- a/files/ja/web/api/canvasrenderingcontext2d/removehitregion/index.html
+++ b/files/ja/web/api/canvasrenderingcontext2d/removehitregion/index.html
@@ -61,62 +61,7 @@ ctx.removeHitRegion("eyes");
<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}}[1]</td>
- <td>{{CompatGeckoDesktop(30)}} [2]</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(30)}} [2]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="注記">注記</h3>
-
-<ul>
- <li>[1] この機能はフラグを変更しないと動作しません。有効にするには<code>ExperimentalCanvasFeatures</code>フラグを<code>true</code>に設定してください。</li>
- <li>[2] この機能は設定を変更しないと動作しません。about:configで<code>canvas.hitregions.enabled</code>を<code>true</code>に設定してください。</li>
-</ul>
+<p>{{Compat("api.CanvasRenderingContext2D.removeHitRegion")}}</p>
<h2 id="関連情報">関連情報</h2>
diff --git a/files/ja/web/api/canvasrenderingcontext2d/stroke/index.html b/files/ja/web/api/canvasrenderingcontext2d/stroke/index.html
index 3405ee1221..87bd437653 100644
--- a/files/ja/web/api/canvasrenderingcontext2d/stroke/index.html
+++ b/files/ja/web/api/canvasrenderingcontext2d/stroke/index.html
@@ -101,72 +101,7 @@ window.addEventListener("load", drawCanvas);
<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>
- <tr>
- <td>パスの引数</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoDesktop(31) }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</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>
- <tr>
- <td>パスの引数</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile(31) }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+<p>{{Compat("api.CanvasRenderingContext2D.stroke")}}</p>
<h2 id="参考情報">参考情報</h2>
diff --git a/files/ja/web/api/canvasrenderingcontext2d/stroketext/index.html b/files/ja/web/api/canvasrenderingcontext2d/stroketext/index.html
index e664a5f6bf..c279d4eb36 100644
--- a/files/ja/web/api/canvasrenderingcontext2d/stroketext/index.html
+++ b/files/ja/web/api/canvasrenderingcontext2d/stroketext/index.html
@@ -118,55 +118,7 @@ window.addEventListener("load", drawCanvas);
<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</th>
- </tr>
- <tr>
- <td>基本サポート</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>{{CompatIE(9)}}</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>{{CompatGeckoMobile("1.9.1")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+<p>{{Compat("api.CanvasRenderingContext2D.strokeText")}}</p>
<h2 id="See_also" name="See_also">関連情報</h2>
diff --git a/files/ja/web/api/canvasrenderingcontext2d/textalign/index.html b/files/ja/web/api/canvasrenderingcontext2d/textalign/index.html
index f87b9d6e5c..6d7ebc150b 100644
--- a/files/ja/web/api/canvasrenderingcontext2d/textalign/index.html
+++ b/files/ja/web/api/canvasrenderingcontext2d/textalign/index.html
@@ -121,55 +121,7 @@ window.addEventListener("load", drawCanvas);
<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</th>
- </tr>
- <tr>
- <td>基本サポート</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>{{CompatIE(9)}}</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>{{CompatGeckoMobile("1.9.1")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+<p>{{Compat("api.CanvasRenderingContext2D.textAlign")}}</p>
<h2 id="See_also" name="See_also">関連情報</h2>