From 44dc182a131ef7c448d53340b7b483ba8b2ee472 Mon Sep 17 00:00:00 2001
From: MO <9125255+fengzilong@users.noreply.github.com>
Date: Sun, 7 Nov 2021 17:18:09 +0800
Subject: Fix wrong link for offscreencanvas spec (#2935)

* Fix wrong link for offscreencanvas spec

* Fix wrong link for offscreencanvas spec

* Use {{Specifications}} for offscreencanvas spec
---
 files/fr/web/api/offscreencanvas/index.md      |  5 ++---
 files/ja/web/api/offscreencanvas/index.html    | 16 ++--------------
 files/ko/web/api/offscreencanvas/index.html    | 16 ++--------------
 files/zh-cn/web/api/offscreencanvas/index.html | 16 ++--------------
 4 files changed, 8 insertions(+), 45 deletions(-)

(limited to 'files')

diff --git a/files/fr/web/api/offscreencanvas/index.md b/files/fr/web/api/offscreencanvas/index.md
index 8dba3f4dc7..e8e0cd9ec2 100644
--- a/files/fr/web/api/offscreencanvas/index.md
+++ b/files/fr/web/api/offscreencanvas/index.md
@@ -7,6 +7,7 @@ tags:
   - Experimental
   - Interface
   - Reference
+browser-compat: api.OffscreenCanvas
 translation_of: Web/API/OffscreenCanvas
 ---
 {{APIRef("Canvas API")}} {{SeeCompatTable}}
@@ -113,9 +114,7 @@ onmessage = function(evt) {
 
 ## Spécifications
 
-| Spécification                                                                                                                | Statut                           | Commentaire |
-| ---------------------------------------------------------------------------------------------------------------------------- | -------------------------------- | ----------- |
-| {{SpecName('HTML WHATWG', "scripting.html#the-offscreencanvas-interface", "OffscreenCanvas")}} | {{Spec2('HTML WHATWG')}} |             |
+{{Specifications}}
 
 ## Compatibilité des navigateurs
 
diff --git a/files/ja/web/api/offscreencanvas/index.html b/files/ja/web/api/offscreencanvas/index.html
index b2627fded7..028ec33a22 100644
--- a/files/ja/web/api/offscreencanvas/index.html
+++ b/files/ja/web/api/offscreencanvas/index.html
@@ -9,6 +9,7 @@ tags:
   - NeedsTranslation
   - Reference
   - TopicStub
+browser-compat: api.OffscreenCanvas
 translation_of: Web/API/OffscreenCanvas
 ---
 <div>{{APIRef("Canvas API")}} {{SeeCompatTable}}</div>
@@ -120,20 +121,7 @@ worker.postMessage({canvas: offscreen}, [offscreen]);
 
 <h2 id="Specifications">Specifications</h2>
 
-<table class="standard-table">
- <tbody>
-  <tr>
-   <th scope="col">Specification</th>
-   <th scope="col">Status</th>
-   <th scope="col">Comment</th>
-  </tr>
-  <tr>
-   <td>{{SpecName('HTML WHATWG', "scripting.html#the-offscreencanvas-interface", "OffscreenCanvas")}}</td>
-   <td>{{Spec2('HTML WHATWG')}}</td>
-   <td> </td>
-  </tr>
- </tbody>
-</table>
+{{Specifications}}
 
 <h2 id="Browser_compatibility">Browser compatibility</h2>
 
diff --git a/files/ko/web/api/offscreencanvas/index.html b/files/ko/web/api/offscreencanvas/index.html
index 4e90bbf294..c67fd9c3e5 100644
--- a/files/ko/web/api/offscreencanvas/index.html
+++ b/files/ko/web/api/offscreencanvas/index.html
@@ -7,6 +7,7 @@ tags:
   - Experimental
   - Interface
   - Reference
+browser-compat: api.OffscreenCanvas
 translation_of: Web/API/OffscreenCanvas
 ---
 <div>{{APIRef("Canvas API")}} {{SeeCompatTable}}</div>
@@ -118,20 +119,7 @@ worker.postMessage({canvas: offscreen}, [offscreen]);
 
 <h2 id="상세">상세</h2>
 
-<table class="standard-table">
- <tbody>
-  <tr>
-   <th scope="col">Specification</th>
-   <th scope="col">Status</th>
-   <th scope="col">Comment</th>
-  </tr>
-  <tr>
-   <td>{{SpecName('HTML WHATWG', "scripting.html#the-offscreencanvas-interface", "OffscreenCanvas")}}</td>
-   <td>{{Spec2('HTML WHATWG')}}</td>
-   <td> </td>
-  </tr>
- </tbody>
-</table>
+{{Specifications}}
 
 <h2 id="브라우저_호환성">브라우저 호환성</h2>
 
diff --git a/files/zh-cn/web/api/offscreencanvas/index.html b/files/zh-cn/web/api/offscreencanvas/index.html
index f7609dee66..da51b9bec4 100644
--- a/files/zh-cn/web/api/offscreencanvas/index.html
+++ b/files/zh-cn/web/api/offscreencanvas/index.html
@@ -7,6 +7,7 @@ tags:
   - Experimental
   - Interface
   - Reference
+browser-compat: api.OffscreenCanvas
 translation_of: Web/API/OffscreenCanvas
 ---
 <div>{{APIRef("Canvas API")}} {{SeeCompatTable}}</div>
@@ -121,20 +122,7 @@ worker.postMessage({canvas: offscreen}, [offscreen]);
 
 <h2 id="规范">规范</h2>
 
-<table class="standard-table">
- <tbody>
-  <tr>
-   <th scope="col">规范</th>
-   <th scope="col">状态</th>
-   <th scope="col">备注</th>
-  </tr>
-  <tr>
-   <td>{{SpecName('HTML WHATWG', "scripting.html#the-offscreencanvas-interface", "OffscreenCanvas")}}</td>
-   <td>{{Spec2('HTML WHATWG')}}</td>
-   <td></td>
-  </tr>
- </tbody>
-</table>
+{{Specifications}}
 
 <h2 id="浏览器兼容性">浏览器兼容性</h2>
 
-- 
cgit v1.2.3-54-g00ecf