OLD | NEW |
(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() / CTM == identity |
| 7 PASS testValue is 150 |
| 8 PASS testValue is 650 |
| 9 PASS testValue is 650 |
| 10 PASS testValue is 1150 |
| 11 PASS testValue is 650 |
| 12 PASS testValue is 150 |
| 13 PASS testValue is 650 |
| 14 PASS testValue is 650 |
| 15 PASS testValue is 1150 |
| 16 PASS testValue is 650 |
| 17 PASS testValue is 150 |
| 18 PASS testValue is 650 |
| 19 PASS testValue is 650 |
| 20 PASS testValue is 1150 |
| 21 PASS testValue is 650 |
| 22 PASS testValue is 150 |
| 23 PASS testValue is 650 |
| 24 PASS testValue is 650 |
| 25 PASS testValue is 1150 |
| 26 PASS testValue is 650 |
| 27 |
| 28 Test case 2: scrollPathIntoView() / CTM != identity |
| 29 PASS testValue is 136 |
| 30 PASS testValue is 636 |
| 31 PASS testValue is 636 |
| 32 PASS testValue is 1136 |
| 33 PASS testValue is 636 |
| 34 PASS testValue is 126 |
| 35 PASS testValue is 626 |
| 36 PASS testValue is 626 |
| 37 PASS testValue is 1126 |
| 38 PASS testValue is 626 |
| 39 PASS testValue is 133 |
| 40 PASS testValue is 633 |
| 41 PASS testValue is 633 |
| 42 PASS testValue is 1133 |
| 43 PASS testValue is 633 |
| 44 PASS testValue is 160 |
| 45 PASS testValue is 660 |
| 46 PASS testValue is 660 |
| 47 PASS testValue is 1160 |
| 48 PASS testValue is 660 |
| 49 |
| 50 Test case 3: scrollPathIntoView(path2d) / CTM == identity |
| 51 PASS testValue is 150 |
| 52 PASS testValue is 650 |
| 53 PASS testValue is 650 |
| 54 PASS testValue is 1150 |
| 55 PASS testValue is 650 |
| 56 PASS testValue is 150 |
| 57 PASS testValue is 650 |
| 58 PASS testValue is 650 |
| 59 PASS testValue is 1150 |
| 60 PASS testValue is 650 |
| 61 PASS testValue is 150 |
| 62 PASS testValue is 650 |
| 63 PASS testValue is 650 |
| 64 PASS testValue is 1150 |
| 65 PASS testValue is 650 |
| 66 PASS testValue is 150 |
| 67 PASS testValue is 650 |
| 68 PASS testValue is 650 |
| 69 PASS testValue is 1150 |
| 70 PASS testValue is 650 |
| 71 |
| 72 Test case 4: scrollPathIntoView(path2d) / CTM != identity |
| 73 PASS testValue is 136 |
| 74 PASS testValue is 636 |
| 75 PASS testValue is 636 |
| 76 PASS testValue is 1136 |
| 77 PASS testValue is 636 |
| 78 PASS testValue is 126 |
| 79 PASS testValue is 626 |
| 80 PASS testValue is 626 |
| 81 PASS testValue is 1126 |
| 82 PASS testValue is 626 |
| 83 PASS testValue is 133 |
| 84 PASS testValue is 633 |
| 85 PASS testValue is 633 |
| 86 PASS testValue is 1133 |
| 87 PASS testValue is 633 |
| 88 PASS testValue is 160 |
| 89 PASS testValue is 660 |
| 90 PASS testValue is 660 |
| 91 PASS testValue is 1160 |
| 92 PASS testValue is 660 |
| 93 |
| 94 Test case 5: exceptions |
| 95 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.. |
| 96 PASS context.scrollPathIntoView([]); threw exception TypeError: Failed to execut
e 'scrollPathIntoView' on 'CanvasRenderingContext2D': No function was found that
matched the signature provided.. |
| 97 PASS context.scrollPathIntoView({}); threw exception TypeError: Failed to execut
e 'scrollPathIntoView' on 'CanvasRenderingContext2D': No function was found that
matched the signature provided.. |
| 98 |
| 99 PASS successfullyParsed is true |
| 100 |
| 101 TEST COMPLETE |
| 102 |
OLD | NEW |