Commit 18a45cb
committed
Simplify internal CSS-version handling for colors
Internally the code was maintaining a list of “CSS4” colors and a list of “CSS3”
colors, but the only difference between the two was the color `rebeccapurple`.
So this change adds `rebeccapurple` to the list of “CSS3” colors and changes the
rest of the code to use that wherever it was previously using the “CSS4” list.
That old code was the only place where a “CSS4” distinction was used for any
feature being checked. So this change makes the color-checking version behavior
consistent with the rest of the code, where the “CSS3” label now just means in
practice “the latest relevant spec for whatever feature is being checked”.1 parent 096fa5a commit 18a45cb
File tree
3 files changed
+4
-210
lines changed- org/w3c/css/values
3 files changed
+4
-210
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
| 310 | + | |
310 | 311 | | |
311 | 312 | | |
312 | 313 | | |
| |||
325 | 326 | | |
326 | 327 | | |
327 | 328 | | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | 329 | | |
348 | 330 | | |
349 | 331 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
| |||
This file was deleted.
0 commit comments