回答編集履歴

4

markdown修正

2017/06/14 11:40

投稿

think49
think49

スコア18166

test CHANGED
@@ -100,7 +100,7 @@
100
100
 
101
101
 
102
102
 
103
- displayプロパティは継承しない為、**input要素には display プロパティの初期値である inline が適用**されます。
103
+ displayプロパティは**継承しない**為、input要素には display プロパティの**初期値**である `inline` が適用されます。
104
104
 
105
105
 
106
106
 

3

Defaulting \(CSS Cascading and Inheritance Level 4\)

2017/06/14 11:40

投稿

think49
think49

スコア18166

test CHANGED
@@ -78,4 +78,44 @@
78
78
 
79
79
 
80
80
 
81
+ ### Defaulting (CSS Cascading and Inheritance Level 4)
82
+
83
+
84
+
85
+ - [7. Defaulting - CSS Cascading and Inheritance Level 4](https://drafts.csswg.org/css-cascade/#defaulting)
86
+
87
+ - [7. デフォルト法 — CSS Cascading and Inheritance Level 4 (日本語訳)](https://triple-underscore.github.io/css-cascade-ja.html#defaulting)
88
+
89
+
90
+
91
+ 上記リンク先より引用します。
92
+
93
+
94
+
95
+ > 7. デフォルト法
96
+
97
+ >
98
+
99
+ > カスケードの結果(カスケードの出力)が空である場合、他の何らかの方法で指定値が見出されなければならない。 継承プロパティは、その既定の値を,継承を通して親要素から取り込む。 他のすべてのプロパティは、その初期値を既定の値としてとる。 スタイルシート作者は、 inherit や initial キーワードを通して,明示的に継承/初期化を要請できる。
100
+
101
+
102
+
103
+ displayプロパティは継承しない為、**input要素には display プロパティの初期値である inline が適用**されます。
104
+
105
+
106
+
107
+ - [2. Box Layout Modes: the display property - CSS Display Module Level 3](https://drafts.csswg.org/css-display/#the-display-properties)
108
+
109
+ - [2. ボックスのレイアウトモード: display プロパティ - CSS Display Module Level 3 (日本語訳)](https://triple-underscore.github.io/css-display-ja.html#the-display-properties)
110
+
111
+
112
+
113
+ ### 更新履歴
114
+
115
+
116
+
117
+ - 2017/06/14 21:35 CSSのカスケード処理、Defaulting を追記
118
+
119
+
120
+
81
121
  Re: yuji38kwmt さん

2

CSSのカスケード処理 \(CSS Cascading and Inheritance Level 4\)

2017/06/14 11:35

投稿

think49
think49

スコア18166

test CHANGED
@@ -26,4 +26,56 @@
26
26
 
27
27
 
28
28
 
29
+ ### CSSのカスケード処理 (CSS Cascading and Inheritance Level 4)
30
+
31
+
32
+
33
+ - [6. カスケード法 - CSS におけるカスケード法と継承 — CSS Cascading and Inheritance Level 4 (日本語訳)](https://triple-underscore.github.io/css-cascade-ja.html#cascading)
34
+
35
+ - [6. Cascading - CSS Cascading and Inheritance Level 4](https://drafts.csswg.org/css-cascade/#cascading)
36
+
37
+
38
+
39
+ 上記リンク先より引用します。
40
+
41
+
42
+
43
+ > 1. Transition declarations [CSS3-TRANSITIONS] (和訳: Transition宣言)
44
+
45
+ > 2. Important user agent declarations (和訳: !important された User-Agent 宣言)
46
+
47
+ > 3. Important user declarations (和訳: !important されたUser宣言)
48
+
49
+ > 4. Important override declarations [DOM-LEVEL-2-STYLE] (和訳: !important された上書き宣言)
50
+
51
+ > 5. Important author declarations (和訳: !important された Author 宣言)
52
+
53
+ > 6. Animation declarations [CSS3-ANIMATIONS] (和訳: Animation宣言)
54
+
55
+ > 7. Normal override declarations [DOM-LEVEL-2-STYLE] (和訳: 通常の上書き宣言)
56
+
57
+ > 8. Normal author declarations (和訳: 通常の Author 宣言)
58
+
59
+ > 9. Normal user declarations (和訳: 通常の User 宣言)
60
+
61
+ > 10. Normal user agent declarations (和訳: 通常の User-Agent 宣言)
62
+
63
+
64
+
65
+ 分かりづらい表現ですが、一般的には次の用語で現されます。
66
+
67
+
68
+
69
+ - User-Agent 宣言はデフォルトスタイルシートを指します
70
+
71
+ - User 宣言はユーザCSSを指します
72
+
73
+ - Author 宣言は制作者CSSを指します
74
+
75
+
76
+
77
+ `input[type=hidden i]` 以外のinput要素の `display` プロパティは HTML Living Standard におけるデフォルトスタイルシートに指定がない為、製作者CSS、ユーザCSSに何も書かれていないならば、ここでは宣言されません。
78
+
79
+
80
+
29
81
  Re: yuji38kwmt さん

1

表現の修正

2017/06/14 11:26

投稿

think49
think49

スコア18166

test CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
 
18
18
 
19
- 本質問と関係はありませんが、`getComputedStyle()` と算出値(computed value)の関係が興味深かったで参考までに。
19
+ 本質問と関係はありませんが、`getComputedStyle()` と算出値(computed value)の関係が興味深かったで参考までに。
20
20
 
21
21
 
22
22