You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Matthias Bläsing (Jira)" <ji...@apache.org> on 2020/08/06 18:57:00 UTC

[jira] [Updated] (NETBEANS-2532) Update CSS help

     [ https://issues.apache.org/jira/browse/NETBEANS-2532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Bläsing updated NETBEANS-2532:
---------------------------------------
    Fix Version/s: 12.2

> Update CSS help
> ---------------
>
>                 Key: NETBEANS-2532
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2532
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: web - CSS Editor
>    Affects Versions: 11.0
>            Reporter: Pete Whelpton
>            Assignee: Matthias Bläsing
>            Priority: Minor
>              Labels: css, help, web
>             Fix For: 12.2
>
>
> 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....



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists