JDK-8294090 : Aligns the CSS and function behaviours
  • Type: Enhancement
  • Component: client-libs
  • Affected Version: 11,17
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: generic
  • CPU: generic
  • Submitted: 2022-09-19
  • Updated: 2023-08-13
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
tbdUnresolved
Related Reports
Relates :  
Description
A DESCRIPTION OF THE PROBLEM :
Aligns the <rgb()> and <rgba()>  function behaviours in CSS.java, as described in :
CSS Color Module Level 4
W3C Candidate Recommendation Snapshot, 5 July 2022
[6.1. The RGB functions: rgb() and rgba()](https://www.w3.org/TR/css-color-4/#funcdef-rgb)

- In this recommendation there is no difference between the two function behaviours but this is not the case in the JDK present implementation.
- Some other parts of the described syntax are not supported.

Details and the code to test the present implementation at https://github.com/scientificware/jdk/issues/16.



Comments
A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/15262 Date: 2023-08-13 18:17:57 +0000
13-08-2023