Skip to content
  • michelangelo@webkit.org's avatar
    [CSS Shaders] Implement CustomFilterArrayParameter::blend · 187c9352
    michelangelo@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=96437
    
    Reviewed by Dean Jackson.
    
    Source/WebCore:
    
    This patch adds the missing code to blend values within
    an array() when using Custom Filters.
    
    Test: css3/filters/custom/custom-filter-array-blending.html
    
    * platform/graphics/filters/CustomFilterArrayParameter.h:
    (WebCore::CustomFilterArrayParameter::blend):
    
    LayoutTests:
    
    New tests to asses the correctness of CustomFilterArrayParameter::blend.
    
    * animations/resources/animation-test-helpers.js:
    (customFilterParameterMatch): A check for functions' parameters length has been added.
    * css3/filters/custom/custom-filter-array-blending-expected.txt: Added.
    * css3/filters/custom/custom-filter-array-blending.html: Added.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132795 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    187c9352