Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Side by Side Diff: Source/core/css/DeprecatedStyleBuilder.cpp

Issue 15012010: Remove the CSS_COMPOSITING define, leaving the implementation under the runtime flag, since runtime… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: removed bogus test Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/core/css/CSSPropertyNames.in ('k') | Source/core/css/StyleResolver.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 2005 matching lines...) Expand 10 before | Expand all | Expand 10 after
2016 return styleBuilderInstance; 2016 return styleBuilderInstance;
2017 } 2017 }
2018 2018
2019 DeprecatedStyleBuilder::DeprecatedStyleBuilder() 2019 DeprecatedStyleBuilder::DeprecatedStyleBuilder()
2020 { 2020 {
2021 for (int i = 0; i < numCSSProperties; ++i) 2021 for (int i = 0; i < numCSSProperties; ++i)
2022 m_propertyMap[i] = PropertyHandler(); 2022 m_propertyMap[i] = PropertyHandler();
2023 2023
2024 // Please keep CSS property list in alphabetical order. 2024 // Please keep CSS property list in alphabetical order.
2025 setPropertyHandler(CSSPropertyBackgroundAttachment, ApplyPropertyFillLayer<E FillAttachment, CSSPropertyBackgroundAttachment, BackgroundFillLayer, &RenderSty le::accessBackgroundLayers, &RenderStyle::backgroundLayers, &FillLayer::isAttach mentSet, &FillLayer::attachment, &FillLayer::setAttachment, &FillLayer::clearAtt achment, &FillLayer::initialFillAttachment, &CSSToStyleMap::mapFillAttachment>:: createHandler()); 2025 setPropertyHandler(CSSPropertyBackgroundAttachment, ApplyPropertyFillLayer<E FillAttachment, CSSPropertyBackgroundAttachment, BackgroundFillLayer, &RenderSty le::accessBackgroundLayers, &RenderStyle::backgroundLayers, &FillLayer::isAttach mentSet, &FillLayer::attachment, &FillLayer::setAttachment, &FillLayer::clearAtt achment, &FillLayer::initialFillAttachment, &CSSToStyleMap::mapFillAttachment>:: createHandler());
2026 #if ENABLE(CSS_COMPOSITING)
2027 setPropertyHandler(CSSPropertyBackgroundBlendMode, ApplyPropertyFillLayer<Bl endMode, CSSPropertyBackgroundBlendMode, BackgroundFillLayer, &RenderStyle::acce ssBackgroundLayers, &RenderStyle::backgroundLayers, &FillLayer::isBlendModeSet, &FillLayer::blendMode, &FillLayer::setBlendMode, &FillLayer::clearBlendMode, &Fi llLayer::initialFillBlendMode, &CSSToStyleMap::mapFillBlendMode>::createHandler( )); 2026 setPropertyHandler(CSSPropertyBackgroundBlendMode, ApplyPropertyFillLayer<Bl endMode, CSSPropertyBackgroundBlendMode, BackgroundFillLayer, &RenderStyle::acce ssBackgroundLayers, &RenderStyle::backgroundLayers, &FillLayer::isBlendModeSet, &FillLayer::blendMode, &FillLayer::setBlendMode, &FillLayer::clearBlendMode, &Fi llLayer::initialFillBlendMode, &CSSToStyleMap::mapFillBlendMode>::createHandler( ));
2028 #endif
2029 setPropertyHandler(CSSPropertyBackgroundClip, ApplyPropertyFillLayer<EFillBo x, CSSPropertyBackgroundClip, BackgroundFillLayer, &RenderStyle::accessBackgroun dLayers, &RenderStyle::backgroundLayers, &FillLayer::isClipSet, &FillLayer::clip , &FillLayer::setClip, &FillLayer::clearClip, &FillLayer::initialFillClip, &CSST oStyleMap::mapFillClip>::createHandler()); 2027 setPropertyHandler(CSSPropertyBackgroundClip, ApplyPropertyFillLayer<EFillBo x, CSSPropertyBackgroundClip, BackgroundFillLayer, &RenderStyle::accessBackgroun dLayers, &RenderStyle::backgroundLayers, &FillLayer::isClipSet, &FillLayer::clip , &FillLayer::setClip, &FillLayer::clearClip, &FillLayer::initialFillClip, &CSST oStyleMap::mapFillClip>::createHandler());
2030 setPropertyHandler(CSSPropertyBackgroundColor, ApplyPropertyColor<NoInheritF romParent, &RenderStyle::backgroundColor, &RenderStyle::setBackgroundColor, &Ren derStyle::setVisitedLinkBackgroundColor, &RenderStyle::invalidColor>::createHand ler()); 2028 setPropertyHandler(CSSPropertyBackgroundColor, ApplyPropertyColor<NoInheritF romParent, &RenderStyle::backgroundColor, &RenderStyle::setBackgroundColor, &Ren derStyle::setVisitedLinkBackgroundColor, &RenderStyle::invalidColor>::createHand ler());
2031 setPropertyHandler(CSSPropertyBackgroundImage, ApplyPropertyFillLayer<StyleI mage*, CSSPropertyBackgroundImage, BackgroundFillLayer, &RenderStyle::accessBack groundLayers, &RenderStyle::backgroundLayers, &FillLayer::isImageSet, &FillLayer ::image, &FillLayer::setImage, &FillLayer::clearImage, &FillLayer::initialFillIm age, &CSSToStyleMap::mapFillImage>::createHandler()); 2029 setPropertyHandler(CSSPropertyBackgroundImage, ApplyPropertyFillLayer<StyleI mage*, CSSPropertyBackgroundImage, BackgroundFillLayer, &RenderStyle::accessBack groundLayers, &RenderStyle::backgroundLayers, &FillLayer::isImageSet, &FillLayer ::image, &FillLayer::setImage, &FillLayer::clearImage, &FillLayer::initialFillIm age, &CSSToStyleMap::mapFillImage>::createHandler());
2032 setPropertyHandler(CSSPropertyBackgroundOrigin, ApplyPropertyFillLayer<EFill Box, CSSPropertyBackgroundOrigin, BackgroundFillLayer, &RenderStyle::accessBackg roundLayers, &RenderStyle::backgroundLayers, &FillLayer::isOriginSet, &FillLayer ::origin, &FillLayer::setOrigin, &FillLayer::clearOrigin, &FillLayer::initialFil lOrigin, &CSSToStyleMap::mapFillOrigin>::createHandler()); 2030 setPropertyHandler(CSSPropertyBackgroundOrigin, ApplyPropertyFillLayer<EFill Box, CSSPropertyBackgroundOrigin, BackgroundFillLayer, &RenderStyle::accessBackg roundLayers, &RenderStyle::backgroundLayers, &FillLayer::isOriginSet, &FillLayer ::origin, &FillLayer::setOrigin, &FillLayer::clearOrigin, &FillLayer::initialFil lOrigin, &CSSToStyleMap::mapFillOrigin>::createHandler());
2033 setPropertyHandler(CSSPropertyBackgroundPositionX, ApplyPropertyFillLayer<Le ngth, CSSPropertyBackgroundPositionX, BackgroundFillLayer, &RenderStyle::accessB ackgroundLayers, &RenderStyle::backgroundLayers, &FillLayer::isXPositionSet, &Fi llLayer::xPosition, &FillLayer::setXPosition, &FillLayer::clearXPosition, &FillL ayer::initialFillXPosition, &CSSToStyleMap::mapFillXPosition>::createHandler()); 2031 setPropertyHandler(CSSPropertyBackgroundPositionX, ApplyPropertyFillLayer<Le ngth, CSSPropertyBackgroundPositionX, BackgroundFillLayer, &RenderStyle::accessB ackgroundLayers, &RenderStyle::backgroundLayers, &FillLayer::isXPositionSet, &Fi llLayer::xPosition, &FillLayer::setXPosition, &FillLayer::clearXPosition, &FillL ayer::initialFillXPosition, &CSSToStyleMap::mapFillXPosition>::createHandler());
2034 setPropertyHandler(CSSPropertyBackgroundPositionY, ApplyPropertyFillLayer<Le ngth, CSSPropertyBackgroundPositionY, BackgroundFillLayer, &RenderStyle::accessB ackgroundLayers, &RenderStyle::backgroundLayers, &FillLayer::isYPositionSet, &Fi llLayer::yPosition, &FillLayer::setYPosition, &FillLayer::clearYPosition, &FillL ayer::initialFillYPosition, &CSSToStyleMap::mapFillYPosition>::createHandler()); 2032 setPropertyHandler(CSSPropertyBackgroundPositionY, ApplyPropertyFillLayer<Le ngth, CSSPropertyBackgroundPositionY, BackgroundFillLayer, &RenderStyle::accessB ackgroundLayers, &RenderStyle::backgroundLayers, &FillLayer::isYPositionSet, &Fi llLayer::yPosition, &FillLayer::setYPosition, &FillLayer::clearYPosition, &FillL ayer::initialFillYPosition, &CSSToStyleMap::mapFillYPosition>::createHandler());
2035 setPropertyHandler(CSSPropertyBackgroundRepeatX, ApplyPropertyFillLayer<EFil lRepeat, CSSPropertyBackgroundRepeatX, BackgroundFillLayer, &RenderStyle::access BackgroundLayers, &RenderStyle::backgroundLayers, &FillLayer::isRepeatXSet, &Fil lLayer::repeatX, &FillLayer::setRepeatX, &FillLayer::clearRepeatX, &FillLayer::i nitialFillRepeatX, &CSSToStyleMap::mapFillRepeatX>::createHandler()); 2033 setPropertyHandler(CSSPropertyBackgroundRepeatX, ApplyPropertyFillLayer<EFil lRepeat, CSSPropertyBackgroundRepeatX, BackgroundFillLayer, &RenderStyle::access BackgroundLayers, &RenderStyle::backgroundLayers, &FillLayer::isRepeatXSet, &Fil lLayer::repeatX, &FillLayer::setRepeatX, &FillLayer::clearRepeatX, &FillLayer::i nitialFillRepeatX, &CSSToStyleMap::mapFillRepeatX>::createHandler());
2036 setPropertyHandler(CSSPropertyBackgroundRepeatY, ApplyPropertyFillLayer<EFil lRepeat, CSSPropertyBackgroundRepeatY, BackgroundFillLayer, &RenderStyle::access BackgroundLayers, &RenderStyle::backgroundLayers, &FillLayer::isRepeatYSet, &Fil lLayer::repeatY, &FillLayer::setRepeatY, &FillLayer::clearRepeatY, &FillLayer::i nitialFillRepeatY, &CSSToStyleMap::mapFillRepeatY>::createHandler()); 2034 setPropertyHandler(CSSPropertyBackgroundRepeatY, ApplyPropertyFillLayer<EFil lRepeat, CSSPropertyBackgroundRepeatY, BackgroundFillLayer, &RenderStyle::access BackgroundLayers, &RenderStyle::backgroundLayers, &FillLayer::isRepeatYSet, &Fil lLayer::repeatY, &FillLayer::setRepeatY, &FillLayer::clearRepeatY, &FillLayer::i nitialFillRepeatY, &CSSToStyleMap::mapFillRepeatY>::createHandler());
2037 setPropertyHandler(CSSPropertyBackgroundSize, ApplyPropertyFillLayer<FillSiz e, CSSPropertyBackgroundSize, BackgroundFillLayer, &RenderStyle::accessBackgroun dLayers, &RenderStyle::backgroundLayers, &FillLayer::isSizeSet, &FillLayer::size , &FillLayer::setSize, &FillLayer::clearSize, &FillLayer::initialFillSize, &CSST oStyleMap::mapFillSize>::createHandler()); 2035 setPropertyHandler(CSSPropertyBackgroundSize, ApplyPropertyFillLayer<FillSiz e, CSSPropertyBackgroundSize, BackgroundFillLayer, &RenderStyle::accessBackgroun dLayers, &RenderStyle::backgroundLayers, &FillLayer::isSizeSet, &FillLayer::size , &FillLayer::setSize, &FillLayer::clearSize, &FillLayer::initialFillSize, &CSST oStyleMap::mapFillSize>::createHandler());
2038 setPropertyHandler(CSSPropertyBorderBottomColor, ApplyPropertyColor<NoInheri tFromParent, &RenderStyle::borderBottomColor, &RenderStyle::setBorderBottomColor , &RenderStyle::setVisitedLinkBorderBottomColor, &RenderStyle::color>::createHan dler()); 2036 setPropertyHandler(CSSPropertyBorderBottomColor, ApplyPropertyColor<NoInheri tFromParent, &RenderStyle::borderBottomColor, &RenderStyle::setBorderBottomColor , &RenderStyle::setVisitedLinkBorderBottomColor, &RenderStyle::color>::createHan dler());
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
2084 setPropertyHandler(CSSPropertyListStylePosition, ApplyPropertyDefault<EListS tylePosition, &RenderStyle::listStylePosition, EListStylePosition, &RenderStyle: :setListStylePosition, EListStylePosition, &RenderStyle::initialListStylePositio n>::createHandler()); 2082 setPropertyHandler(CSSPropertyListStylePosition, ApplyPropertyDefault<EListS tylePosition, &RenderStyle::listStylePosition, EListStylePosition, &RenderStyle: :setListStylePosition, EListStylePosition, &RenderStyle::initialListStylePositio n>::createHandler());
2085 setPropertyHandler(CSSPropertyListStyleType, ApplyPropertyDefault<EListStyle Type, &RenderStyle::listStyleType, EListStyleType, &RenderStyle::setListStyleTyp e, EListStyleType, &RenderStyle::initialListStyleType>::createHandler()); 2083 setPropertyHandler(CSSPropertyListStyleType, ApplyPropertyDefault<EListStyle Type, &RenderStyle::listStyleType, EListStyleType, &RenderStyle::setListStyleTyp e, EListStyleType, &RenderStyle::initialListStyleType>::createHandler());
2086 setPropertyHandler(CSSPropertyMarginBottom, ApplyPropertyLength<&RenderStyle ::marginBottom, &RenderStyle::setMarginBottom, &RenderStyle::initialMargin, Auto Enabled>::createHandler()); 2084 setPropertyHandler(CSSPropertyMarginBottom, ApplyPropertyLength<&RenderStyle ::marginBottom, &RenderStyle::setMarginBottom, &RenderStyle::initialMargin, Auto Enabled>::createHandler());
2087 setPropertyHandler(CSSPropertyMarginLeft, ApplyPropertyLength<&RenderStyle:: marginLeft, &RenderStyle::setMarginLeft, &RenderStyle::initialMargin, AutoEnable d>::createHandler()); 2085 setPropertyHandler(CSSPropertyMarginLeft, ApplyPropertyLength<&RenderStyle:: marginLeft, &RenderStyle::setMarginLeft, &RenderStyle::initialMargin, AutoEnable d>::createHandler());
2088 setPropertyHandler(CSSPropertyMarginRight, ApplyPropertyLength<&RenderStyle: :marginRight, &RenderStyle::setMarginRight, &RenderStyle::initialMargin, AutoEna bled>::createHandler()); 2086 setPropertyHandler(CSSPropertyMarginRight, ApplyPropertyLength<&RenderStyle: :marginRight, &RenderStyle::setMarginRight, &RenderStyle::initialMargin, AutoEna bled>::createHandler());
2089 setPropertyHandler(CSSPropertyMarginTop, ApplyPropertyLength<&RenderStyle::m arginTop, &RenderStyle::setMarginTop, &RenderStyle::initialMargin, AutoEnabled>: :createHandler()); 2087 setPropertyHandler(CSSPropertyMarginTop, ApplyPropertyLength<&RenderStyle::m arginTop, &RenderStyle::setMarginTop, &RenderStyle::initialMargin, AutoEnabled>: :createHandler());
2090 setPropertyHandler(CSSPropertyMaxHeight, ApplyPropertyLength<&RenderStyle::m axHeight, &RenderStyle::setMaxHeight, &RenderStyle::initialMaxSize, AutoEnabled, LegacyIntrinsicEnabled, IntrinsicEnabled, NoneEnabled, UndefinedEnabled>::creat eHandler()); 2088 setPropertyHandler(CSSPropertyMaxHeight, ApplyPropertyLength<&RenderStyle::m axHeight, &RenderStyle::setMaxHeight, &RenderStyle::initialMaxSize, AutoEnabled, LegacyIntrinsicEnabled, IntrinsicEnabled, NoneEnabled, UndefinedEnabled>::creat eHandler());
2091 setPropertyHandler(CSSPropertyMaxWidth, ApplyPropertyLength<&RenderStyle::ma xWidth, &RenderStyle::setMaxWidth, &RenderStyle::initialMaxSize, AutoEnabled, Le gacyIntrinsicEnabled, IntrinsicEnabled, NoneEnabled, UndefinedEnabled>::createHa ndler()); 2089 setPropertyHandler(CSSPropertyMaxWidth, ApplyPropertyLength<&RenderStyle::ma xWidth, &RenderStyle::setMaxWidth, &RenderStyle::initialMaxSize, AutoEnabled, Le gacyIntrinsicEnabled, IntrinsicEnabled, NoneEnabled, UndefinedEnabled>::createHa ndler());
2092 setPropertyHandler(CSSPropertyMinHeight, ApplyPropertyLength<&RenderStyle::m inHeight, &RenderStyle::setMinHeight, &RenderStyle::initialMinSize, AutoEnabled, LegacyIntrinsicEnabled, IntrinsicEnabled>::createHandler()); 2090 setPropertyHandler(CSSPropertyMinHeight, ApplyPropertyLength<&RenderStyle::m inHeight, &RenderStyle::setMinHeight, &RenderStyle::initialMinSize, AutoEnabled, LegacyIntrinsicEnabled, IntrinsicEnabled>::createHandler());
2093 setPropertyHandler(CSSPropertyMinWidth, ApplyPropertyLength<&RenderStyle::mi nWidth, &RenderStyle::setMinWidth, &RenderStyle::initialMinSize, AutoEnabled, Le gacyIntrinsicEnabled, IntrinsicEnabled>::createHandler()); 2091 setPropertyHandler(CSSPropertyMinWidth, ApplyPropertyLength<&RenderStyle::mi nWidth, &RenderStyle::setMinWidth, &RenderStyle::initialMinSize, AutoEnabled, Le gacyIntrinsicEnabled, IntrinsicEnabled>::createHandler());
2094 #if ENABLE(CSS_COMPOSITING)
2095 setPropertyHandler(CSSPropertyMixBlendMode, ApplyPropertyDefault<BlendMode, &RenderStyle::blendMode, BlendMode, &RenderStyle::setBlendMode, BlendMode, &Rend erStyle::initialBlendMode>::createHandler()); 2092 setPropertyHandler(CSSPropertyMixBlendMode, ApplyPropertyDefault<BlendMode, &RenderStyle::blendMode, BlendMode, &RenderStyle::setBlendMode, BlendMode, &Rend erStyle::initialBlendMode>::createHandler());
2096 #endif
2097 setPropertyHandler(CSSPropertyOpacity, ApplyPropertyDefault<float, &RenderSt yle::opacity, float, &RenderStyle::setOpacity, float, &RenderStyle::initialOpaci ty>::createHandler()); 2093 setPropertyHandler(CSSPropertyOpacity, ApplyPropertyDefault<float, &RenderSt yle::opacity, float, &RenderStyle::setOpacity, float, &RenderStyle::initialOpaci ty>::createHandler());
2098 setPropertyHandler(CSSPropertyOrphans, ApplyPropertyAuto<short, &RenderStyle ::orphans, &RenderStyle::setOrphans, &RenderStyle::hasAutoOrphans, &RenderStyle: :setHasAutoOrphans>::createHandler()); 2094 setPropertyHandler(CSSPropertyOrphans, ApplyPropertyAuto<short, &RenderStyle ::orphans, &RenderStyle::setOrphans, &RenderStyle::hasAutoOrphans, &RenderStyle: :setHasAutoOrphans>::createHandler());
2099 setPropertyHandler(CSSPropertyOutlineColor, ApplyPropertyColor<NoInheritFrom Parent, &RenderStyle::outlineColor, &RenderStyle::setOutlineColor, &RenderStyle: :setVisitedLinkOutlineColor, &RenderStyle::color>::createHandler()); 2095 setPropertyHandler(CSSPropertyOutlineColor, ApplyPropertyColor<NoInheritFrom Parent, &RenderStyle::outlineColor, &RenderStyle::setOutlineColor, &RenderStyle: :setVisitedLinkOutlineColor, &RenderStyle::color>::createHandler());
2100 setPropertyHandler(CSSPropertyOutlineOffset, ApplyPropertyComputeLength<int, &RenderStyle::outlineOffset, &RenderStyle::setOutlineOffset, &RenderStyle::init ialOutlineOffset>::createHandler()); 2096 setPropertyHandler(CSSPropertyOutlineOffset, ApplyPropertyComputeLength<int, &RenderStyle::outlineOffset, &RenderStyle::setOutlineOffset, &RenderStyle::init ialOutlineOffset>::createHandler());
2101 setPropertyHandler(CSSPropertyOutlineStyle, ApplyPropertyOutlineStyle::creat eHandler()); 2097 setPropertyHandler(CSSPropertyOutlineStyle, ApplyPropertyOutlineStyle::creat eHandler());
2102 setPropertyHandler(CSSPropertyOutlineWidth, ApplyPropertyComputeLength<unsig ned short, &RenderStyle::outlineWidth, &RenderStyle::setOutlineWidth, &RenderSty le::initialOutlineWidth, NormalDisabled, ThicknessEnabled>::createHandler()); 2098 setPropertyHandler(CSSPropertyOutlineWidth, ApplyPropertyComputeLength<unsig ned short, &RenderStyle::outlineWidth, &RenderStyle::setOutlineWidth, &RenderSty le::initialOutlineWidth, NormalDisabled, ThicknessEnabled>::createHandler());
2103 setPropertyHandler(CSSPropertyOverflowWrap, ApplyPropertyDefault<EOverflowWr ap, &RenderStyle::overflowWrap, EOverflowWrap, &RenderStyle::setOverflowWrap, EO verflowWrap, &RenderStyle::initialOverflowWrap>::createHandler()); 2099 setPropertyHandler(CSSPropertyOverflowWrap, ApplyPropertyDefault<EOverflowWr ap, &RenderStyle::overflowWrap, EOverflowWrap, &RenderStyle::setOverflowWrap, EO verflowWrap, &RenderStyle::initialOverflowWrap>::createHandler());
2104 setPropertyHandler(CSSPropertyOverflowX, ApplyPropertyDefault<EOverflow, &Re nderStyle::overflowX, EOverflow, &RenderStyle::setOverflowX, EOverflow, &RenderS tyle::initialOverflowX>::createHandler()); 2100 setPropertyHandler(CSSPropertyOverflowX, ApplyPropertyDefault<EOverflow, &Re nderStyle::overflowX, EOverflow, &RenderStyle::setOverflowX, EOverflow, &RenderS tyle::initialOverflowX>::createHandler());
2105 setPropertyHandler(CSSPropertyOverflowY, ApplyPropertyDefault<EOverflow, &Re nderStyle::overflowY, EOverflow, &RenderStyle::setOverflowY, EOverflow, &RenderS tyle::initialOverflowY>::createHandler()); 2101 setPropertyHandler(CSSPropertyOverflowY, ApplyPropertyDefault<EOverflow, &Re nderStyle::overflowY, EOverflow, &RenderStyle::setOverflowY, EOverflow, &RenderS tyle::initialOverflowY>::createHandler());
2106 setPropertyHandler(CSSPropertyPaddingBottom, ApplyPropertyLength<&RenderStyl e::paddingBottom, &RenderStyle::setPaddingBottom, &RenderStyle::initialPadding>: :createHandler()); 2102 setPropertyHandler(CSSPropertyPaddingBottom, ApplyPropertyLength<&RenderStyl e::paddingBottom, &RenderStyle::setPaddingBottom, &RenderStyle::initialPadding>: :createHandler());
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
2268 setPropertyHandler(CSSPropertyWordBreak, ApplyPropertyDefault<EWordBreak, &R enderStyle::wordBreak, EWordBreak, &RenderStyle::setWordBreak, EWordBreak, &Rend erStyle::initialWordBreak>::createHandler()); 2264 setPropertyHandler(CSSPropertyWordBreak, ApplyPropertyDefault<EWordBreak, &R enderStyle::wordBreak, EWordBreak, &RenderStyle::setWordBreak, EWordBreak, &Rend erStyle::initialWordBreak>::createHandler());
2269 setPropertyHandler(CSSPropertyWordSpacing, ApplyPropertyComputeLength<int, & RenderStyle::wordSpacing, &RenderStyle::setWordSpacing, &RenderStyle::initialLet terWordSpacing, NormalEnabled, ThicknessDisabled, SVGZoomEnabled>::createHandler ()); 2265 setPropertyHandler(CSSPropertyWordSpacing, ApplyPropertyComputeLength<int, & RenderStyle::wordSpacing, &RenderStyle::setWordSpacing, &RenderStyle::initialLet terWordSpacing, NormalEnabled, ThicknessDisabled, SVGZoomEnabled>::createHandler ());
2270 // UAs must treat 'word-wrap' as an alternate name for the 'overflow-wrap' p roperty. So using the same handlers. 2266 // UAs must treat 'word-wrap' as an alternate name for the 'overflow-wrap' p roperty. So using the same handlers.
2271 setPropertyHandler(CSSPropertyWordWrap, ApplyPropertyDefault<EOverflowWrap, &RenderStyle::overflowWrap, EOverflowWrap, &RenderStyle::setOverflowWrap, EOverf lowWrap, &RenderStyle::initialOverflowWrap>::createHandler()); 2267 setPropertyHandler(CSSPropertyWordWrap, ApplyPropertyDefault<EOverflowWrap, &RenderStyle::overflowWrap, EOverflowWrap, &RenderStyle::setOverflowWrap, EOverf lowWrap, &RenderStyle::initialOverflowWrap>::createHandler());
2272 setPropertyHandler(CSSPropertyZIndex, ApplyPropertyAuto<int, &RenderStyle::z Index, &RenderStyle::setZIndex, &RenderStyle::hasAutoZIndex, &RenderStyle::setHa sAutoZIndex>::createHandler()); 2268 setPropertyHandler(CSSPropertyZIndex, ApplyPropertyAuto<int, &RenderStyle::z Index, &RenderStyle::setZIndex, &RenderStyle::hasAutoZIndex, &RenderStyle::setHa sAutoZIndex>::createHandler());
2273 setPropertyHandler(CSSPropertyZoom, ApplyPropertyZoom::createHandler()); 2269 setPropertyHandler(CSSPropertyZoom, ApplyPropertyZoom::createHandler());
2274 } 2270 }
2275 2271
2276 2272
2277 } 2273 }
OLDNEW
« no previous file with comments | « Source/core/css/CSSPropertyNames.in ('k') | Source/core/css/StyleResolver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698