Changeset 102557 in webkit
- Timestamp:
- Dec 11, 2011 8:06:57 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r102556 r102557 1 2011-12-11 Luke Macpherson <macpherson@chromium.org> 2 3 Implement webkit-line-grid and webkit-line-grid-snap CSS properties in CSSStyleApplyProperty. 4 https://bugs.webkit.org/show_bug.cgi?id=74262 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::applyProperty): 14 1 15 2011-12-11 Kentaro Hara <haraken@chromium.org> 2 16 -
trunk/Source/WebCore/css/CSSStyleApplyProperty.cpp
r102552 r102557 1640 1640 setPropertyHandler(CSSPropertyWebkitHyphenateLimitLines, ApplyPropertyNumber<short, &RenderStyle::hyphenationLimitLines, &RenderStyle::setHyphenationLimitLines, &RenderStyle::initialHyphenationLimitLines, CSSValueNoLimit>::createHandler()); 1641 1641 1642 setPropertyHandler(CSSPropertyWebkitLineGrid, ApplyPropertyString<MapNoneToNull, &RenderStyle::lineGrid, &RenderStyle::setLineGrid, &RenderStyle::initialLineGrid>::createHandler()); 1643 setPropertyHandler(CSSPropertyWebkitLineGridSnap, ApplyPropertyDefault<LineGridSnap, &RenderStyle::lineGridSnap, LineGridSnap, &RenderStyle::setLineGridSnap, LineGridSnap, &RenderStyle::initialLineGridSnap>::createHandler()); 1644 1642 1645 setPropertyHandler(CSSPropertyWebkitTextCombine, ApplyPropertyDefault<TextCombine, &RenderStyle::textCombine, TextCombine, &RenderStyle::setTextCombine, TextCombine, &RenderStyle::initialTextCombine>::createHandler()); 1643 1646 setPropertyHandler(CSSPropertyWebkitTextEmphasisPosition, ApplyPropertyDefault<TextEmphasisPosition, &RenderStyle::textEmphasisPosition, TextEmphasisPosition, &RenderStyle::setTextEmphasisPosition, TextEmphasisPosition, &RenderStyle::initialTextEmphasisPosition>::createHandler()); -
trunk/Source/WebCore/css/CSSStyleSelector.cpp
r102555 r102557 3284 3284 else if (isInitial) 3285 3285 m_style->resetColumnRule(); 3286 return;3287 case CSSPropertyWebkitLineGrid:3288 HANDLE_INHERIT_AND_INITIAL(lineGrid, LineGrid);3289 if (primitiveValue->getIdent() == CSSValueNone)3290 m_style->setLineGrid(nullAtom);3291 else3292 m_style->setLineGrid(primitiveValue->getStringValue());3293 return;3294 case CSSPropertyWebkitLineGridSnap:3295 HANDLE_INHERIT_AND_INITIAL_AND_PRIMITIVE(lineGridSnap, LineGridSnap)3296 3286 return; 3297 3287 case CSSPropertyWebkitRegionBreakBefore: … … 3899 3889 case CSSPropertyWebkitHyphenateLimitBefore: 3900 3890 case CSSPropertyWebkitHyphenateLimitLines: 3891 case CSSPropertyWebkitLineGrid: 3892 case CSSPropertyWebkitLineGridSnap: 3901 3893 case CSSPropertyWebkitTextCombine: 3902 3894 case CSSPropertyWebkitTextEmphasisPosition:
Note: See TracChangeset
for help on using the changeset viewer.