[webkit-dev] Issue Analysis:48290 [HTML Canvas globalCompositeOperation]

Karthik sarap.karthik at gmail.com
Tue May 31 23:49:51 PDT 2011


Hi All,

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 &
CSSValueHighlight ).

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,
Karthik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110601/a0feaa2a/attachment.html>


More information about the webkit-dev mailing list