Commit 34cdac9
authored
Fix naming logic when dropping duplicate CSS properties (#1444)
The script that drops duplicate CSS properties in known superseded specs did
not follow the exact same file naming logic as that followed by the crawler.
It took for granted that the file had to be the spec's shortname if the spec
wasn't the current specification, but the logic followed by the crawler is
rather that defined in `isLatestLevelThatPasses`: the latest full level that
defines some CSS is the one that provides the series CSS extract.
This nuance had never led to any problem in this part of the code because a
spec that defines superseded content typically does not have a "next" level
that is not the current level and that keeps on defining the superseded
content. Copying the superseded content to a newer level does not make sense,
right? Well, that's what `css-multicol-2` currently does.
This update fixes the file naming logic, which should have followed that of the
crawler in any case.1 parent 3524b46 commit 34cdac9
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
| 250 | + | |
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
| |||
0 commit comments