diff options
| author | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2021-11-15 23:57:44 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-15 23:57:44 +0900 |
| commit | b95676aefde232670325270899f913c1b61c714b (patch) | |
| tree | 45710d9b1229e08a9ded12ef78d140997ab11095 /files/ja/web/css/css_containment | |
| parent | f638669df64708eddcacf2d7ef5b3f9fd7a6da51 (diff) | |
| download | translated-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.html | 2 |
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> |
