https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 3ebbd7b9a33f6915cb4885e9193b1630538c1ea3 authored by Lan Wei on 20 December 2018, 01:32:17 UTC
Rename pointerevent_pointerout_pen-manual.html to pointerevent_pointerout_pen.html
Tip revision: 3ebbd7b
2d.composite.operation.nullsuffix.html
<!DOCTYPE html>
<!-- DO NOT EDIT! This test has been generated by tools/gentest.py. -->
<title>OffscreenCanvas test: 2d.composite.operation.nullsuffix</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/common/canvas-tests.js"></script>

<h1>2d.composite.operation.nullsuffix</h1>
<p class="desc"></p>


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

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

ctx.globalCompositeOperation = 'xor';
ctx.globalCompositeOperation = 'source-over\0';
_assertSame(ctx.globalCompositeOperation, 'xor', "ctx.globalCompositeOperation", "'xor'");

t.done();

});
</script>
back to top