aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/css/_colon_host-context()/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja/web/css/_colon_host-context()/index.html')
-rw-r--r--files/ja/web/css/_colon_host-context()/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ja/web/css/_colon_host-context()/index.html b/files/ja/web/css/_colon_host-context()/index.html
index 95dd31f58e..cd6c5f9b94 100644
--- a/files/ja/web/css/_colon_host-context()/index.html
+++ b/files/ja/web/css/_colon_host-context()/index.html
@@ -14,7 +14,7 @@ translation_of: 'Web/CSS/:host-context()'
---
<div>{{CSSRef}}</div>
-<p><span class="seoSummary"><strong><code>:host-context()</code></strong> は <a href="/ja/docs/Web/CSS">CSS</a> の<a href="/en-US/docs/Web/CSS/Pseudo-classes">擬似クラス</a>関数で、内部で使用される CSS を含む<a href="/ja/docs/Web/Web_Components/Using_shadow_DOM">シャドウ DOM</a> のシャドウホストを選択します (そのため、シャドウ DOM の中のカスタム要素を選択することができます)。 — しかし、関数の引数として与えられたセレクターがシャドウホストの祖先に一致した場合のみです。</span></p>
+<p><span class="seoSummary"><strong><code>:host-context()</code></strong> は <a href="/ja/docs/Web/CSS">CSS</a> の<a href="/ja/docs/Web/CSS/Pseudo-classes">擬似クラス</a>関数で、内部で使用される CSS を含む<a href="/ja/docs/Web/Web_Components/Using_shadow_DOM">シャドウ DOM</a> のシャドウホストを選択します (そのため、シャドウ DOM の中のカスタム要素を選択することができます)。 — しかし、関数の引数として与えられたセレクターがシャドウホストの祖先に一致した場合のみです。</span></p>
<p><span class="seoSummary">言い換えれば、これによってカスタム要素やそのカスタム要素のシャドウ DOM 内のものは、外部 DOM 内の位置や、祖先要素に適用されたクラスや属性に基づいて、異なるスタイルを適用することができます。</span></p>