Skip to content
  • commit-queue@webkit.org's avatar
    2011-04-07 Luke Macpherson <macpherson@chromium.org> · 16204d14
    commit-queue@webkit.org authored
            Reviewed by Dimitri Glazkov.
    
            Implement Backgroun and Mask properties in CSSStyleApplyProperty
            https://bugs.webkit.org/show_bug.cgi?id=57922
    
            No tests added as no behavioral changes.
    
            * css/CSSStyleApplyProperty.cpp:
            Added ApplyPropertyFillLayer test to handle Background and Mask CSS Properties.
            (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
            Added constructor calls to set up:
              CSSPropertyBackgroundAttachment
              CSSPropertyBackgroundClip
              CSSPropertyWebkitBackgroundClip
              CSSPropertyWebkitBackgroundComposite
              CSSPropertyBackgroundOrigin
              CSSPropertyWebkitBackgroundOrigin
              CSSPropertyBackgroundSize
              CSSPropertyWebkitBackgroundSize
              CSSPropertyWebkitMaskAttachment
              CSSPropertyWebkitMaskClip
              CSSPropertyWebkitMaskComposite
              CSSPropertyWebkitMaskOrigin
              CSSPropertyWebkitMaskSize
            * css/CSSStyleApplyProperty.h:
            (WebCore::CSSStyleApplyProperty::setPropertyValue):
            Add function to specify an equivalent property value in the lookup table.
            * css/CSSStyleSelector.cpp:
            (WebCore::CSSStyleSelector::applyProperty):
            Remove sections now implemented by CSSStyleApplyProperty.
            * css/CSSStyleSelector.h:
            Make CSSStyleApplyProperty a friend class so that the mapFill* functions are accessible.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83241 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    16204d14