-
Bug
-
Resolution: Fixed
-
P4
-
fx2.0
In trying to create FX versions of a number of HTML5 Canvas examples I found a few of them using the color notation "rgb(int, int, int)" notation and "rgba(int, int, int, float)" notations which seem to be valid color syntaxes used in web pages, but are not parsed by our Color.web() method. Note that we do process rgb and rgba notations using the "#HHHHHH" and "#HHHHHHHH" notations which are more common. Apparently there are also hsl and hsla notations as well.
http://www.w3.org/TR/css3-color/#rgb-color
http://www.w3.org/TR/css3-color/#rgba-color
http://www.w3.org/TR/css3-color/#hsl-color
http://www.w3.org/TR/css3-color/#hsla-color
http://www.w3.org/TR/css3-color/#rgb-color
http://www.w3.org/TR/css3-color/#rgba-color
http://www.w3.org/TR/css3-color/#hsl-color
http://www.w3.org/TR/css3-color/#hsla-color
- blocks
-
JDK-8092406 Color.web(String) should not be documented to accept rgba hex constants
- Open
- relates to
-
JDK-8099034 make Color.web(:String) parse RGBA Color
- Resolved
-
JDK-8090778 Provide a "toWeb()" method for the Color class
- Open