W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2006

[whatwg] [canvas] globalCompositeOperation poorly defined

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 22 Jun 2006 18:50:39 -0700
Message-ID: <20060623015039.GA667@ridley.dbaron.org>
The values of globalCompositeOperation are very poorly defined:
Some math is probably needed; prose alone seems unlikely to be

I made a quick test at:

Trunk Mozilla and Opera 9 do not interoperate on at least the following
(ignoring differences that could be attributed to rounding):
  source-over (the default!)

(Safari seems to show the colors as either random noise (latest for
10.3/PPC) or blank (latest for 10.4/Intel).)

Looking at Mozilla's code, it implements "copy" and "source-over" as the
same thing; from the code I'd guess that "source-over" was the incorrect
one, and this test seems to agree.


L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20060622/aca43799/attachment.pgp>
Received on Thursday, 22 June 2006 18:50:39 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:47 UTC