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

Side by Side Diff: LayoutTests/svg/dom/SVGPaint-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
« no previous file with comments | « LayoutTests/svg/dom/SVGColor-expected.txt ('k') | Source/WebCore/GNUmakefile.am » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 This test checks the SVGPaint API 1 This test checks the SVGPaint API
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 6
7 Check initial paint values 7 Check initial paint values
8 PASS (fillPaint = rectElement.style.getPropertyCSSValue('fill')).toString() is " [object SVGPaint]" 8 PASS (fillPaint = rectElement.style.getPropertyCSSValue('fill')).toString() is " [object SVGPaint]"
9 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR 9 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR
10 PASS fillPaint.uri is "" 10 PASS fillPaint.uri is ""
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 Test using setPaint() and SVG_PAINTTYPE_URI_CURRENTCOLOR 158 Test using setPaint() and SVG_PAINTTYPE_URI_CURRENTCOLOR
159 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI_CURRENTCOLOR, 'url(#foo)', 'r gb(0,0,0)', 'icc-color(myRGB, 0, 1, 2)') is undefined. 159 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI_CURRENTCOLOR, 'url(#foo)', 'r gb(0,0,0)', 'icc-color(myRGB, 0, 1, 2)') is undefined.
160 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_URI_CURRENTCOLOR 160 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_URI_CURRENTCOLOR
161 PASS fillPaint.uri is "url(#foo)" 161 PASS fillPaint.uri is "url(#foo)"
162 PASS fillPaint.colorType is SVGColor.SVG_COLORTYPE_CURRENTCOLOR 162 PASS fillPaint.colorType is SVGColor.SVG_COLORTYPE_CURRENTCOLOR
163 PASS (fillColor = fillPaint.rgbColor).toString() is "[object RGBColor]" 163 PASS (fillColor = fillPaint.rgbColor).toString() is "[object RGBColor]"
164 PASS fillColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 164 PASS fillColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
165 PASS fillColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 165 PASS fillColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
166 PASS fillColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 166 PASS fillColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
167 PASS rectElement.style.fill is "url(#foo) currentColor" 167 PASS rectElement.style.fill is "url(#foo) currentColor"
168 PASS document.defaultView.getComputedStyle(rectElement).fill is "url(#foo) #00ff 00" 168 FAIL document.defaultView.getComputedStyle(rectElement).fill should be url(#foo) #00ff00. Was url(#foo) currentColor.
169 169
170 Test using setPaint() and SVG_PAINTTYPE_URI_RGBCOLOR 170 Test using setPaint() and SVG_PAINTTYPE_URI_RGBCOLOR
171 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI_RGBCOLOR, 'url(#test)', 'rgb( 77,0,77)', 'icc-color(myRGB, 0, 1, 2)') is undefined. 171 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_URI_RGBCOLOR, 'url(#test)', 'rgb( 77,0,77)', 'icc-color(myRGB, 0, 1, 2)') is undefined.
172 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_URI_RGBCOLOR 172 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_URI_RGBCOLOR
173 PASS fillPaint.uri is "url(#test)" 173 PASS fillPaint.uri is "url(#test)"
174 PASS fillPaint.colorType is SVGColor.SVG_COLORTYPE_RGBCOLOR 174 PASS fillPaint.colorType is SVGColor.SVG_COLORTYPE_RGBCOLOR
175 PASS (fillColor = fillPaint.rgbColor).toString() is "[object RGBColor]" 175 PASS (fillColor = fillPaint.rgbColor).toString() is "[object RGBColor]"
176 PASS fillColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 77 176 PASS fillColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 77
177 PASS fillColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 177 PASS fillColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
178 PASS fillColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 77 178 PASS fillColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 77
(...skipping 27 matching lines...) Expand all
206 Test using setPaint() and SVG_PAINTTYPE_CURRENTCOLOR 206 Test using setPaint() and SVG_PAINTTYPE_CURRENTCOLOR
207 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_CURRENTCOLOR, 'url(#foo)', 'rgb(7 7,0,77)', 'icc-color(myRGB, 0, 1, 2)') is undefined. 207 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_CURRENTCOLOR, 'url(#foo)', 'rgb(7 7,0,77)', 'icc-color(myRGB, 0, 1, 2)') is undefined.
208 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_CURRENTCOLOR 208 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_CURRENTCOLOR
209 PASS fillPaint.uri is "" 209 PASS fillPaint.uri is ""
210 PASS fillPaint.colorType is SVGColor.SVG_COLORTYPE_CURRENTCOLOR 210 PASS fillPaint.colorType is SVGColor.SVG_COLORTYPE_CURRENTCOLOR
211 PASS (fillColor = fillPaint.rgbColor).toString() is "[object RGBColor]" 211 PASS (fillColor = fillPaint.rgbColor).toString() is "[object RGBColor]"
212 PASS fillColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 212 PASS fillColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
213 PASS fillColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 213 PASS fillColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
214 PASS fillColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 214 PASS fillColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
215 PASS rectElement.style.fill is "currentColor" 215 PASS rectElement.style.fill is "currentColor"
216 PASS document.defaultView.getComputedStyle(rectElement).fill is "#00ff00" 216 FAIL document.defaultView.getComputedStyle(rectElement).fill should be #00ff00. Was currentColor.
217 217
218 Test using setPaint() and SVG_PAINTTYPE_RGBCOLOR 218 Test using setPaint() and SVG_PAINTTYPE_RGBCOLOR
219 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_RGBCOLOR, 'url(#test)', 'rgb(0,77 ,0)', 'icc-color(myRGB, 0, 1, 2)') is undefined. 219 PASS fillPaint.setPaint(SVGPaint.SVG_PAINTTYPE_RGBCOLOR, 'url(#test)', 'rgb(0,77 ,0)', 'icc-color(myRGB, 0, 1, 2)') is undefined.
220 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR 220 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_RGBCOLOR
221 PASS fillPaint.uri is "" 221 PASS fillPaint.uri is ""
222 PASS fillPaint.colorType is SVGColor.SVG_COLORTYPE_RGBCOLOR 222 PASS fillPaint.colorType is SVGColor.SVG_COLORTYPE_RGBCOLOR
223 PASS (fillColor = fillPaint.rgbColor).toString() is "[object RGBColor]" 223 PASS (fillColor = fillPaint.rgbColor).toString() is "[object RGBColor]"
224 PASS fillColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 224 PASS fillColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
225 PASS fillColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 77 225 PASS fillColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 77
226 PASS fillColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 226 PASS fillColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
227 PASS rectElement.style.fill is "#004d00" 227 PASS rectElement.style.fill is "#004d00"
228 PASS document.defaultView.getComputedStyle(rectElement).fill is "#004d00" 228 PASS document.defaultView.getComputedStyle(rectElement).fill is "#004d00"
229 229
230 Test using setUri() 230 Test using setUri()
231 PASS fillPaint.setUri('url(#foobar)'); is undefined. 231 PASS fillPaint.setUri('url(#foobar)'); is undefined.
232 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_URI_NONE 232 PASS fillPaint.paintType is SVGPaint.SVG_PAINTTYPE_URI_NONE
233 PASS fillPaint.uri is "url(#foobar)" 233 PASS fillPaint.uri is "url(#foobar)"
234 PASS fillPaint.colorType is SVGColor.SVG_COLORTYPE_UNKNOWN 234 PASS fillPaint.colorType is SVGColor.SVG_COLORTYPE_UNKNOWN
235 PASS (fillColor = fillPaint.rgbColor).toString() is "[object RGBColor]" 235 PASS (fillColor = fillPaint.rgbColor).toString() is "[object RGBColor]"
236 PASS fillColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 236 PASS fillColor.red.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
237 PASS fillColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 237 PASS fillColor.green.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
238 PASS fillColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0 238 PASS fillColor.blue.getFloatValue(CSSPrimitiveValue.CSS_NUMBER) is 0
239 PASS rectElement.style.fill is "url(#foobar) none" 239 PASS rectElement.style.fill is "url(#foobar) none"
240 PASS document.defaultView.getComputedStyle(rectElement).fill is "url(#foobar) no ne" 240 PASS document.defaultView.getComputedStyle(rectElement).fill is "url(#foobar) no ne"
241 PASS successfullyParsed is true 241 PASS successfullyParsed is true
242 242
243 TEST COMPLETE 243 TEST COMPLETE
244 244
OLDNEW
« no previous file with comments | « LayoutTests/svg/dom/SVGColor-expected.txt ('k') | Source/WebCore/GNUmakefile.am » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698