Revision 4c581fe88602762273f350d08ccc7371bd1c2c62 authored by Jake Archibald on 10 April 2018, 07:01:54 UTC, committed by Jake Archibald on 10 April 2018, 13:20:08 UTC
1 parent 9e34bb1
2d.fillStyle.parse.hsl-4.worker.js
// DO NOT EDIT! This test has been generated by tools/gentest.py.
// OffscreenCanvas test in a worker:2d.fillStyle.parse.hsl-4
// Description:
// Note:<p class="notes">
importScripts("/resources/testharness.js");
importScripts("/common/canvas-tests.js");
var t = async_test("");
t.step(function() {
var offscreenCanvas = new OffscreenCanvas(100, 50);
var ctx = offscreenCanvas.getContext('2d');
ctx.fillStyle = '#f00';
ctx.fillStyle = 'hsl(-360240, 100%, 50%)';
ctx.fillRect(0, 0, 100, 50);
_assertPixel(offscreenCanvas, 50,25, 0,255,0,255, "50,25", "0,255,0,255");
t.done();
});
done();
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...