Re: [whatwg] Canvas - globalCompositeOperation

2007-04-04 Thread Vladimir Vukicevic
Philip Taylor wrote: [...] Cool stuff! I'll look through your tests and fix up the mozilla implementation as much as possible. I would be happy if darker was removed from the spec - there isn't an obvious definition for it, and it's not interoperably implemented at all and it sounds like

Re: [whatwg] Canvas - globalCompositeOperation

2007-03-29 Thread Philip Taylor
I've added some tests at http://canvex.lazyilluminati.com/tests/tests/index.2d.composite.transparent.html based on the definitions I suggested. Firefox and Safari match the expected results, Opera misses on atop/xor/lighter. (I skipped darker, because it doesn't make sense and I'm hoping it'll

[whatwg] Canvas - globalCompositeOperation

2007-03-27 Thread Philip Taylor
It has been mentioned before [1] that globalCompositeOperation is poorly defined - the spec has a note saying The source-* descriptions below don't define what should happen with semi-transparent regions and is vague about non-transparent colours too - and it is not implemented interoperably. I

Re: [whatwg] Canvas - globalCompositeOperation

2007-03-27 Thread ddailey
/svg/newstuff/filterComposite2.svg fwiw David Dailey - Original Message - From: Philip Taylor [EMAIL PROTECTED] To: whatwg@lists.whatwg.org Sent: Tuesday, March 27, 2007 7:30 PM Subject: [whatwg] Canvas - globalCompositeOperation It has been mentioned before [1

Re: [whatwg] [canvas] globalCompositeOperation poorly defined

2006-07-24 Thread L. David Baron
On Friday 2006-07-21 09:07 -0700, L. David Baron wrote: On Friday 2006-07-21 11:14 +0300, Henri Sivonen wrote: I gather that a normative reference to the Porter–Duff paper is needed: http://keithp.com/~keithp/porterduff/p253-porter.pdf Perhaps, assuming that's what's been implemented,

Re: [whatwg] [canvas] globalCompositeOperation poorly defined

2006-07-21 Thread L. David Baron
On Friday 2006-07-21 11:14 +0300, Henri Sivonen wrote: I gather that a normative reference to the Porter–Duff paper is needed: http://keithp.com/~keithp/porterduff/p253-porter.pdf Perhaps, assuming that's what's been implemented, although that would only define 10 of the 12 operators in the

Re: [whatwg] [canvas] globalCompositeOperation poorly defined

2006-06-23 Thread Arve Bersvendsen
On Fri, 23 Jun 2006 03:50:39 +0200, L. David Baron [EMAIL PROTECTED] wrote: The values of globalCompositeOperation are very poorly defined: http://www.whatwg.org/specs/web-apps/current-work/#globalcompositeoperation Some math is probably needed; prose alone seems unlikely to be sufficient.

[whatwg] [canvas] globalCompositeOperation poorly defined

2006-06-22 Thread L. David Baron
The values of globalCompositeOperation are very poorly defined: http://www.whatwg.org/specs/web-apps/current-work/#globalcompositeoperation Some math is probably needed; prose alone seems unlikely to be sufficient. I made a quick test at: http://dbaron.org/tests/canvas/composite-operations

Re: [whatwg] [canvas] globalCompositeOperation poorly defined

2006-06-22 Thread Ian Hickson
On Thu, 22 Jun 2006, L. David Baron wrote: The values of globalCompositeOperation are very poorly defined: http://www.whatwg.org/specs/web-apps/current-work/#globalcompositeoperation Some math is probably needed; prose alone seems unlikely to be sufficient. I agree; indeed I think there's