aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro FUJIMOTO <mfujimot@gmail.com>2022-01-13 03:03:31 +0900
committerMasahiro FUJIMOTO <mfujimot@gmail.com>2022-01-20 00:19:01 +0900
commit76ece9a3bd07e22b15d211a12a73d46a735a24f7 (patch)
treee4a1b611b2bca8ebcf1e9e728a52cf2ce0d3a8a7
parent94a6a543a6109d05a7e4b07030382de6a9b9f7aa (diff)
downloadtranslated-content-76ece9a3bd07e22b15d211a12a73d46a735a24f7.tar.gz
translated-content-76ece9a3bd07e22b15d211a12a73d46a735a24f7.tar.bz2
translated-content-76ece9a3bd07e22b15d211a12a73d46a735a24f7.zip
2021/10/11 時点の英語版に同期
-rw-r--r--files/ja/web/manifest/scope/index.md88
1 files changed, 33 insertions, 55 deletions
diff --git a/files/ja/web/manifest/scope/index.md b/files/ja/web/manifest/scope/index.md
index e3a6102d9a..68390b3bdd 100644
--- a/files/ja/web/manifest/scope/index.md
+++ b/files/ja/web/manifest/scope/index.md
@@ -2,77 +2,55 @@
title: scope
slug: Web/Manifest/scope
tags:
- - Manifest
- - Web
- - scope
- マニフェスト
+ - ウェブ
+ - scope
+browser-compat: html.manifest.scope
translation_of: Web/Manifest/scope
---
-<div>{{QuickLinksWithSubpages("/ja/docs/Web/Manifest")}}</div>
+{{QuickLinksWithSubpages("/ja/docs/Web/Manifest")}}
<table class="properties">
- <tbody>
- <tr>
- <th scope="row">型</th>
- <td><code>String</code></td>
- </tr>
- <tr>
- <th scope="row">必須</th>
- <td>いいえ</td>
- </tr>
- </tbody>
+ <tbody>
+ <tr>
+ <th scope="row">型</th>
+ <td><code>String</code></td>
+ </tr>
+ <tr>
+ <th scope="row">必須</th>
+ <td>いいえ</td>
+ </tr>
+ </tbody>
</table>
-<p><dfn><code>scope</code></dfn> メンバーは文字列型で、このウェブアプリケーションのアプリケーションコンテキストのナビゲーションスコープを定義します。これは、マニフェストが適用されている時に見ることができるウェブページを制限するものです。ユーザーがスコープ外へ移動した場合は、ブラウザータブやウィンドウの中の通常のウェブページに戻ります。</p>
+_`scope`_ メンバーは文字列型で、このウェブアプリケーションのアプリケーションコンテキストのナビゲーションスコープを定義します。これは、マニフェストが適用されている時に見ることができるウェブページを制限するものです。ユーザーがスコープ外へ移動した場合は、ブラウザータブやウィンドウの中の通常のウェブページに戻ります。
-<p><code>scope</code> が相対 URL である場合、ベース URL はマニフェストの URL になります。</p>
+`scope` が相対 URL である場合、ベース URL はマニフェストの URL になります。
-<h2 id="Examples" name="Examples">例</h2>
+## 例
-<p>スコープが相対パスの場合は、マニフェストの URL がベース URL として使用されます。</p>
+スコープが相対 URL の場合は、マニフェストの URL がベース URL として使用されます。
-<pre class="brush: json">"scope": "/app/"
-</pre>
+```json
+"scope": "/app/"
+```
-<p>以下のスコープは、ナビゲーションを現在のサイトに制限します。</p>
+以下のスコープは、ナビゲーションを現在のサイトに制限します。
-<pre class="brush: json">"scope": "https://example.com/"
-</pre>
+```json
+"scope": "https://example.com/"
+```
-<p>最後に、以下の例はナビゲーションを現在のサイトのサブディレクトリに制限します。</p>
+最後に、以下の例はナビゲーションを現在のサイトのサブディレクトリーに制限します。
-<pre class="brush: json">"scope": "https://example.com/subdirectory/"
-</pre>
+```json
+"scope": "https://example.com/subdirectory/"
+```
-<h2 id="Specification" name="Specification">仕様書</h2>
+## 仕様書
-<table class="standard-table">
- <thead>
- <tr>
- <th scope="col">仕様書</th>
- <th scope="col">状態</th>
- <th scope="col">備考</th>
- <th scope="col">フィードバック</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>
- <p>{{SpecName('Manifest', '#scope-member', 'scope')}}</p>
- </td>
- <td>
- <p>{{Spec2('Manifest')}}</p>
- </td>
- <td>
- <p>初回定義</p>
- </td>
- <td>
- <p><a href="https://github.com/w3c/manifest/issues/">Web App Manifest Working Group drafts</a></p>
- </td>
- </tr>
- </tbody>
-</table>
+{{Specifications}}
-<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2>
+## ブラウザーの互換性
-<p>{{Compat("html.manifest.scope")}}</p>
+{{Compat}}