aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/offscreencanvas/index.html
diff options
context:
space:
mode:
authorMasahiro FUJIMOTO <mfujimot@gmail.com>2021-09-14 11:07:46 +0900
committerGitHub <noreply@github.com>2021-09-14 11:07:46 +0900
commit03385cc9f4f157cec2e5fd05f35e6af646055908 (patch)
tree445fcb3a7d033d4ef35c4d4238b28b9630e3dc5b /files/ja/web/api/offscreencanvas/index.html
parentb8899e350326af3e53dfad89747761c1c13a3915 (diff)
downloadtranslated-content-03385cc9f4f157cec2e5fd05f35e6af646055908.tar.gz
translated-content-03385cc9f4f157cec2e5fd05f35e6af646055908.tar.bz2
translated-content-03385cc9f4f157cec2e5fd05f35e6af646055908.zip
Web/API以下の文書内のリンクURLを正規化 (#2360)
- /en-US へのリンクを /ja へのリンクに修正 - /ja が付いていないものに /ja を付加 - MDN内のリンクが完全URLの場合、 /ja/docs からのURLに修正
Diffstat (limited to 'files/ja/web/api/offscreencanvas/index.html')
-rw-r--r--files/ja/web/api/offscreencanvas/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/ja/web/api/offscreencanvas/index.html b/files/ja/web/api/offscreencanvas/index.html
index 38919748b7..b2627fded7 100644
--- a/files/ja/web/api/offscreencanvas/index.html
+++ b/files/ja/web/api/offscreencanvas/index.html
@@ -13,7 +13,7 @@ translation_of: Web/API/OffscreenCanvas
---
<div>{{APIRef("Canvas API")}} {{SeeCompatTable}}</div>
-<p>The <strong><code>OffscreenCanvas</code></strong> interface provides a canvas that can be rendered off screen. It is available in both the window and <a href="/en-US/docs/Web/API/Web_Workers_API">worker</a> contexts.</p>
+<p>The <strong><code>OffscreenCanvas</code></strong> interface provides a canvas that can be rendered off screen. It is available in both the window and <a href="/ja/docs/Web/API/Web_Workers_API">worker</a> contexts.</p>
<h2 id="Constructors">Constructors</h2>
@@ -84,7 +84,7 @@ two.transferFromImageBitmap(bitmapTwo);
<h3 id="Asynchronous_display_of_frames_produced_by_an_OffscreenCanvas">Asynchronous display of frames produced by an <code>OffscreenCanvas</code></h3>
-<p>Another way to use the <code>OffscreenCanvas</code> API, is to call {{domxref("HTMLCanvasElement.transferControlToOffscreen", "transferControlToOffscreen()")}} on a {{HTMLElement("canvas")}} element, either on a <a href="/en-US/docs/Web/API/Web_Workers_API">worker</a> or the main thread, which will return an <code>OffscreenCanvas</code> object from an {{domxref("HTMLCanvasElement")}} object from the main thread. Calling {{domxref("OffscreenCanvas.getContext", "getContext()")}} will then obtain a <code>RenderingContext</code> from that <code>OffscreenCanvas</code>.</p>
+<p>Another way to use the <code>OffscreenCanvas</code> API, is to call {{domxref("HTMLCanvasElement.transferControlToOffscreen", "transferControlToOffscreen()")}} on a {{HTMLElement("canvas")}} element, either on a <a href="/ja/docs/Web/API/Web_Workers_API">worker</a> or the main thread, which will return an <code>OffscreenCanvas</code> object from an {{domxref("HTMLCanvasElement")}} object from the main thread. Calling {{domxref("OffscreenCanvas.getContext", "getContext()")}} will then obtain a <code>RenderingContext</code> from that <code>OffscreenCanvas</code>.</p>
<p>main.js (main thread code):</p>