aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/ja/web/manifest/orientation/index.md76
1 files changed, 35 insertions, 41 deletions
diff --git a/files/ja/web/manifest/orientation/index.md b/files/ja/web/manifest/orientation/index.md
index 259790e965..ef25754472 100644
--- a/files/ja/web/manifest/orientation/index.md
+++ b/files/ja/web/manifest/orientation/index.md
@@ -2,57 +2,51 @@
title: orientation
slug: Web/Manifest/orientation
tags:
- - Manifest
- - Orientation
- - Web
- マニフェスト
+ - Orientation
+ - ウェブ
+browser-compat: html.manifest.orientation
translation_of: Web/Manifest/orientation
---
-<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>`String`</td>
+ </tr>
+ <tr>
+ <th scope="row">必須</th>
+ <td>いいえ</td>
+ </tr>
+ </tbody>
</table>
-<p><code>orientation</code> メンバーは、ウェブサイトの最上位の{{Glossary("Browsing context", "閲覧コンテキスト")}}すべてについて、既定の向きを定義します。</p>
+`orientation` メンバーは、ウェブサイトの最上位の{{Glossary("Browsing context", "閲覧コンテキスト")}}すべてについて、既定の向きを定義します。
-<div class="blockIndicator note">
-<p><strong>注:</strong> ユーザーエージェントの表示モードによっては、 <code>orientation</code> やその中の特定の値に対応していないことがあります。これらに対応することが、特定のコンテキストでは意味がないからです。</p>
-</div>
+> **Note:** ユーザーエージェントの表示モードによっては、 `orientation` やその中の特定の値に対応していないことがあります。これらに対応することが、特定のコンテキストでは意味がないからです。
-<div class="blockIndicator note">
-<p><strong>注:</strong> 実行時に画面の向きを変更するには、 <a href="/ja/docs/Web/API/Screen/orientation">Screen Orientation API</a> を利用して実現することができます。</p>
-</div>
+> **Note:** 実行時に画面の向きを変更するには、 [Screen Orientation API](/ja/docs/Web/API/Screen/orientation) を利用して実現することができます。
-<h2 id="値">値</h2>
+## 値
-<p><code>orientation</code> は以下の値の内の一つを取ることができます。</p>
+`orientation` は以下の値の内の一つを取ることができます。
-<ul>
- <li><code>any</code></li>
- <li><code>natural</code></li>
- <li><code>landscape</code></li>
- <li><code>landscape-primary</code></li>
- <li><code>landscape-secondary</code></li>
- <li><code>portrait</code></li>
- <li><code>portrait-primary</code></li>
- <li><code>portrait-secondary</code></li>
-</ul>
+- `any`
+- `natural`
+- `landscape`
+- `landscape-primary`
+- `landscape-secondary`
+- `portrait`
+- `portrait-primary`
+- `portrait-secondary`
-<h2 id="Examples" name="Examples">例</h2>
+## 例
<pre class="brush: json"> "orientation": "portrait-primary"</pre>
-<h2 id="Specification" name="Specification">仕様書</h2>
+## 仕様書
<table class="standard-table">
<thead>
@@ -66,21 +60,21 @@ translation_of: Web/Manifest/orientation
<tbody>
<tr>
<td>
- <p>{{SpecName('Manifest', '#orientation-member', 'orientation')}}</p>
+ {{SpecName('Manifest', '#orientation-member', 'orientation')}}
</td>
<td>
- <p>{{Spec2('Manifest')}}</p>
+ {{Spec2('Manifest')}}
</td>
<td>
- <p>初回定義</p>
+ 初回定義
</td>
<td>
- <p><a href="https://github.com/w3c/manifest/issues/">Web App Manifest Working Group drafts</a></p>
+ [Web App Manifest Working Group drafts](https://github.com/w3c/manifest/issues/)
</td>
</tr>
</tbody>
</table>
-<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの互換性</h2>
+## ブラウザーの互換性
-<p>{{Compat("html.manifest.orientation")}}</p>
+{{Compat("html.manifest.orientation")}}