Changeset 109488 in webkit


Ignore:
Timestamp:
Mar 1, 2012 7:18:41 PM (12 years ago)
Author:
macpherson@chromium.org
Message:

Handle CSSPropertyWebkitBorderFit in CSSStyleApplyProperty.
https://bugs.webkit.org/show_bug.cgi?id=79998

Reviewed by Andreas Kling.

No new tests / refactoring only.

  • css/CSSStyleApplyProperty.cpp:

(WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):

  • css/CSSStyleSelector.cpp:

(WebCore::CSSStyleSelector::collectMatchingRulesForList):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r109486 r109488  
     12012-03-01  Luke Macpherson   <macpherson@chromium.org>
     2
     3        Handle CSSPropertyWebkitBorderFit in CSSStyleApplyProperty.
     4        https://bugs.webkit.org/show_bug.cgi?id=79998
     5
     6        Reviewed by Andreas Kling.
     7
     8        No new tests / refactoring only.
     9
     10        * css/CSSStyleApplyProperty.cpp:
     11        (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
     12        * css/CSSStyleSelector.cpp:
     13        (WebCore::CSSStyleSelector::collectMatchingRulesForList):
     14
    1152012-03-01  Anders Carlsson  <andersca@apple.com>
    216
  • trunk/Source/WebCore/css/CSSStyleApplyProperty.cpp

    r109472 r109488  
    18131813    setPropertyHandler(CSSPropertyWebkitBackgroundOrigin, CSSPropertyBackgroundOrigin);
    18141814    setPropertyHandler(CSSPropertyWebkitBackgroundSize, CSSPropertyBackgroundSize);
     1815    setPropertyHandler(CSSPropertyWebkitBorderFit, ApplyPropertyDefault<EBorderFit, &RenderStyle::borderFit, EBorderFit, &RenderStyle::setBorderFit, EBorderFit, &RenderStyle::initialBorderFit>::createHandler());
    18151816    setPropertyHandler(CSSPropertyWebkitBorderHorizontalSpacing, ApplyPropertyComputeLength<short, &RenderStyle::horizontalBorderSpacing, &RenderStyle::setHorizontalBorderSpacing, &RenderStyle::initialHorizontalBorderSpacing>::createHandler());
    18161817    setPropertyHandler(CSSPropertyWebkitBorderImage, ApplyPropertyBorderImage<Image, CSSPropertyWebkitBorderImage, &RenderStyle::borderImage, &RenderStyle::setBorderImage>::createHandler());
  • trunk/Source/WebCore/css/CSSStyleSelector.cpp

    r109472 r109488  
    35123512        return;
    35133513    }
    3514     case CSSPropertyWebkitBorderFit:
    3515         HANDLE_INHERIT_AND_INITIAL_AND_PRIMITIVE(borderFit, BorderFit);
    3516         return;
    35173514    case CSSPropertyWebkitTextSizeAdjust: {
    35183515        HANDLE_INHERIT_AND_INITIAL(textSizeAdjust, TextSizeAdjust)
     
    39583955    case CSSPropertyWebkitBackgroundOrigin:
    39593956    case CSSPropertyWebkitBackgroundSize:
     3957    case CSSPropertyWebkitBorderFit:
    39603958    case CSSPropertyWebkitBorderHorizontalSpacing:
    39613959    case CSSPropertyWebkitBorderImage:
Note: See TracChangeset for help on using the changeset viewer.