Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
11.0
Description
CSS help (as displayed in Code Completion help window) is derived from two .zip files:
css21-spec.zip
css3-spec.zip
which are downloaded from OSUOSL at build time. The .zips contain the html pages of the official CSS specs from the W3C website.
Also, NB decides which zip to check by parsing the module URL in DefaultCssEditorModule.java. If the URL contains css3, then the css3-spec.zip folder is search for the appropriate HTML page, otherwise the css21-spec.zip is search.
There are three problems:
1) Both of these .zip files contain really old versions of the specs!
2) W3C no longer put css3 in the URL of module web pages. E.g. https://www.w3c.ord/TR/css3-values is now https://www.w3c.org/TR/css-values-3/
3) This logic doesn't take into account new modules that have started back at Level 1 again, or new versions of existing modules that are now on Level 4
My proposal would be to create one .zip file of the latest versions of the specs, update DefaultCssEditorModule.java with the current URLs for the specs on the w3c site, and then have just one help resolver that parsed that one .zip file.
I'd be happy to do a lot of this work - although I don't have access to upload binaries to OSUOSL, so if somebody who does gets in touch we can get cracking....