JDK-8217270 : Broken link to cssref.html in javafx.controls package docs
  • Type: Bug
  • Component: javafx
  • Sub-Component: controls
  • Affected Version: openjfx11,openjfx12
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-01-16
  • Updated: 2019-01-18
  • Resolved: 2019-01-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
openjfx12Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
The link to the CSS reference guide from https://openjfx.io/javadoc/11/javafx.controls/javafx/scene/control/package-summary.html gives a 404, pointing to https://openjfx.io/javadoc/11/javafx.controls/javafx/scene/doc-files/cssref.html.
The file javafx.controls/javafx/scene/control/package-summary.html links by using href="../doc-files/cssref.html". 

This is a result of the javadoc restructuring to organize docs by module (JDK-8195795) for the JDK 11 javadoc tool. The javafx.controls package docs refers to the cssref.html guide as "../doc-files/cssref.html". Since they are now in different modules, it is necessary to include the module name in the path, like this:

href="../../../javafx.graphics/scene/doc-files/cssref.html"

Comments
Changeset: ba2286ffd9cb Author: nlisker Date: 2019-01-16 17:12 -0800 URL: http://hg.openjdk.java.net/openjfx/jfx-dev/rt/rev/ba2286ffd9cb 8217270: Broken link to cssref.html in javafx.controls package docs Reviewed-by: kcr
17-01-2019

Right, I had one too few ".." in the description. Fix looks good. +1
17-01-2019

Webrev: http://cr.openjdk.java.net/~nlisker/8217270/webrev.00/ Note that the correct fix is: href="../../../../javafx.graphics/javafx/scene/doc-files/cssref.html", which is slightly different than the suggestion in the description.
17-01-2019

[~nlisker] Feel free to take this if you want to
16-01-2019