Changeset 83926 in webkit
- Timestamp:
- Apr 14, 2011 6:32:31 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r83922 r83926 1 2011-04-14 Luke Macpherson <macpherson@chromium.org> 2 3 Reviewed by Dimitri Glazkov. 4 5 Implement border style css properties in CSSStyleApplyProperty 6 https://bugs.webkit.org/show_bug.cgi?id=58506 7 8 No new functionality added. 9 10 * css/CSSStyleApplyProperty.cpp: 11 (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty): 12 Added new property initializers. 13 14 * css/CSSStyleSelector.cpp: 15 (WebCore::CSSStyleSelector::applyProperty): 16 Removed old property handlers. 17 1 18 2011-04-14 Dimitri Glazkov <dglazkov@chromium.org> 2 19 -
trunk/Source/WebCore/css/CSSStyleApplyProperty.cpp
r83731 r83926 364 364 setPropertyValue(CSSPropertyBorderRightColor, new ApplyPropertyColorBase(&RenderStyle::borderRightColor, &RenderStyle::color, &RenderStyle::setBorderRightColor)); 365 365 setPropertyValue(CSSPropertyBorderTopColor, new ApplyPropertyColorBase(&RenderStyle::borderTopColor, &RenderStyle::color, &RenderStyle::setBorderTopColor)); 366 367 setPropertyValue(CSSPropertyBorderTopStyle, new ApplyPropertyDefault<EBorderStyle>(&RenderStyle::borderTopStyle, &RenderStyle::setBorderTopStyle, &RenderStyle::initialBorderStyle)); 368 setPropertyValue(CSSPropertyBorderRightStyle, new ApplyPropertyDefault<EBorderStyle>(&RenderStyle::borderRightStyle, &RenderStyle::setBorderRightStyle, &RenderStyle::initialBorderStyle)); 369 setPropertyValue(CSSPropertyBorderBottomStyle, new ApplyPropertyDefault<EBorderStyle>(&RenderStyle::borderBottomStyle, &RenderStyle::setBorderBottomStyle, &RenderStyle::initialBorderStyle)); 370 setPropertyValue(CSSPropertyBorderLeftStyle, new ApplyPropertyDefault<EBorderStyle>(&RenderStyle::borderLeftStyle, &RenderStyle::setBorderLeftStyle, &RenderStyle::initialBorderStyle)); 371 366 372 setPropertyValue(CSSPropertyOutlineColor, new ApplyPropertyColorBase(&RenderStyle::outlineColor, &RenderStyle::color, &RenderStyle::setOutlineColor)); 367 373 setPropertyValue(CSSPropertyWebkitColumnRuleColor, new ApplyPropertyColorBase(&RenderStyle::columnRuleColor, &RenderStyle::color, &RenderStyle::setColumnRuleColor)); -
trunk/Source/WebCore/css/CSSStyleSelector.cpp
r83889 r83926 3601 3601 } 3602 3602 return; 3603 case CSSPropertyBorderTopStyle:3604 HANDLE_INHERIT_AND_INITIAL_AND_PRIMITIVE_WITH_VALUE(borderTopStyle, BorderTopStyle, BorderStyle)3605 return;3606 case CSSPropertyBorderRightStyle:3607 HANDLE_INHERIT_AND_INITIAL_AND_PRIMITIVE_WITH_VALUE(borderRightStyle, BorderRightStyle, BorderStyle)3608 return;3609 case CSSPropertyBorderBottomStyle:3610 HANDLE_INHERIT_AND_INITIAL_AND_PRIMITIVE_WITH_VALUE(borderBottomStyle, BorderBottomStyle, BorderStyle)3611 return;3612 case CSSPropertyBorderLeftStyle:3613 HANDLE_INHERIT_AND_INITIAL_AND_PRIMITIVE_WITH_VALUE(borderLeftStyle, BorderLeftStyle, BorderStyle)3614 return;3615 3603 case CSSPropertyOutlineStyle: 3616 3604 HANDLE_INHERIT_AND_INITIAL_WITH_VALUE(outlineStyle, OutlineStyle, BorderStyle) … … 6067 6055 case CSSPropertyBorderRightColor: 6068 6056 case CSSPropertyBorderTopColor: 6057 case CSSPropertyBorderTopStyle: 6058 case CSSPropertyBorderRightStyle: 6059 case CSSPropertyBorderBottomStyle: 6060 case CSSPropertyBorderLeftStyle: 6069 6061 case CSSPropertyOutlineColor: 6070 6062 case CSSPropertyWebkitColumnRuleColor:
Note: See TracChangeset
for help on using the changeset viewer.