12011-06-01 MustafizurRahaman <mustaf.here@gmail.com>
2
3 Reviewed by NOBODY (OOPS!).
4
5 Fix LayoutTests/canvas/philip/tests/2d.composite.operation.highlight.html
6 https://bugs.webkit.org/show_bug.cgi?id=48290
7
8 "highlight" is not a valid globalComposite operation
9 as per http://www.w3.org/TR/2011/WD-2dcontext-20110525/#compositing
10 Therefore, removed the option from the source code.
11
12 Tests: No new tests required.
13 LayoutTests\canvas\philip\tests\2d.composite.operation.highlight.html can be used for testing.
14
15 * css/CSSPrimitiveValueMappings.h:
16 (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
17 (WebCore::CSSPrimitiveValue::operator CompositeOperator):
18 * html/canvas/CanvasRenderingContext2D.cpp:
19 (WebCore::CanvasRenderingContext2D::setFont):
20 * platform/graphics/GraphicsTypes.cpp:
21 * platform/graphics/GraphicsTypes.h:
22 * platform/graphics/cairo/CairoUtilities.cpp:
23 (WebCore::toCairoOperator):
24 * platform/graphics/cg/GraphicsContextCG.cpp:
25 (WebCore::GraphicsContext::setPlatformCompositeOperation):
26 * platform/graphics/gpu/SharedGraphicsContext3D.cpp:
27 (WebCore::SharedGraphicsContext3D::applyCompositeOperator):
28 * platform/graphics/openvg/PainterOpenVG.cpp:
29 (WebCore::PlatformPainterState::applyBlending):
30 * platform/graphics/qt/GraphicsContextQt.cpp:
31 (WebCore::toQtCompositionMode):
32 * platform/graphics/skia/SkiaUtils.cpp:
33