Changeset 196977 in webkit for trunk/Source/WebCore/ChangeLog


Ignore:
Timestamp:
Feb 23, 2016, 8:30:50 AM (10 years ago)
Author:
commit-queue@webkit.org
Message:

[SVG] Update SVG source to return string literals as ASCIILiteral and add test cases for case sensitivity
https://bugs.webkit.org/show_bug.cgi?id=154373

Patch by Nikos Andronikos <nikos.andronikos-webkit@cisra.canon.com.au> on 2016-02-23
Reviewed by Youenn Fablet.

Source/WebCore:

Update SVGAnimatedEnumeration toString method to return ASCIILiteral for string literals and add test cases for
case-sensitivity for these elements.

Test: svg/dom/SVGAnimatedEnumeration-case-sensitive.html

  • svg/SVGComponentTransferFunctionElement.h:

(WebCore::SVGPropertyTraits<ComponentTransferType>::toString):

  • svg/SVGFEBlendElement.h:

(WebCore::SVGPropertyTraits<BlendMode>::toString):

  • svg/SVGFEColorMatrixElement.h:

(WebCore::SVGPropertyTraits<ColorMatrixType>::toString):

  • svg/SVGFECompositeElement.h:

(WebCore::SVGPropertyTraits<CompositeOperationType>::toString):

  • svg/SVGFEConvolveMatrixElement.h:

(WebCore::SVGPropertyTraits<EdgeModeType>::toString):

  • svg/SVGFEDisplacementMapElement.h:

(WebCore::SVGPropertyTraits<ChannelSelectorType>::toString):

  • svg/SVGFEMorphologyElement.h:

(WebCore::SVGPropertyTraits<MorphologyOperatorType>::toString):

  • svg/SVGFETurbulenceElement.h:

(WebCore::SVGPropertyTraits<SVGStitchOptions>::toString):
(WebCore::SVGPropertyTraits<TurbulenceType>::toString):

  • svg/SVGGradientElement.h:

(WebCore::SVGPropertyTraits<SVGSpreadMethodType>::toString):

  • svg/SVGMarkerElement.h:

(WebCore::SVGPropertyTraits<SVGMarkerUnitsType>::toString):

  • svg/SVGTextContentElement.h:

(WebCore::SVGPropertyTraits<SVGLengthAdjustType>::toString):

  • svg/SVGTextPathElement.h:

(WebCore::SVGPropertyTraits<SVGTextPathMethodType>::toString):
(WebCore::SVGPropertyTraits<SVGTextPathSpacingType>::toString):

  • svg/SVGUnitTypes.h:

(WebCore::SVGPropertyTraits<SVGUnitTypes::SVGUnitType>::toString):

LayoutTests:

Add test cases for case-sensitivity for SVGAnimatedEnumeration elements.

  • svg/dom/SVGAnimatedEnumeration-case-sensitive-expected.txt: Added.
  • svg/dom/SVGAnimatedEnumeration-case-sensitive.html: Added.
  • svg/dom/script-tests/SVGAnimatedEnumeration-case-sensitive.js: Added.

(testCaseSensitivity):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r196976 r196977  
     12016-02-23  Nikos Andronikos  <nikos.andronikos-webkit@cisra.canon.com.au>
     2
     3        [SVG] Update SVG source to return string literals as ASCIILiteral and add test cases for case sensitivity
     4        https://bugs.webkit.org/show_bug.cgi?id=154373
     5
     6        Reviewed by Youenn Fablet.
     7
     8        Update SVGAnimatedEnumeration toString method to return ASCIILiteral for string literals and add test cases for
     9        case-sensitivity for these elements.
     10
     11        Test: svg/dom/SVGAnimatedEnumeration-case-sensitive.html
     12
     13        * svg/SVGComponentTransferFunctionElement.h:
     14        (WebCore::SVGPropertyTraits<ComponentTransferType>::toString):
     15        * svg/SVGFEBlendElement.h:
     16        (WebCore::SVGPropertyTraits<BlendMode>::toString):
     17        * svg/SVGFEColorMatrixElement.h:
     18        (WebCore::SVGPropertyTraits<ColorMatrixType>::toString):
     19        * svg/SVGFECompositeElement.h:
     20        (WebCore::SVGPropertyTraits<CompositeOperationType>::toString):
     21        * svg/SVGFEConvolveMatrixElement.h:
     22        (WebCore::SVGPropertyTraits<EdgeModeType>::toString):
     23        * svg/SVGFEDisplacementMapElement.h:
     24        (WebCore::SVGPropertyTraits<ChannelSelectorType>::toString):
     25        * svg/SVGFEMorphologyElement.h:
     26        (WebCore::SVGPropertyTraits<MorphologyOperatorType>::toString):
     27        * svg/SVGFETurbulenceElement.h:
     28        (WebCore::SVGPropertyTraits<SVGStitchOptions>::toString):
     29        (WebCore::SVGPropertyTraits<TurbulenceType>::toString):
     30        * svg/SVGGradientElement.h:
     31        (WebCore::SVGPropertyTraits<SVGSpreadMethodType>::toString):
     32        * svg/SVGMarkerElement.h:
     33        (WebCore::SVGPropertyTraits<SVGMarkerUnitsType>::toString):
     34        * svg/SVGTextContentElement.h:
     35        (WebCore::SVGPropertyTraits<SVGLengthAdjustType>::toString):
     36        * svg/SVGTextPathElement.h:
     37        (WebCore::SVGPropertyTraits<SVGTextPathMethodType>::toString):
     38        (WebCore::SVGPropertyTraits<SVGTextPathSpacingType>::toString):
     39        * svg/SVGUnitTypes.h:
     40        (WebCore::SVGPropertyTraits<SVGUnitTypes::SVGUnitType>::toString):
     41
    1422016-02-23  Csaba Osztrogonác  <ossy@webkit.org>
    243
Note: See TracChangeset for help on using the changeset viewer.