New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
css3-conditional should be css-conditional #11
Comments
Reffy starts from In this case, the starting URL is Whatever draft Reffy crawls, this is not going to change the name of the IDL file. As explained around #3 (comment), for better or worse, the IDL file is named from the |
SGTM (and thanks for the explanation). @gsnedders you happy with that? |
See w3c/webref#11 for context
FWIW, this is mostly just a legacy thing and it shows that css-conditional-3 hasn't been republished in a long time. As for the ED URL being levelled, can one of you file a bug in w3c/csswg-drafts about that, given I'm about to go to bed? It should be consistent with everything else in the repo and be unversioned. |
FWIW, in a similar effort of turning URLs into IDs, in https://github.com/foolip/day-to-day/blob/d336df7d08d57204a68877ec51866992ea78e7a2/build/specs.js#L176 I found it necessary to replace "css3" with "css", with one unfortunately exception to the rule with css3-background vs. css-backgrounds. As you can guess from the "no versions thanks" comment, I'd like it if there were no versions, and it looks like this is the only outlier. |
See comment at: w3c/webref#11 (comment) ... and related code at: https://github.com/foolip/day-to-day/blob/d336df7d08d57204a68877ec51866992ea78e7a2/build/specs.js#L176 Reffy now follows the same logic and has the same exception-to-the-rule for CSS Backgrounds (that spec does not define any IDL content, but the rules are also used to name the CSS dumps that Reffy now creates)
See discussion in #11. Reffy now drops the `3` for specs whose shortname starts with `css3-` to drop the version. IDL file renamed to `css-conditional.idl` accordingly.
I've now adopted similar rules in Reffy, including the |
Reffy should now create a Note that the URL of the ED that appears in the |
FWIW, this was done years ago, this is just a consequence of that spec not having been republished since 2013. I wonder if it's worthwhile having the W3C API return an unversioned string for every spec? |
From web-platform-tests/wpt#11868 (comment)
Scrape should be from the non-levelled https://drafts.csswg.org/css-conditional/, and filename should stay as css-conditional.
cc @gsnedders
The text was updated successfully, but these errors were encountered: