-
Notifications
You must be signed in to change notification settings - Fork 707
/
Copy pathimplementation-report.html
307 lines (273 loc) · 8.37 KB
/
implementation-report.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
<!DOCTYPE html>
<html lang=en>
<meta charset=utf-8>
<title>CSS Cascading and Inheritance Level 3 Implementation Report</title>
<style>
/** General Text Styling ******************************************************/
html {
font-family: sans-serif;
line-height: 1.5;
margin: 0.5em 4%;
padding: 0 0.5em;
}
body {
margin: 0; padding: 2rem;
}
h1, h2, h3, h4 {
color: navy;
line-height: 1;
margin: 3rem 0 1rem -2rem;
}
h1:first-child {
margin-top: 0;
}
aside {
font-style: italic;
}
p.annotation {
text-align: right;
text-align: end;
font-style: italic;
}
dt {
font-weight: bold;
}
dd {
margin-bottom: 1em;
}
ul {
list-style-type: circle;
}
code {
font: inherit;
font-style: italic;
}
:link, :visited {
color: navy;
}
/** Data tables ***************************************************************/
table {
word-wrap: normal;
overflow-wrap: normal;
hyphens: manual;
text-align: center;
}
table.data {
margin: 1em auto;
border-collapse: collapse;
border: hidden;
border-bottom: none;
width: 100%;
font-size: 90%;
}
table.data caption {
max-width: 50em;
margin: 0 auto 1em;
}
table.data tr {
border-width: 1px;
border-color: silver;
border-top-style: solid;
}
table.data thead,
table.data tbody {
border-bottom: 2px solid gray;
}
table.data td, table.data th {
padding: 0.25em 1em;
vertical-align: baseline;
}
table.data thead td:empty {
padding: 0;
border: 0;
}
table.data tbody th,
table.data td:first-child {
font: inherit;
text-align: left;
}
table.data th[scope=rowgroup] {
font-weight: bold;
background: #EEE;
}
table.data img {
vertical-align: middle;
}
</style>
<h1>CSS Cascading and Inheritance Level 3 Implementation Report</h1>
<p class="annotation">Last updated <time>2020-08-25</time>
<p>The following new features were added in Level 3:
<table class=data>
<thead>
<tr>
<th>Feature
<th>Gecko
<th>Blink
<th>WebKit
<th>EdgeHTML
<tbody>
<tr>
<th><a href="#all"><code>all</code> shorthand</a>
<td>27+
<td>37+
<td>525+
<td>×
<tr>
<th><a href="#initial"><code>initial</code> keyword</a>
<td>19+
<td>28+
<td>532+
<td>12+
<!-- CSS2
<tr>
<th><a href="#unset"><code>inherit</code> keyword</a>
<td>1.8.1+
<td>28+
<td>525+
<td>12+
-->
<tr>
<th><a href="#unset"><code>unset</code> keyword</a>
<td>27+
<td>41+
<td>601.5+
<td>13+
</table>
<p class="annotation"><small>Version data sourced from <a href="https://caniuse.com/">caniuse.com</a> and <a href="https://en.wikipedia.org/">Wikipedia</a></small>
<p>The following module integrations were defined in Level 3:
<table class=data>
<thead>
<tr>
<th>Feature
<th>Gecko
<th>Blink
<th>WebKit
<th>EdgeHTML
<tbody>
<tr>
<th><a href="#mq-import">Media Queries + @import</a>
<td>○
<td>○
<td>○
<td>○
<tr>
<th><a href="#animations">Animations + Cascade</a>
<td>○
<td>○
<td>×
<td>?
<tr>
<th><a href="#transitions">Transitions + Cascade</a>
<td>○
<td>○
<td>○
<td>○
</table>
<h2 id=details>
Detailed Testing</h2>
<p>Tables below include Gecko, Blink, and WebKit results for Level 3 features.
<table class=data>
<thead>
<tr>
<th>Test
<th>Interop?
<th>Results
<th>Live
<tbody id=all>
<tr><th scope=rowgroup colspan=4>
<a href="https://www.w3.org/TR/css-cascade-3/#all-shorthand"><code>all</code> Shorthand</a>
<tr>
<th><code>all</code> does not set <code>direction</code> or <code>unicode-bidi</code>
<td>○
<td><a href="https://wpt.fyi/results/css/css-cascade/all-prop-001.html">3/3 Pass</a>
<td><a href="https://wpt.live/css/css-cascade/all-prop-001.html">Test</a>
<tr>
<th><code>all</code> does set <code>display</code>
<td>○
<td><a href="https://wpt.fyi/results/css/css-cascade/all-prop-002.html">3/3 Pass</a>
<td><a href="https://wpt.live/css/css-cascade/all-prop-002.html">Test</a>
<tr>
<th><code>all: inherit</code> is overridden by subsequent declarations
<td>○
<td><a href="https://wpt.fyi/results/css/css-cascade/all-prop-inherit-color.html">3/3 Pass</a>
<td><a href="https://wpt.live/css/css-cascade/all-prop-inherit-color.html">Test</a>
<tr>
<th><code>all: initial</code> is overridden by subsequent declarations
<td>○
<td><a href="https://wpt.fyi/results/css/css-cascade/all-prop-initial-color.html">3/3 Pass</a>
<td><a href="https://wpt.live/css/css-cascade/all-prop-initial-color.html">Test</a>
<tr>
<th><code>all: unset</code> is overridden by subsequent declarations
<td>○
<td><a href="https://wpt.fyi/results/css/css-cascade/all-prop-unset-color.html">3/3 Pass</a>
<td><a href="https://wpt.live/css/css-cascade/all-prop-unset-color.html">Test</a>
<tbody id=initial>
<tr><th colspan=4 scope=rowgroup>
<a href="https://www.w3.org/TR/css-cascade-3/#initial"><code>initial</code> Keyword</a>
<tr>
<th><code>initial</code> sets inherited and uninherited properties to their initial value
<td>○
<td><a href="https://wpt.fyi/results/css/css-cascade/initial-color-background-001.html">3/3 Pass</a>
<td><a href="https://wpt.live/css/css-cascade/initial-color-background-001.html">Test</a>
<tbody id=unset>
<tr><th colspan=4 scope=rowgroup>
<a href="https://www.w3.org/TR/css-cascade-3/#unset"><code>unset</code> Keyword</a>
<tr>
<th><code>unset</code> sets inherited properties to inherit,
and uninherited properties to their initial value
<td>○
<td><a href="https://wpt.fyi/results/css/css-cascade/unset-val-001.html">3/3 Pass</a>
<td><a href="https://wpt.live/css/css-cascade/unset-val-001.html">Test</a>
<tr>
<th><code>unset</code> sets uninherited properties to their initial value
despite UA style sheet declarations to the contrary
<td>○
<td><a href="https://wpt.fyi/results/css/css-cascade/unset-val-002.html">3/3 Pass</a>
<td><a href="https://wpt.live/css/css-cascade/unset-val-002.html">Test</a>
<tbody id=mq-import>
<tr><th colspan=4 scope=rowgroup>
<a href="https://www.w3.org/TR/css3-mediaqueries/">Media Queries</a> + <a href="https://www.w3.org/TR/css-cascade-3/#at-import">@import</a> Integration
<tr>
<th><code>@import</code> rules with simple <a href="https://www.w3.org/TR/css3-mediaqueries/">media queries</a> are supported
<td>○
<td><a href="https://wpt.fyi/results/css/css-cascade/import-conditional-001.html">3/3 Pass</a>
<td><a href="https://wpt.live/css/css-cascade/import-conditional-001.html">Test</a>
<tbody id=animations>
<tr><th colspan=4 scope=rowgroup>
<a href="https://www.w3.org/TR/css-animations-1/">Animations</a> + <a href="https://www.w3.org/TR/css-cascade-3/#cascading">Cascade</a> Integration
<tr>
<th>Author non-<code>!important</code> is overridden by animation
<td>○
<td><a href="https://wpt.fyi/results/css/css-cascade/important-prop.html">3/3 Pass</a>
<td><a href="https://wpt.live/css/css-cascade/important-prop.html">Test</a>
<tr>
<th>Author <code>!important</code> overrides animation
<td>△
<td><a href="https://wpt.fyi/results/css/css-cascade/important-prop.html">2/3 Pass</a>
<td><a href="https://wpt.live/css/css-cascade/important-prop.html">Test</a>
<tr>
<th><code>!important</code> is invalid in <code>@keyframes</code>
<td>○
<td><a href="https://wpt.fyi/results/css/css-cascade/important-prop.html">3/3 Pass</a>
<td><a href="https://wpt.live/css/css-cascade/important-prop.html">Test</a>
<tbody id=transitions>
<tr><th colspan=4 scope=rowgroup>
<a href="https://www.w3.org/TR/css-transitions-1/">Transitions</a> + <a href="https://www.w3.org/TR/css-cascade-3/#cascading">Cascade</a> Integration
<tr>
<th>Transitions work across importance levels
<td>○
<td>3/3 Pass
<td><a href="https://wpt.live/css/css-cascade/important-transition-manual.html">Test</a>
</table>
<h2 id=untested>
Untested</h2>
<p>The following test could be written in theory, but would require special configuration of the user agent:
<ul>
<li>Transitions work across <code>!important</code> levels of user and user-agent origins.
</ul>
<p>The following tests could be written in theory, but correct behavior is implied
by passing the <a href="http://wpt.live/css/CSS2/cascade/">CSS2 user-stylesheet tests</a> together with the Level 3 tests:
<ul>
<li>User and user-agent non-<code>!important</code> are overridden by animations
<li>User and user-agent <code>!important</code> overrides animations
</ul>