aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/css/css_containment
diff options
context:
space:
mode:
authorMasahiro FUJIMOTO <mfujimot@gmail.com>2021-11-15 23:57:44 +0900
committerGitHub <noreply@github.com>2021-11-15 23:57:44 +0900
commitb95676aefde232670325270899f913c1b61c714b (patch)
tree45710d9b1229e08a9ded12ef78d140997ab11095 /files/ja/web/css/css_containment
parentf638669df64708eddcacf2d7ef5b3f9fd7a6da51 (diff)
downloadtranslated-content-b95676aefde232670325270899f913c1b61c714b.tar.gz
translated-content-b95676aefde232670325270899f913c1b61c714b.tar.bz2
translated-content-b95676aefde232670325270899f913c1b61c714b.zip
"CSS カウンターの使用" を移動 (#2993)
- "CSS カウンターの使用" を CSS Lists の下から CSS Counter Style の下へ移動
Diffstat (limited to 'files/ja/web/css/css_containment')
-rw-r--r--files/ja/web/css/css_containment/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/ja/web/css/css_containment/index.html b/files/ja/web/css/css_containment/index.html
index 38ea507e3e..5394b5793c 100644
--- a/files/ja/web/css/css_containment/index.html
+++ b/files/ja/web/css/css_containment/index.html
@@ -83,7 +83,7 @@ translation_of: Web/CSS/CSS_Containment
contain: style;
}</pre>
-<p>Despite the name, style containment does not provide scoped styles such as you would get with the <a href="/ja/docs/Web/Web_Components/Using_shadow_DOM">Shadow DOM</a>. The main use case is to prevent situations where a <a href="/ja/docs/Web/CSS/CSS_Lists_and_Counters/Using_CSS_counters">CSS Counter</a> could be changed in an element, which could then affect the rest of the tree. </p>
+<p>Despite the name, style containment does not provide scoped styles such as you would get with the <a href="/ja/docs/Web/Web_Components/Using_shadow_DOM">Shadow DOM</a>. The main use case is to prevent situations where a <a href="/ja/docs/Web/CSS/CSS_Counter_Styles/Using_CSS_counters">CSS Counter</a> could be changed in an element, which could then affect the rest of the tree. </p>
<p>Using <code>contain: style</code> would ensure that the {{cssxref("counter-increment")}} and {{cssxref("counter-set")}} properties created new counters scoped to that subtree only.</p>