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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/canvas-pattern-behaviour-expected.txt

Issue 2351363002: Make CSSStyleImageValue a member of CanvasImageSource. (Closed)
Patch Set: Override isAccelerated Created 4 years, 2 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
1 This test covers the behaviour of pattern use and construction 1 This test covers the behaviour of pattern use and construction
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 PASS context.createPattern(green1x1, null) did not throw an exception 6 PASS context.createPattern(green1x1, null) did not throw an exception
7 PASS getPixel(1,1) is [0,128,0,255] 7 PASS getPixel(1,1) is [0,128,0,255]
8 PASS getPixel(98,1) is [0,128,0,255] 8 PASS getPixel(98,1) is [0,128,0,255]
9 PASS getPixel(1,48) is [0,128,0,255] 9 PASS getPixel(1,48) is [0,128,0,255]
10 PASS getPixel(98,48) is [0,128,0,255] 10 PASS getPixel(98,48) is [0,128,0,255]
11 PASS context.createPattern(green1x1, 'null') threw exception SyntaxError: Failed to execute 'createPattern' on 'CanvasRenderingContext2D': The provided type ('n ull') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.. 11 PASS context.createPattern(green1x1, 'null') threw exception SyntaxError: Failed to execute 'createPattern' on 'CanvasRenderingContext2D': The provided type ('n ull') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'..
12 PASS context.createPattern(green1x1, undefined) threw exception SyntaxError: Fai led to execute 'createPattern' on 'CanvasRenderingContext2D': The provided type ('undefined') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.. 12 PASS context.createPattern(green1x1, undefined) threw exception SyntaxError: Fai led to execute 'createPattern' on 'CanvasRenderingContext2D': The provided type ('undefined') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'..
13 PASS context.createPattern(green1x1, 'undefined') threw exception SyntaxError: F ailed to execute 'createPattern' on 'CanvasRenderingContext2D': The provided typ e ('undefined') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'.. 13 PASS context.createPattern(green1x1, 'undefined') threw exception SyntaxError: F ailed to execute 'createPattern' on 'CanvasRenderingContext2D': The provided typ e ('undefined') is not one of 'repeat', 'no-repeat', 'repeat-x', or 'repeat-y'..
14 PASS context.createPattern(green1x1, {toString:function(){ return null;}}) threw exception SyntaxError: Failed to execute 'createPattern' on 'CanvasRenderingCon text2D': The provided type ('null') is not one of 'repeat', 'no-repeat', 'repeat -x', or 'repeat-y'.. 14 PASS context.createPattern(green1x1, {toString:function(){ return null;}}) threw exception SyntaxError: Failed to execute 'createPattern' on 'CanvasRenderingCon text2D': The provided type ('null') is not one of 'repeat', 'no-repeat', 'repeat -x', or 'repeat-y'..
15 PASS context.createPattern(null, '') threw exception TypeError: Failed to execut e 'createPattern' on 'CanvasRenderingContext2D': The provided value is not of ty pe '(HTMLImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitmap or OffscreenCanvas)'. 15 PASS context.createPattern(null, '') threw exception TypeError: Failed to execut e 'createPattern' on 'CanvasRenderingContext2D': The provided value is not of ty pe '(CSSImageValue or HTMLImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitmap or OffscreenCanvas)'.
16 PASS context.createPattern(undefined, '') threw exception TypeError: Failed to e xecute 'createPattern' on 'CanvasRenderingContext2D': The provided value is not of type '(HTMLImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitm ap or OffscreenCanvas)'. 16 PASS context.createPattern(undefined, '') threw exception TypeError: Failed to e xecute 'createPattern' on 'CanvasRenderingContext2D': The provided value is not of type '(CSSImageValue or HTMLImageElement or HTMLVideoElement or HTMLCanvasEle ment or ImageBitmap or OffscreenCanvas)'.
17 PASS context.createPattern({}, '') threw exception TypeError: Failed to execute 'createPattern' on 'CanvasRenderingContext2D': The provided value is not of type '(HTMLImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitmap or O ffscreenCanvas)'. 17 PASS context.createPattern({}, '') threw exception TypeError: Failed to execute 'createPattern' on 'CanvasRenderingContext2D': The provided value is not of type '(CSSImageValue or HTMLImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitmap or OffscreenCanvas)'.
18 PASS context.createPattern([], '') threw exception TypeError: Failed to execute 'createPattern' on 'CanvasRenderingContext2D': The provided value is not of type '(HTMLImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitmap or O ffscreenCanvas)'. 18 PASS context.createPattern([], '') threw exception TypeError: Failed to execute 'createPattern' on 'CanvasRenderingContext2D': The provided value is not of type '(CSSImageValue or HTMLImageElement or HTMLVideoElement or HTMLCanvasElement or ImageBitmap or OffscreenCanvas)'.
19 PASS context.createPattern(green1x1, '') did not throw an exception 19 PASS context.createPattern(green1x1, '') did not throw an exception
20 PASS getPixel(1,1) is [0,128,0,255] 20 PASS getPixel(1,1) is [0,128,0,255]
21 PASS getPixel(98,1) is [0,128,0,255] 21 PASS getPixel(98,1) is [0,128,0,255]
22 PASS getPixel(1,48) is [0,128,0,255] 22 PASS getPixel(1,48) is [0,128,0,255]
23 PASS getPixel(98,48) is [0,128,0,255] 23 PASS getPixel(98,48) is [0,128,0,255]
24 PASS context.createPattern(green1x1, {toString:function(){ return 'repeat';}}) d id not throw an exception 24 PASS context.createPattern(green1x1, {toString:function(){ return 'repeat';}}) d id not throw an exception
25 PASS getPixel(1,1) is [0,128,0,255] 25 PASS getPixel(1,1) is [0,128,0,255]
26 PASS getPixel(98,1) is [0,128,0,255] 26 PASS getPixel(98,1) is [0,128,0,255]
27 PASS getPixel(1,48) is [0,128,0,255] 27 PASS getPixel(1,48) is [0,128,0,255]
28 PASS getPixel(98,48) is [0,128,0,255] 28 PASS getPixel(98,48) is [0,128,0,255]
29 PASS getPixel(1,1) is [0,128,0,255] 29 PASS getPixel(1,1) is [0,128,0,255]
30 PASS getPixel(98,1) is [0,128,0,255] 30 PASS getPixel(98,1) is [0,128,0,255]
31 PASS getPixel(1,48) is [0,128,0,255] 31 PASS getPixel(1,48) is [0,128,0,255]
32 PASS getPixel(98,48) is [0,128,0,255] 32 PASS getPixel(98,48) is [0,128,0,255]
33 PASS successfullyParsed is true 33 PASS successfullyParsed is true
34 34
35 TEST COMPLETE 35 TEST COMPLETE
36 36
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698