Skip to content
  • commit-queue@webkit.org's avatar
    <https://webkit.org/b/120002> [CSS Masking] Add -webkit-mask-source-type shorthand property · c7b0c8ee
    commit-queue@webkit.org authored
    Source/WebCore:
    
    Added the -webkit-mask-source-type property to the -webkit-mask shorthand property.
    
    Patch by Andrei Parvu <parvu@adobe.com> on 2013-08-28
    Reviewed by Dirk Schulze.
    
    Test cases added in LayoutTests/fast/masking/parsing-mask.html
    
    * css/CSSParser.cpp: Added the CSSPropertyWebkitMaskSourceType property to the array of shorthand properties.
    (WebCore::CSSParser::parseValue):
    * css/StylePropertyShorthand.cpp: Added the CSSPropertyWebkitMaskSourceType to the list of shorthands.
    (WebCore::webkitMaskShorthand):
    (WebCore::matchingShorthandsForLonghand):
    
    LayoutTests:
    
    Added test cases for using the source type with the -webkit-mask shorthand property.
    
    Patch by Andrei Parvu <parvu@adobe.com> on 2013-08-28
    Reviewed by Dirk Schulze.
    
    * fast/masking/parsing-mask-expected.txt:
    * fast/masking/parsing-mask.html:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154742 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    c7b0c8ee