Skip to content

Commit fd7be8c

Browse files
committed
2023/02/21 時点の英語版に基づき更新
1 parent b9cf829 commit fd7be8c

File tree

3 files changed

+19
-9
lines changed

3 files changed

+19
-9
lines changed

files/ja/web/css/dimension/index.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title: <dimension>
33
slug: Web/CSS/dimension
4+
l10n:
5+
sourceCommit: 66944f622b6b51bc9c24bebbbea242138d910600
46
---
57

68
{{CSSRef}}
@@ -17,7 +19,7 @@ CSS は `<dimension>` を使用して、長さ ({{CSSxRef("&lt;length&gt;")}})
1719

1820
### 有効な dimension
1921

20-
```css example-good
22+
```plain example-good
2123
12px 12 ピクセル
2224
1rem 1rem
2325
1.2pt 1.2 ポイント
@@ -29,7 +31,7 @@ CSS は `<dimension>` を使用して、長さ ({{CSSxRef("&lt;length&gt;")}})
2931

3032
### 無効な dimension
3133

32-
```css example-bad
34+
```plain example-bad
3335
12 px 単位は数値の直後に来る必要がある。
3436
12"px" 単位は識別子であり、引用符で囲まない。
3537
3sec 秒の単位は "s" であり "sec" ではない。

files/ja/web/css/display-box/index.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title: <display-box>
33
slug: Web/CSS/display-box
4+
l10n:
5+
sourceCommit: 66944f622b6b51bc9c24bebbbea242138d910600
46
---
57

68
{{CSSRef}}
@@ -25,9 +27,13 @@ slug: Web/CSS/display-box
2527

2628
多くのブラウザーの現在の実装では、[アクセシビリティツリー](/ja/docs/Learn/Accessibility/What_is_accessibility#accessibility_apis)から `display` の値が `contents` である要素を削除します。これにより、その要素は — また、一部の版のブラウザーではその子孫要素も — 読み上げ技術で読み上げられなくなります。これは [CSSWG 仕様書](https://drafts.csswg.org/css-display/#the-display-properties)によれば、正しくない動作です。
2729

28-
- [More accessible markup with display: contents | Hidde de Vries](https://hiddedevries.nl/en/blog/2018-04-21-more-accessible-markup-with-display-contents)
30+
- [More accessible markup with display: contents | Hidde de Vries](https://hidde.blog/more-accessible-markup-with-display-contents/)
2931
- [Display: Contents Is Not a CSS Reset | Adrian Roselli](https://adrianroselli.com/2018/05/display-contents-is-not-a-css-reset.html)
3032

33+
## 形式文法
34+
35+
{{csssyntax}}
36+
3137
##
3238

3339
最初の例では、 secret クラスの段落に `display: none` を設定します。ボックスとその内容は表示されなくなります。
@@ -89,8 +95,6 @@ p.secret {
8995

9096
## ブラウザーの互換性
9197

92-
### contents の対応
93-
9498
{{Compat}}
9599

96100
## 関連情報
@@ -104,4 +108,4 @@ p.secret {
104108
- {{CSSxRef("&lt;display-legacy&gt;")}}
105109

106110
- [Display: Contents Is Not a CSS Reset | Adrian Roselli](https://adrianroselli.com/2018/05/display-contents-is-not-a-css-reset.html)
107-
- [More accessible markup with display: contents — hiddedevries.nl](https://hiddedevries.nl/en/blog/2018-04-21-more-accessible-markup-with-display-contents)
111+
- [More accessible markup with display: contents — hiddedevries.nl](https://hidde.blog/more-accessible-markup-with-display-contents/)

files/ja/web/css/display-listitem/index.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title: <display-listitem>
33
slug: Web/CSS/display-listitem
4+
l10n:
5+
sourceCommit: 66944f622b6b51bc9c24bebbbea242138d910600
46
---
57

68
{{CSSRef}}
@@ -15,7 +17,11 @@ slug: Web/CSS/display-listitem
1517

1618
> **メモ:** 二つの値の構文に対応しているブラウザーでは、内部表示種別がないと既定で `flow` になります。外部表示種別が指定されないと、基本ボックスは外部表示種別が `block` になります。
1719
18-
<h2 id="Examples">例</h2>
20+
## 形式文法
21+
22+
{{csssyntax}}
23+
24+
##
1925

2026
### HTML
2127

@@ -42,8 +48,6 @@ slug: Web/CSS/display-listitem
4248

4349
## ブラウザーの互換性
4450

45-
### `list-item` の対応
46-
4751
{{Compat}}
4852

4953
## 関連情報

0 commit comments

Comments
 (0)