diff options
Diffstat (limited to 'files/ja/web')
-rw-r--r-- | files/ja/web/api/document/getanimations/index.html (renamed from files/ja/web/api/documentorshadowroot/getanimations/index.html) | 4 | ||||
-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/api/document/pointerlockelement/index.html (renamed from files/ja/web/api/documentorshadowroot/pointerlockelement/index.html) | 3 | ||||
-rw-r--r-- | files/ja/web/api/document/stylesheets/index.html (renamed from files/ja/web/api/documentorshadowroot/stylesheets/index.html) | 3 | ||||
-rw-r--r-- | files/ja/web/api/documentorshadowroot/mselementsfromrect/index.html | 54 | ||||
-rw-r--r-- | files/ja/web/api/response/usefinalurl/index.html | 60 |
6 files changed, 8 insertions, 119 deletions
diff --git a/files/ja/web/api/documentorshadowroot/getanimations/index.html b/files/ja/web/api/document/getanimations/index.html index 83900d4b9f..dde6a5530a 100644 --- a/files/ja/web/api/documentorshadowroot/getanimations/index.html +++ b/files/ja/web/api/document/getanimations/index.html @@ -1,6 +1,6 @@ --- title: Document.getAnimations() -slug: Web/API/DocumentOrShadowRoot/getAnimations +slug: Web/API/Document/getAnimations tags: - API - Animation @@ -17,7 +17,7 @@ tags: - waapi - web animations api translation_of: Web/API/DocumentOrShadowRoot/getAnimations -original_slug: Web/API/Document/getAnimations +original_slug: Web/API/DocumentOrShadowRoot/getAnimations --- <p>{{ SeeCompatTable() }}{{APIRef("Web Animations")}}</p> 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/api/documentorshadowroot/pointerlockelement/index.html b/files/ja/web/api/document/pointerlockelement/index.html index 5806f9344e..6b6afcd8e5 100644 --- a/files/ja/web/api/documentorshadowroot/pointerlockelement/index.html +++ b/files/ja/web/api/document/pointerlockelement/index.html @@ -1,6 +1,6 @@ --- title: DocumentOrShadowRoot.pointerLockElement -slug: Web/API/DocumentOrShadowRoot/pointerLockElement +slug: Web/API/Document/pointerLockElement tags: - API - DOM @@ -12,6 +12,7 @@ tags: - プロパティ - マウスロック translation_of: Web/API/DocumentOrShadowRoot/pointerLockElement +original_slug: Web/API/DocumentOrShadowRoot/pointerLockElement --- <div>{{APIRef("DOM")}}</div> diff --git a/files/ja/web/api/documentorshadowroot/stylesheets/index.html b/files/ja/web/api/document/stylesheets/index.html index 48a1e7a169..8a793da1fc 100644 --- a/files/ja/web/api/documentorshadowroot/stylesheets/index.html +++ b/files/ja/web/api/document/stylesheets/index.html @@ -1,6 +1,6 @@ --- title: DocumentOrShadowRoot.styleSheets -slug: Web/API/DocumentOrShadowRoot/styleSheets +slug: Web/API/Document/styleSheets tags: - API - Document @@ -11,6 +11,7 @@ tags: - Stylesheets - shadow dom translation_of: Web/API/DocumentOrShadowRoot/styleSheets +original_slug: Web/API/DocumentOrShadowRoot/styleSheets --- <div>{{SeeCompatTable}}{{APIRef("Shadow DOM")}}</div> diff --git a/files/ja/web/api/documentorshadowroot/mselementsfromrect/index.html b/files/ja/web/api/documentorshadowroot/mselementsfromrect/index.html deleted file mode 100644 index 57d9c2b7b7..0000000000 --- a/files/ja/web/api/documentorshadowroot/mselementsfromrect/index.html +++ /dev/null @@ -1,54 +0,0 @@ ---- -title: DocumentOrShadowRoot.msElementsFromRect() -slug: Web/API/DocumentOrShadowRoot/msElementsFromRect -tags: - - API - - 'API:Microsoft Extensions' - - Method - - Non-standard - - Reference - - msElementsFromRect -translation_of: Web/API/DocumentOrShadowRoot/msElementsFromRect ---- -<div>{{APIRef("Microsoft Extensions")}}{{Non-standard_Header}}</div> - -<p><strong><code>msElementsFromRect</code></strong> メソッドは、left、 top、 width、 heighで定義された四角形の下にある要素のノードリストを返します。</p> - -<p>この独自プロパティは Internet Explorer と Microsoft Edge に固有のものです。</p> - -<h2 id="構文">構文</h2> - -<pre class="syntaxbox notranslate"><em>object</em>.msElementsFromRect(left, top, width, height, retVal) -</pre> - -<h3 id="パラメータ">パラメータ</h3> - -<dl> - <dt><em>left </em>[in]</dt> - <dd>型: <strong>浮動小数点</strong></dd> - <dt><em>top</em>[in]</dt> - <dd>型: <strong>浮動小数点</strong></dd> - <dt><em>width</em>[in]</dt> - <dd>型: <strong>浮動小数点</strong></dd> - <dt><em>height </em>[in]</dt> - <dd>型: <strong>浮動小数点</strong></dd> - <dt><em>retVal </em>[out, reval]</dt> - <dd>型: <strong>ノードリスト</strong></dd> -</dl> - -<h2 id="例">例</h2> - -<p>特定のポイントの下にある全ての要素を検索するには、 <code>msElementsFromPoint(x, y)</code> を使用します。長方形を交差する全ての要素を見つけるには、 <code>msElementsFromRect(top, left, width, height)</code> を使用します。</p> - -<pre class="brush: js notranslate">var nodeList = document.msElementsFromRect(x,y,width,height) -var nodeList = document.msElementsFromPoint(x,y) -</pre> - -<p>返された nodeList には z-index でソートされているため、要素の相対的なスタック順序を確認できます。</p> - -<h2 id="See_Also" name="See_Also">関連項目</h2> - -<ul> - <li><a href="https://testdrive-archive.azurewebsites.net/HTML5/HitTest/Default.html">Advanced Hit Testing APIs Demo for msElementsFromPoint() and msElementsFromRect() </a></li> - <li><a href="/en-US/docs/Web/API/Microsoft_API_extensions">Microsoft API extensions </a></li> -</ul> diff --git a/files/ja/web/api/response/usefinalurl/index.html b/files/ja/web/api/response/usefinalurl/index.html deleted file mode 100644 index 6f18f681d8..0000000000 --- a/files/ja/web/api/response/usefinalurl/index.html +++ /dev/null @@ -1,60 +0,0 @@ ---- -title: Response.useFinalURL -slug: Web/API/Response/useFinalURL -tags: - - API - - Experimental - - Fetch - - Obsolete - - Property - - Reference - - Response - - useFinalURL -translation_of: Web/API/Response/useFinalURL ---- -<div>{{APIRef("Fetch")}}{{obsolete_header}}</div> - -<p>{{domxref("Response")}} インターフェイスの <strong><code>useFinalURL</code></strong> プロパティには、これが response の最終URLかどうかを示すbook値が含まれています。</p> - -<div class="note"> -<p>このプロパティは <a href="/en-US/docs/Web/API/ServiceWorker_API">ServiceWorkers</a> にのみに適用されます。他のコンテキストの場合、 <code>undefined</code> を返します。</p> -</div> - -<h2 id="構文">構文</h2> - -<pre class="syntaxbox notranslate">var <var>isfinalURL</var> = <var>Response</var>.useFinalURL;</pre> - -<h3 id="値">値</h3> - -<p>URLがリダイレクトでなく最終的なものかどうかを示す {{domxref("Boolean")}}</p> - -<h2 id="例">例</h2> - -<p>ページ <code>index.html</code> にあるスクリプトで考えてみます:</p> - -<pre class="brush: js notranslate">fetch('/test').then((r) => console.log(r.url))</pre> - -<p><code>test.html</code> は service worker <code>sw.js</code> によって制御されています:</p> - -<pre class="brush: js notranslate">onfetch = (e) => { - e.respondWith(fetch('/page2').then((r) => { - r.usefinalURL = true; - return r; - }) -}</pre> - -<p><code>usefinalURL</code> を設定すると、 response のURLが要求のURLに設定されないため、出力は <code>index.html</code> の <code>/test</code> ではなく <code>/page2</code> になります。</p> - -<h2 id="ブラウザーの互換性">ブラウザーの互換性</h2> - - - -<p>{{Compat("api.Response.useFinalURL")}}</p> - -<h2 id="関連項目">関連項目</h2> - -<ul> - <li><a href="/en-US/docs/Web/API/ServiceWorker_API">ServiceWorker API</a></li> - <li><a href="/en-US/docs/Web/HTTP/Access_control_CORS">HTTP access control (CORS)</a></li> - <li><a href="/en-US/docs/Web/HTTP">HTTP</a></li> -</ul> |