|
25 | 25 | import io.sf.carte.doc.style.css.CSSValue;
|
26 | 26 | import io.sf.carte.doc.style.css.CSSValue.CssType;
|
27 | 27 | import io.sf.carte.doc.style.css.CSSValue.Type;
|
| 28 | +import io.sf.carte.doc.style.css.CSSValueList; |
28 | 29 | import io.sf.carte.doc.style.css.RGBAColor;
|
29 | 30 | import io.sf.carte.doc.style.css.nsac.LexicalUnit;
|
30 | 31 | import io.sf.carte.doc.style.css.om.BaseCSSStyleDeclaration;
|
31 | 32 | import io.sf.carte.doc.style.css.om.CSSOMBridge;
|
32 | 33 | import io.sf.carte.doc.style.css.parser.ParseHelper;
|
33 |
| -import io.sf.carte.doc.style.css.property.LinkedCSSValueList; |
34 | 34 | import io.sf.carte.doc.style.css.property.NumberValue;
|
35 | 35 | import io.sf.carte.doc.style.css.property.PropertyDatabase;
|
36 | 36 | import io.sf.carte.doc.style.css.property.StyleValue;
|
@@ -222,14 +222,14 @@ && similarAlphaValue(color.getAlpha(), otherColor.getAlpha())) {
|
222 | 222 | if (gradient.getGradientType() != gradientOther.getGradientType()) {
|
223 | 223 | return 2;
|
224 | 224 | }
|
225 |
| - LinkedCSSValueList args = gradient.getArguments(); |
226 |
| - LinkedCSSValueList argsOther = gradientOther.getArguments(); |
| 225 | + CSSValueList<? extends CSSValue> args = gradient.getArguments(); |
| 226 | + CSSValueList<? extends CSSValue> argsOther = gradientOther.getArguments(); |
227 | 227 | if (args.getLength() != argsOther.getLength()) {
|
228 | 228 | return 2;
|
229 | 229 | }
|
230 | 230 | for (int i = 0; i < args.getLength(); i++) {
|
231 |
| - StyleValue arg = args.item(i); |
232 |
| - StyleValue argOther = argsOther.item(i); |
| 231 | + CSSValue arg = args.item(i); |
| 232 | + CSSValue argOther = argsOther.item(i); |
233 | 233 | if (!arg.equals(argOther)) {
|
234 | 234 | int result = testDifferentValue(arg, argOther);
|
235 | 235 | if (result != 1) {
|
|
0 commit comments