https://github.com/web-platform-tests/wpt
Revision aceba7094d3d8145b85544ecca7c44de5f4b4f3a authored by plehegar on 16 May 2018, 11:21:12 UTC, committed by plehegar on 16 May 2018, 11:21:12 UTC
1 parent 74acc7e
Raw File
Tip revision: aceba7094d3d8145b85544ecca7c44de5f4b4f3a authored by plehegar on 16 May 2018, 11:21:12 UTC
Fixed moderators
Tip revision: aceba70
parse-input-arguments-018-ref.html
<!DOCTYPE html>
<html>
<body>
<p>The test result should show only one black rect border. It should not paint
any content in the rect because registerPaint will be called twice and the
inputArguments will return two different strings, that will throw an exception
and paint won't be executed.</p>
<canvas id ="canvas" width="100" height="100" style="border:1px solid black"></canvas>
<script>
var canvas = document.getElementById('canvas');
var context = canvas.getContext("2d");
context.clearRect(0, 0, 100, 100);
</script>
</body>
</html>
back to top