[webkit-dev] Issue Analysis:48290 [HTML Canvas globalCompositeOperation]
sarap.karthik at gmail.com
Tue May 31 23:49:51 PDT 2011
I was going through the bug https://bugs.webkit.org/show_bug.cgi?id=48290,
which passes is FF but fails in Safari/Winlauncher( r87771).
As per http://www.w3.org/TR/2011/WD-2dcontext-20110525/#compositing,
"highlight" is NOT a valid composite operation. but it is being mentioned in
platform/graphics/GraphicsTypes.cpp in compositeOperatorNames & that's why
this issue is present.
When I removed "highlight" from here & also removed "CompositeHighLight
from enum CompositeOperator in GraphicsType.h this issue is resolved (I also
had to comment out all other code using CompositeHighLight &
However, the following comment was mentioned in GraphicsType.h (" //
Note: These constants exactly match the NSCompositeOperator constants of //
AppKit on Mac OS X Tiger. If these ever change, we'll need to change the //
Mac OS X Tiger platform code to map one to the other. "). So I am little
unclear what is the purpose of this CompositeHighLight.
Can someone please help me out here.
Thanks & Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev