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

Side by Side Diff: LayoutTests/fast/canvas/canvas-scroll-path-into-view-expected.txt

Issue 196243007: Implement CRC2D.scrollPathIntoView() on Canvas (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: update and layout test Created 6 years, 9 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 Series of tests to ensure correct results of scrolling path into view on canvas
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 Test case 1: scrollPathIntoView();
7 PASS testValue is 100
8 PASS testValue is 600
9 PASS testValue is 600
10 PASS testValue is 1100
11 PASS testValue is 600
12
13 Test case 2: scrollPathIntoView(path);
14 PASS testValue is 100
15 PASS testValue is 600
16 PASS testValue is 600
17 PASS testValue is 1100
18 PASS testValue is 600
19
20 Test case 3: exceptions
21 PASS context.scrollPathIntoView(null); threw exception TypeMismatchError: Failed to execute 'scrollPathIntoView' on 'CanvasRenderingContext2D': The 1st argument provided is either null, or an invalid Path2D object..
22 PASS context.scrollPathIntoView([]); threw exception TypeError: Failed to execut e 'scrollPathIntoView' on 'CanvasRenderingContext2D': No function was found that matched the signature provided..
23 PASS context.scrollPathIntoView({}); threw exception TypeError: Failed to execut e 'scrollPathIntoView' on 'CanvasRenderingContext2D': No function was found that matched the signature provided..
24
25 PASS successfullyParsed is true
26
27 TEST COMPLETE
28
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698