Skip to content

Commit 449fcb7

Browse files
committed
same as previous commit, RGBA output is relying on proper output from underlying values
1 parent e07400c commit 449fcb7

1 file changed

Lines changed: 3 additions & 10 deletions

File tree

org/w3c/css/values/RGBA.java

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -101,16 +101,9 @@ public String toString() {
101101
if (output == null) {
102102
StringBuilder sb = new StringBuilder();
103103
sb.append(fname).append('(');
104-
if (isPercent()) {
105-
sb.append(vr).append("%, ");
106-
sb.append(vg).append("%, ");
107-
sb.append(vb).append("%, ");
108-
} else {
109-
sb.append(vr).append(", ");
110-
sb.append(vg).append(", ");
111-
sb.append(vb).append(", ");
112-
113-
}
104+
sb.append(vr).append(", ");
105+
sb.append(vg).append(", ");
106+
sb.append(vb).append(", ");
114107
sb.append(va).append(')');
115108
output = sb.toString();
116109
}

0 commit comments

Comments
 (0)