aboutsummaryrefslogtreecommitdiff
path: root/files/ja
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja')
-rw-r--r--files/ja/_redirects.txt2
-rw-r--r--files/ja/_wikihistory.json12
-rw-r--r--files/ja/web/api/document/getselection/index.html (renamed from files/ja/web/api/documentorshadowroot/getselection/index.html)3
-rw-r--r--files/ja/web/javascript/reference/statements/switch/index.html4
4 files changed, 10 insertions, 11 deletions
diff --git a/files/ja/_redirects.txt b/files/ja/_redirects.txt
index afbf74fa1e..6aeb1e8eaa 100644
--- a/files/ja/_redirects.txt
+++ b/files/ja/_redirects.txt
@@ -3747,12 +3747,12 @@
/ja/docs/Web/API/Document/defaultView/storage_event /ja/docs/Web/API/Window/storage_event
/ja/docs/Web/API/Document/domConfig /ja/docs/Web/API/Document
/ja/docs/Web/API/Document/elementFromPoint /ja/docs/Web/API/DocumentOrShadowRoot/elementFromPoint
-/ja/docs/Web/API/Document/getSelection /ja/docs/conflicting/Web/API/DocumentOrShadowRoot/getSelection
/ja/docs/Web/API/Document/inputEncoding /ja/docs/conflicting/Web/API/Document/characterSet
/ja/docs/Web/API/Document/onselectionchange /ja/docs/Web/API/GlobalEventHandlers/onselectionchange
/ja/docs/Web/API/DocumentOrShadowRoot/activeElement /ja/docs/Web/API/Document/activeElement
/ja/docs/Web/API/DocumentOrShadowRoot/fullscreenElement /ja/docs/Web/API/Document/fullscreenElement
/ja/docs/Web/API/DocumentOrShadowRoot/getAnimations /ja/docs/Web/API/Document/getAnimations
+/ja/docs/Web/API/DocumentOrShadowRoot/getSelection /ja/docs/Web/API/Document/getSelection
/ja/docs/Web/API/DocumentOrShadowRoot/msElementsFromRect /ja/docs/orphaned/Web/API/DocumentOrShadowRoot/msElementsFromRect
/ja/docs/Web/API/DocumentOrShadowRoot/nodeFromPoint /ja/docs/conflicting/Web/API/DocumentOrShadowRoot
/ja/docs/Web/API/DocumentOrShadowRoot/nodesFromPoint /ja/docs/conflicting/Web/API/DocumentOrShadowRoot_20ea0e1d91453a020aad3a16dbce16f1
diff --git a/files/ja/_wikihistory.json b/files/ja/_wikihistory.json
index 3da558db6a..565d2b1182 100644
--- a/files/ja/_wikihistory.json
+++ b/files/ja/_wikihistory.json
@@ -12743,12 +12743,6 @@
"mfuji09"
]
},
- "Web/API/DocumentOrShadowRoot/getSelection": {
- "modified": "2020-10-15T22:26:08.191Z",
- "contributors": [
- "mfuji09"
- ]
- },
"Web/API/DocumentType": {
"modified": "2020-10-15T22:09:56.256Z",
"contributors": [
@@ -53496,5 +53490,11 @@
"contributors": [
"eltociear"
]
+ },
+ "Web/API/Document/getSelection": {
+ "modified": "2020-10-15T22:26:08.191Z",
+ "contributors": [
+ "mfuji09"
+ ]
}
} \ No newline at end of file
diff --git a/files/ja/web/api/documentorshadowroot/getselection/index.html b/files/ja/web/api/document/getselection/index.html
index e201ed0675..81fc970c85 100644
--- a/files/ja/web/api/documentorshadowroot/getselection/index.html
+++ b/files/ja/web/api/document/getselection/index.html
@@ -1,6 +1,6 @@
---
title: DocumentOrShadowRoot.getSelection()
-slug: Web/API/DocumentOrShadowRoot/getSelection
+slug: Web/API/Document/getSelection
tags:
- API
- DocumentOrShadowRoot
@@ -12,6 +12,7 @@ tags:
- getSelection()
- shadow dom
translation_of: Web/API/DocumentOrShadowRoot/getSelection
+original_slug: Web/API/DocumentOrShadowRoot/getSelection
---
<div>{{APIRef("DOM")}}{{SeeCompatTable}}</div>
diff --git a/files/ja/web/javascript/reference/statements/switch/index.html b/files/ja/web/javascript/reference/statements/switch/index.html
index 91960fb4ca..9d2d33b627 100644
--- a/files/ja/web/javascript/reference/statements/switch/index.html
+++ b/files/ja/web/javascript/reference/statements/switch/index.html
@@ -86,9 +86,7 @@ console.log("Is there anything else you'd like?");
<h3 id="What_happens_if_I_forgot_a_break" name="What_happens_if_I_forgot_a_break"><code>break</code> を置かないとどうなるか</h3>
-<p><code>break</code> を置かな買った場合、スクリプトは基準を満たす <code>case</code> から実行され、その後の <code>case</code> も</p>
-
-<p>条件に合うかに関係なく実行されます。</p>
+<p><code>break</code> を置かなかった場合、スクリプトは基準を満たす <code>case</code> から実行され、その後の <code>case</code> も条件に合うかに関係なく実行されます。</p>
<p>こちらの例をご覧ください。</p>