File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/java.desktop/share/classes/javax/swing/text/html Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1364,7 +1364,7 @@ static final Color hexToColor(String digits) {
13641364 digits = digits .substring (1 , Math .min (n , 9 ));
13651365 n --;
13661366 }
1367- // CSS level 4
1367+ // CSS Color level 4
13681368 // - defines color hex code as #[2 digits Red][2 digits Green][2 digits Blue][2 digits Alpha]. With digit 0 ... f.
13691369 // - allows, webpage passes 3, 4, 6 or 8 digit color code.
13701370 // - 3 digits #[R][G][B] ........ represents #[RR][GG][BB]FF
@@ -1373,7 +1373,7 @@ static final Color hexToColor(String digits) {
13731373 // - 8 digits #[RR][GG][BB][AA] . represents #[RR][GG][BB][AA]
13741374 //
13751375 // Becareful ! In java.awt.Color hex #[2 digits Alpha][2 digits Red][2 digits Green][2 digits Blue]
1376- // Since this method is defined in CSS.java, it must only take in charge CSS Level 4 color format .
1376+ // Since this method is defined in CSS.java, it must only take in charge CSS Color Level 4 notations .
13771377 //
13781378 // According notes below the current OpenJDK implementation is
13791379 // - 3 digits #[R][G][B] represents #[RR][GG][BB]FF
You can’t perform that action at this time.
0 commit comments