Modified: trunk/Source/WebCore/ChangeLog (109487 => 109488)
--- trunk/Source/WebCore/ChangeLog 2012-03-02 03:17:41 UTC (rev 109487)
+++ trunk/Source/WebCore/ChangeLog 2012-03-02 03:18:41 UTC (rev 109488)
@@ -1,3 +1,17 @@
+2012-03-01 Luke Macpherson <[email protected]>
+
+ 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):
+
2012-03-01 Anders Carlsson <[email protected]>
Crash when doing repeated double-tap-to-zoom gesture on apple startpage
Modified: trunk/Source/WebCore/css/CSSStyleApplyProperty.cpp (109487 => 109488)
--- trunk/Source/WebCore/css/CSSStyleApplyProperty.cpp 2012-03-02 03:17:41 UTC (rev 109487)
+++ trunk/Source/WebCore/css/CSSStyleApplyProperty.cpp 2012-03-02 03:18:41 UTC (rev 109488)
@@ -1812,6 +1812,7 @@
setPropertyHandler(CSSPropertyWebkitBackgroundComposite, ApplyPropertyFillLayer<CompositeOperator, CSSPropertyWebkitBackgroundComposite, BackgroundFillLayer, &RenderStyle::accessBackgroundLayers, &RenderStyle::backgroundLayers, &FillLayer::isCompositeSet, &FillLayer::composite, &FillLayer::setComposite, &FillLayer::clearComposite, &FillLayer::initialFillComposite, &CSSStyleSelector::mapFillComposite>::createHandler());
setPropertyHandler(CSSPropertyWebkitBackgroundOrigin, CSSPropertyBackgroundOrigin);
setPropertyHandler(CSSPropertyWebkitBackgroundSize, CSSPropertyBackgroundSize);
+ setPropertyHandler(CSSPropertyWebkitBorderFit, ApplyPropertyDefault<EBorderFit, &RenderStyle::borderFit, EBorderFit, &RenderStyle::setBorderFit, EBorderFit, &RenderStyle::initialBorderFit>::createHandler());
setPropertyHandler(CSSPropertyWebkitBorderHorizontalSpacing, ApplyPropertyComputeLength<short, &RenderStyle::horizontalBorderSpacing, &RenderStyle::setHorizontalBorderSpacing, &RenderStyle::initialHorizontalBorderSpacing>::createHandler());
setPropertyHandler(CSSPropertyWebkitBorderImage, ApplyPropertyBorderImage<Image, CSSPropertyWebkitBorderImage, &RenderStyle::borderImage, &RenderStyle::setBorderImage>::createHandler());
setPropertyHandler(CSSPropertyWebkitBorderRadius, CSSPropertyBorderRadius);
Modified: trunk/Source/WebCore/css/CSSStyleSelector.cpp (109487 => 109488)
--- trunk/Source/WebCore/css/CSSStyleSelector.cpp 2012-03-02 03:17:41 UTC (rev 109487)
+++ trunk/Source/WebCore/css/CSSStyleSelector.cpp 2012-03-02 03:18:41 UTC (rev 109488)
@@ -3511,9 +3511,6 @@
setFontDescription(fontDescription);
return;
}
- case CSSPropertyWebkitBorderFit:
- HANDLE_INHERIT_AND_INITIAL_AND_PRIMITIVE(borderFit, BorderFit);
- return;
case CSSPropertyWebkitTextSizeAdjust: {
HANDLE_INHERIT_AND_INITIAL(textSizeAdjust, TextSizeAdjust)
if (!primitiveValue || !primitiveValue->getIdent())
@@ -3957,6 +3954,7 @@
case CSSPropertyWebkitBackgroundComposite:
case CSSPropertyWebkitBackgroundOrigin:
case CSSPropertyWebkitBackgroundSize:
+ case CSSPropertyWebkitBorderFit:
case CSSPropertyWebkitBorderHorizontalSpacing:
case CSSPropertyWebkitBorderImage:
case CSSPropertyWebkitBorderRadius: