Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Side by Side Diff: LayoutTests/svg/animations/animate-color-fill-currentColor-expected.txt

Issue 7002001: Revert 79985 - 2011-03-01 Nikolas Zimmermann <nzimmermann@rim.com> (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/742/
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 SVG 1.1 dynamic animation tests
2
3 Tests animation on 'currentColor'.
4
5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
6
7
8
9 Initial condition:
10 PASS document.defaultView.getComputedStyle(rect).getPropertyValue('fill') is "#f f0000"
11 PASS (fillPaint = document.defaultView.getComputedStyle(rect).getPropertyCSSValu e('fill')).toString() is "[object SVGPaint]"
12 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_CURRENTCOLOR
13 PASS fillPaint.uri is ""
14 PASS fillPaint.colorType is SVGColor.SVG_COLORTYPE_CURRENTCOLOR
15 PASS (fillColor = fillPaint.rgbColor).toString() is "[object RGBColor]"
16 PASS fillColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 255
17 PASS fillColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
18 PASS fillColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
19
20 Half-time condition:
21 PASS document.defaultView.getComputedStyle(rect).getPropertyValue('fill') is "#8 04000"
22 PASS (fillPaint = document.defaultView.getComputedStyle(rect).getPropertyCSSValu e('fill')).toString() is "[object SVGPaint]"
23 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_CURRENTCOLOR
24 PASS fillPaint.uri is ""
25 PASS fillPaint.colorType is SVGColor.SVG_COLORTYPE_CURRENTCOLOR
26 PASS (fillColor = fillPaint.rgbColor).toString() is "[object RGBColor]"
27 PASS fillColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 128
28 PASS fillColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 64
29 PASS fillColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
30
31 End condition:
32 PASS document.defaultView.getComputedStyle(rect).getPropertyValue('fill') is "#0 08000"
33 PASS (fillPaint = document.defaultView.getComputedStyle(rect).getPropertyCSSValu e('fill')).toString() is "[object SVGPaint]"
34 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_CURRENTCOLOR
35 PASS fillPaint.uri is ""
36 PASS fillPaint.colorType is SVGColor.SVG_COLORTYPE_CURRENTCOLOR
37 PASS (fillColor = fillPaint.rgbColor).toString() is "[object RGBColor]"
38 PASS fillColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
39 PASS fillColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 128
40 PASS fillColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
41 PASS successfullyParsed is true
42
43 TEST COMPLETE
44
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698