Index: LayoutTests/svg/dom/rgb-color-parser.html |
diff --git a/LayoutTests/svg/dom/rgb-color-parser.html b/LayoutTests/svg/dom/rgb-color-parser.html |
index e66cc76c7bdc896c9df2ab9fb996d44e38eb44af..0b7662ffab118207599a2f5c2388822b1359b3c6 100644 |
--- a/LayoutTests/svg/dom/rgb-color-parser.html |
+++ b/LayoutTests/svg/dom/rgb-color-parser.html |
@@ -38,17 +38,12 @@ |
try { |
stopElement.style.removeProperty("stop-color"); |
stopElement.style.stopColor = string; |
- var stopColor = stopElement.style.getPropertyCSSValue("stop-color"); |
+ var stopColor = stopElement.style.getPropertyValue("stop-color"); |
if (!stopColor) { |
debug("Failed to parse: " + string); |
return; |
} |
- var rgbColor = stopColor.rgbColor; |
- var red = rgbColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER); |
- var green = rgbColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER); |
- var blue = rgbColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER); |
- var rgbColorString = "rgb(" + red + "," + green + "," + blue + ")"; |
- debug("Parsed as " + rgbColorString + ": " + string); |
+ debug("Parsed as " + stopColor + ": " + string); |
} catch(e) { |
debug("Threw exception " + e + ": " + string); |
} |