From 6e9fe98036090a37cc6247b873845505e5b512fb Mon Sep 17 00:00:00 2001 From: Tanner Dolby Date: Tue, 22 Feb 2022 01:49:36 -0800 Subject: Removes empty
or

elements from pages (#3093) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Removes all empty paragraph elements * Removes all empty div elements * Preserve empty div in code snippet * Preserve empty elements inside code snippets * Remove fr files which were converted into markdown * Web/CSS/transform-function/scaleX()/index.html The file is already renamed to index.md。 * remove not needed file * Resolve remaining conflict Co-authored-by: julieng Co-authored-by: Masahiro FUJIMOTO --- files/ja/web/api/canvas_api/tutorial/drawing_shapes/index.html | 2 +- files/ja/web/api/clipboard/index.html | 2 +- files/ja/web/api/element/touchcancel_event/index.html | 2 +- files/ja/web/api/eventsource/onerror/index.html | 2 +- files/ja/web/api/range/commonancestorcontainer/index.html | 4 ++-- files/ja/web/api/serviceworkerregistration/active/index.html | 2 +- files/ja/web/api/serviceworkerregistration/waiting/index.html | 2 +- .../ja/web/javascript/reference/statements/for-await...of/index.html | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) (limited to 'files/ja/web') diff --git a/files/ja/web/api/canvas_api/tutorial/drawing_shapes/index.html b/files/ja/web/api/canvas_api/tutorial/drawing_shapes/index.html index de474db81f..1d12bc0607 100644 --- a/files/ja/web/api/canvas_api/tutorial/drawing_shapes/index.html +++ b/files/ja/web/api/canvas_api/tutorial/drawing_shapes/index.html @@ -236,7 +236,7 @@ original_slug: Web/Guide/HTML/Canvas_tutorial/Drawing_shapes

{{EmbedLiveSample("Lines", 160, 160, "https://mdn.mozillademos.org/files/238/Canvas_lineTo.png")}}
-
+

あなたは塗られた三角形と輪郭線の描かれたものとの違いに気がつくでしょう。上で述べたように、これはパスが塗られる( fill される) と図形は自動的に閉じられ、stroke されるときはそうでないからです。輪郭の描かれた三角形で closePath() を行わないと 2 つの線しか描かれず、三角形は完成しません。

diff --git a/files/ja/web/api/clipboard/index.html b/files/ja/web/api/clipboard/index.html index c4cf3e26d4..8842c41dfc 100644 --- a/files/ja/web/api/clipboard/index.html +++ b/files/ja/web/api/clipboard/index.html @@ -24,7 +24,7 @@ translation_of: Web/API/Clipboard

多くのアプリケーションでは、ショートカットキーメニューなど、このインターフェイスに結び付けられたユーザーからの入力を使うことにより、クリップボード機能にアクセスします。

-
+

Clipboard インターフェイスは Clipboard API を実装します。この API は、ユーザーが許可する場合、システムクリップボードの内容に対する読み取りと書き込みの両方を提供します。 Clipboard API は、ウェブアプリケーションにカット (切り取り)、コピー (複写)、ペースト (貼り付け) の機能を実装するために使うことができます。

diff --git a/files/ja/web/api/element/touchcancel_event/index.html b/files/ja/web/api/element/touchcancel_event/index.html index 45332083b9..e0c116e03e 100644 --- a/files/ja/web/api/element/touchcancel_event/index.html +++ b/files/ja/web/api/element/touchcancel_event/index.html @@ -13,7 +13,7 @@ translation_of: Web/API/Element/touchcancel_event ---
{{APIRef}}
-
+

touchcancel イベントは、1つ以上のタッチポイントが実装固有の方法で中断されたときに発生します(例えば、タッチポイントが多すぎるとき)。

diff --git a/files/ja/web/api/eventsource/onerror/index.html b/files/ja/web/api/eventsource/onerror/index.html index 7bad6d61df..1629027780 100644 --- a/files/ja/web/api/eventsource/onerror/index.html +++ b/files/ja/web/api/eventsource/onerror/index.html @@ -12,7 +12,7 @@ translation_of: Web/API/EventSource/onerror ---
{{APIRef('WebSockets API')}}
-
+

{{domxref("EventSource")}} インターフェースのonerror プロパティは、エラーが発生し、EventSource オブジェクトに対して {{event("error")}} が送出されたときに呼び出される {{event("Event_handlers", "event handler")}} です。

diff --git a/files/ja/web/api/range/commonancestorcontainer/index.html b/files/ja/web/api/range/commonancestorcontainer/index.html index 333e0cfebb..467db8316c 100644 --- a/files/ja/web/api/range/commonancestorcontainer/index.html +++ b/files/ja/web/api/range/commonancestorcontainer/index.html @@ -7,11 +7,11 @@ translation_of: Web/API/Range/commonAncestorContainer
Range.commonAncestorContainer は読み込み専用のプロパティで、{{domxref("Range")}}の中の 境界点 で最も深いもしくはドキュメントツリーから最も遠い両方を含む {{domxref("Node")}} を返します。つまり、{{domxref("Range.startContainer")}} と {{domxref("Range.endContainer")}} 両方が同じノードを参照する場合は、このノードは共通の祖先コンテナです。
-
+
Range は連続している必要はなく、ノードを部分的に選択する場合もあり、これは Range を囲っている Node を見つけるときに便利な方法です。
-
+
これは読み取り専用プロパティです。 Node の共通祖先コンテナを変更するため、Range の開始位置と終了位置をセットするため {{domxref("Range.setStart()")}} と {{domxref("Range.setEnd()")}} のような利用可能な様々なメソッドを利用することを検討します。
diff --git a/files/ja/web/api/serviceworkerregistration/active/index.html b/files/ja/web/api/serviceworkerregistration/active/index.html index e615ade109..aa5c1b3a7d 100644 --- a/files/ja/web/api/serviceworkerregistration/active/index.html +++ b/files/ja/web/api/serviceworkerregistration/active/index.html @@ -35,7 +35,7 @@ translation_of: Web/API/ServiceWorkerRegistration/active

仕様

-
+ diff --git a/files/ja/web/api/serviceworkerregistration/waiting/index.html b/files/ja/web/api/serviceworkerregistration/waiting/index.html index d00bfa83d5..f32a78f1b0 100644 --- a/files/ja/web/api/serviceworkerregistration/waiting/index.html +++ b/files/ja/web/api/serviceworkerregistration/waiting/index.html @@ -29,7 +29,7 @@ translation_of: Web/API/ServiceWorkerRegistration/waiting

仕様

-
+
diff --git a/files/ja/web/javascript/reference/statements/for-await...of/index.html b/files/ja/web/javascript/reference/statements/for-await...of/index.html index e4a4f901e8..6f0739cd12 100644 --- a/files/ja/web/javascript/reference/statements/for-await...of/index.html +++ b/files/ja/web/javascript/reference/statements/for-await...of/index.html @@ -158,7 +158,7 @@ for (let numOrPromise of generator()) { // 4 -
+

: 同期のジェネレーターから拒否されたプロミスが生み出される場合があることに注意してください。このような場合、 for await...of は拒否されたプロミスを消費するので、ジェネレーター内の finally ブロックが呼び出されません。これは、確保したリソースを try/finally で解放する必要がある場合は望ましくない動作になる可能性があります。

-- cgit v1.2.3-54-g00ecf