| <!DOCTYPE html> |
| <!-- DO NOT EDIT! This test has been generated by /html/canvas/tools/gentest.py. --> |
| <title>Canvas test: 2d.reset.render.text</title> |
| <h1>2d.reset.render.text</h1> |
| <p class="desc">check that text is correctly rendered after reset</p> |
| <canvas id="canvas" width="400" height="400"> |
| <p class="fallback">FAIL (fallback content)</p> |
| </canvas> |
| <script> |
| const canvas = document.getElementById("canvas"); |
| const ctx = canvas.getContext('2d'); |
| |
| ctx.fillText("Lorem ipsum dolor sit amet, consectetur adipiscing elit", 0, 10); |
| </script> |