| OLD | NEW |
| 1 This test ensures WebGL implementations interact correctly with the canvas tag. | 1 This test ensures WebGL implementations interact correctly with the canvas tag. |
| 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 Canvas.getContext | 6 Canvas.getContext |
| 7 PASS context exists | 7 PASS context exists |
| 8 | 8 |
| 9 Checking canvas and WebGL interaction | 9 Checking canvas and WebGL interaction |
| 10 PASS canvas.width is 300 | 10 PASS canvas.width is 300 |
| 11 PASS canvas.height is 150 | 11 PASS canvas.height is 150 |
| 12 PASS pixels are 0,0,0,0 | 12 PASS pixels are 0,0,0,0 |
| 13 PASS getViewport() is "0,0,300,150" | 13 PASS getViewport() is "0,0,300,150" |
| 14 | 14 |
| 15 change display size of canvas and see that viewport does not change | 15 change display size of canvas and see that viewport does not change |
| 16 PASS canvas.clientWidth is 100 |
| 17 PASS canvas.clientHeight is 25 |
| 16 PASS getViewport() is "0,0,300,150" | 18 PASS getViewport() is "0,0,300,150" |
| 17 PASS canvas.width is 300 | 19 PASS canvas.width is 300 |
| 18 PASS canvas.height is 150 | 20 PASS canvas.height is 150 |
| 19 | 21 |
| 20 change the actual size of the canvas and see that the viewport does not change | 22 change the actual size of the canvas and see that the viewport does not change |
| 21 PASS pixels are 64,128,192,255 | 23 PASS pixels are 64,128,192,255 |
| 22 PASS gl.clearColor should not change after canvas resize | 24 PASS gl.clearColor should not change after canvas resize |
| 23 PASS gl.colorMask should not change after canvas resize | 25 PASS gl.colorMask should not change after canvas resize |
| 24 PASS getViewport() is "0,0,300,150" | 26 PASS getViewport() is "0,0,300,150" |
| 25 PASS pixels are 0,0,0,0 | 27 PASS pixels are 0,0,0,0 |
| 26 | 28 |
| 27 PASS successfullyParsed is true | 29 PASS successfullyParsed is true |
| 28 | 30 |
| 29 TEST COMPLETE | 31 TEST COMPLETE |
| 30 | 32 |
| OLD | NEW |