https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 48d5c9b147ef862c719e5ffc75c358ab7b95ea1a authored by Jungkee Song on 23 March 2018, 14:51:17 UTC
Add a cleanup callback
Tip revision: 48d5c9b
2d.shadow.attributes.shadowBlur.initial.html
<!DOCTYPE html>
<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
<title>OffscreenCanvas test: 2d.shadow.attributes.shadowBlur.initial</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/common/canvas-tests.js"></script>

<h1>2d.shadow.attributes.shadowBlur.initial</h1>
<p class="desc"></p>


<script>
var t = async_test("");
t.step(function() {

var offscreenCanvas = new OffscreenCanvas(100, 50);
var ctx = offscreenCanvas.getContext('2d');

_assertSame(ctx.shadowBlur, 0, "ctx.shadowBlur", "0");

t.done();

});
</script>
back to top