Skip to content

Commit 5c6b70b

Browse files
committed
Typed OM: specification update
1 parent e588966 commit 5c6b70b

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

cssom-api/src/main/java/org/w3c/css/om/typed/CSSColor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ public interface CSSColor extends CSSColorValue {
4545
CSSNumericValue getAlpha();
4646

4747
/**
48-
* Sets the alpha channel as a percentage.
48+
* Sets the alpha channel.
4949
*
50-
* @param alpha the alpha channel as a percentage.
50+
* @param alpha the alpha channel as a number in the {@code [0-1]} interval.
5151
*/
5252
void setAlpha(double alpha);
5353

cssom-api/src/main/java/org/w3c/css/om/typed/CSSLCH.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public interface CSSLCH extends CSSColorValue {
2626
/**
2727
* Sets the {@code l} component as a percentage.
2828
*
29-
* @param l the {@code l} component as a percentage.
29+
* @param l the {@code l} component as a number in the {@code [0-1]} interval.
3030
*/
3131
void setL(double l);
3232

@@ -48,7 +48,7 @@ public interface CSSLCH extends CSSColorValue {
4848
/**
4949
* Sets the {@code c} component as a percentage.
5050
*
51-
* @param c the {@code c} component as a percentage.
51+
* @param c the {@code c} component as a number in the {@code [0-1]} interval.
5252
*/
5353
void setC(double c);
5454

cssom-api/src/main/java/org/w3c/css/om/typed/CSSLab.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public interface CSSLab extends CSSColorValue {
2626
/**
2727
* Sets the {@code l} component as a percentage.
2828
*
29-
* @param l the {@code l} component as a percentage.
29+
* @param l the {@code l} component as a number in the {@code [0-1]} interval.
3030
*/
3131
void setL(double l);
3232

cssom-api/src/main/java/org/w3c/css/om/typed/CSSRGB.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ public interface CSSRGB extends CSSColorValue {
2424
CSSNumericValue getR();
2525

2626
/**
27-
* Sets the {@code r} component as a percentage.
27+
* Sets the {@code r} component.
2828
*
29-
* @param r the {@code r} component as a percentage.
29+
* @param r the {@code r} component as a number in the {@code [0-1]} interval.
3030
*/
3131
void setR(double r);
3232

@@ -47,9 +47,9 @@ public interface CSSRGB extends CSSColorValue {
4747
CSSNumericValue getG();
4848

4949
/**
50-
* Sets the {@code g} component as a percentage.
50+
* Sets the {@code g} component.
5151
*
52-
* @param g the {@code g} component as a percentage.
52+
* @param g the {@code g} component as a number in the {@code [0-1]} interval.
5353
*/
5454
void setG(double g);
5555

@@ -70,9 +70,9 @@ public interface CSSRGB extends CSSColorValue {
7070
CSSNumericValue getB();
7171

7272
/**
73-
* Sets the {@code b} component as a percentage.
73+
* Sets the {@code b} component.
7474
*
75-
* @param b the {@code b} component as a percentage.
75+
* @param b the {@code b} component as a number in the {@code [0-1]} interval.
7676
*/
7777
void setB(double b);
7878

@@ -93,9 +93,9 @@ public interface CSSRGB extends CSSColorValue {
9393
CSSNumericValue getAlpha();
9494

9595
/**
96-
* Sets the alpha channel as a percentage.
96+
* Sets the alpha channel.
9797
*
98-
* @param alpha the alpha channel as a percentage.
98+
* @param alpha the alpha channel as a number in the {@code [0-1]} interval.
9999
*/
100100
void setAlpha(double alpha);
101101

0 commit comments

Comments
 (0)