From 57c4aff2c8160b2d5ebb7302874ba0d7f3fedf02 Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Tue, 14 Sep 2021 23:03:58 +0900 Subject: Web/CSS以下の文書内のリンクURLを正規化 (#2368) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - /en-US へのリンクを /ja へのリンクに修正 - /ja が付いていないものに /ja を付加 - MDN内のリンクが完全URLの場合、 /ja/docs からのURLに修正 --- files/ja/web/css/css_containment/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/ja/web/css/css_containment/index.html') diff --git a/files/ja/web/css/css_containment/index.html b/files/ja/web/css/css_containment/index.html index f06dce4200..38ea507e3e 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; } -

Despite the name, style containment does not provide scoped styles such as you would get with the Shadow DOM. The main use case is to prevent situations where a CSS Counter could be changed in an element, which could then affect the rest of the tree. 

+

Despite the name, style containment does not provide scoped styles such as you would get with the Shadow DOM. The main use case is to prevent situations where a CSS Counter could be changed in an element, which could then affect the rest of the tree. 

Using contain: style would ensure that the {{cssxref("counter-increment")}} and {{cssxref("counter-set")}} properties created new counters scoped to that subtree only.

-- cgit v1.2.3-54-g00ecf