diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2013-09-13 12:51:20 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-19 20:50:05 +0200 |
commit | d441d6f39bb846989d95bcf5caf387b42414718d (patch) | |
tree | e367e64a75991c554930278175d403c072de6bb8 /Source/WebCore/css/CSSProperty.cpp | |
parent | 0060b2994c07842f4c59de64b5e3e430525c4b90 (diff) | |
download | qtwebkit-d441d6f39bb846989d95bcf5caf387b42414718d.tar.gz |
Import Qt5x2 branch of QtWebkit for Qt 5.2
Importing a new snapshot of webkit.
Change-Id: I2d01ad12cdc8af8cb015387641120a9d7ea5f10c
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@digia.com>
Diffstat (limited to 'Source/WebCore/css/CSSProperty.cpp')
-rw-r--r-- | Source/WebCore/css/CSSProperty.cpp | 46 |
1 files changed, 33 insertions, 13 deletions
diff --git a/Source/WebCore/css/CSSProperty.cpp b/Source/WebCore/css/CSSProperty.cpp index b25120321..13a4d7e7f 100644 --- a/Source/WebCore/css/CSSProperty.cpp +++ b/Source/WebCore/css/CSSProperty.cpp @@ -24,7 +24,6 @@ #include "CSSValueList.h" #include "RenderStyleConstants.h" #include "StylePropertyShorthand.h" -#include "WebCoreMemoryInstrumentation.h" #if ENABLE(CSS_VARIABLES) #include "CSSVariableValue.h" @@ -302,6 +301,9 @@ bool CSSProperty::isInheritedProperty(CSSPropertyID propertyID) case CSSPropertyWebkitBorderVerticalSpacing: case CSSPropertyWebkitBoxDirection: case CSSPropertyWebkitColorCorrection: +#if ENABLE(CURSOR_VISIBILITY) + case CSSPropertyWebkitCursorVisibility: +#endif case CSSPropertyWebkitFontFeatureSettings: case CSSPropertyWebkitFontKerning: case CSSPropertyWebkitFontSmoothing: @@ -329,6 +331,8 @@ bool CSSProperty::isInheritedProperty(CSSPropertyID propertyID) #if ENABLE(CSS3_TEXT) case CSSPropertyWebkitTextDecorationLine: case CSSPropertyWebkitTextAlignLast: + case CSSPropertyWebkitTextJustify: + case CSSPropertyWebkitTextUnderlinePosition: #endif // CSS3_TEXT case CSSPropertyWebkitTextDecorationsInEffect: case CSSPropertyWebkitTextEmphasis: @@ -338,7 +342,6 @@ bool CSSProperty::isInheritedProperty(CSSPropertyID propertyID) case CSSPropertyWebkitTextFillColor: case CSSPropertyWebkitTextOrientation: case CSSPropertyWebkitTextSecurity: - case CSSPropertyWebkitTextSizeAdjust: case CSSPropertyWebkitTextStroke: case CSSPropertyWebkitTextStrokeColor: case CSSPropertyWebkitTextStrokeWidth: @@ -437,6 +440,9 @@ bool CSSProperty::isInheritedProperty(CSSPropertyID propertyID) case CSSPropertyCounterReset: case CSSPropertyFloat: case CSSPropertyFontStretch: +#if ENABLE(CSS_SHADERS) + case CSSPropertyGeometry: +#endif case CSSPropertyHeight: case CSSPropertyLeft: case CSSPropertyMargin: @@ -489,6 +495,11 @@ bool CSSProperty::isInheritedProperty(CSSPropertyID propertyID) case CSSPropertyTextUnderlineStyle: case CSSPropertyTextUnderlineWidth: case CSSPropertyTop: + case CSSPropertyTransition: + case CSSPropertyTransitionDelay: + case CSSPropertyTransitionDuration: + case CSSPropertyTransitionProperty: + case CSSPropertyTransitionTimingFunction: case CSSPropertyUnicodeBidi: case CSSPropertyUnicodeRange: case CSSPropertyVerticalAlign: @@ -505,6 +516,7 @@ bool CSSProperty::isInheritedProperty(CSSPropertyID propertyID) case CSSPropertyWebkitAnimationTimingFunction: case CSSPropertyWebkitAppearance: case CSSPropertyWebkitBackfaceVisibility: + case CSSPropertyWebkitBackgroundBlendMode: case CSSPropertyWebkitBackgroundClip: case CSSPropertyWebkitBackgroundComposite: case CSSPropertyWebkitBackgroundOrigin: @@ -574,8 +586,15 @@ bool CSSProperty::isInheritedProperty(CSSPropertyID propertyID) case CSSPropertyWebkitJustifyContent: case CSSPropertyWebkitOrder: case CSSPropertyWebkitFontSizeDelta: - case CSSPropertyWebkitGridColumns: - case CSSPropertyWebkitGridRows: + case CSSPropertyWebkitGridAutoColumns: + case CSSPropertyWebkitGridAutoFlow: + case CSSPropertyWebkitGridAutoRows: + case CSSPropertyWebkitGridDefinitionColumns: + case CSSPropertyWebkitGridDefinitionRows: + case CSSPropertyWebkitGridStart: + case CSSPropertyWebkitGridEnd: + case CSSPropertyWebkitGridBefore: + case CSSPropertyWebkitGridAfter: case CSSPropertyWebkitGridColumn: case CSSPropertyWebkitGridRow: case CSSPropertyWebkitLineClamp: @@ -628,6 +647,7 @@ bool CSSProperty::isInheritedProperty(CSSPropertyID propertyID) case CSSPropertyWebkitPerspectiveOriginY: #if ENABLE(CSS3_TEXT) case CSSPropertyWebkitTextDecorationStyle: + case CSSPropertyWebkitTextDecorationColor: #endif // CSS3_TEXT case CSSPropertyWebkitTransform: case CSSPropertyWebkitTransformOrigin: @@ -644,19 +664,24 @@ bool CSSProperty::isInheritedProperty(CSSPropertyID propertyID) #if ENABLE(CSS_REGIONS) case CSSPropertyWebkitFlowInto: case CSSPropertyWebkitFlowFrom: - case CSSPropertyWebkitRegionOverflow: case CSSPropertyWebkitRegionBreakAfter: case CSSPropertyWebkitRegionBreakBefore: case CSSPropertyWebkitRegionBreakInside: + case CSSPropertyWebkitRegionFragment: #endif #if ENABLE(CSS_EXCLUSIONS) - case CSSPropertyWebkitWrap: case CSSPropertyWebkitWrapFlow: + case CSSPropertyWebkitWrapThrough: +#endif +#if ENABLE(CSS_SHAPES) case CSSPropertyWebkitShapeMargin: case CSSPropertyWebkitShapePadding: case CSSPropertyWebkitShapeInside: case CSSPropertyWebkitShapeOutside: - case CSSPropertyWebkitWrapThrough: +#endif +#if ENABLE(CSS_SHADERS) + case CSSPropertyMix: + case CSSPropertyParameters: #endif #if ENABLE(SVG) case CSSPropertyClipPath: @@ -674,6 +699,7 @@ bool CSSProperty::isInheritedProperty(CSSPropertyID propertyID) case CSSPropertyBaselineShift: case CSSPropertyDominantBaseline: case CSSPropertyVectorEffect: + case CSSPropertyBufferedRendering: case CSSPropertyWebkitSvgShadow: #endif #if ENABLE(DASHBOARD_SUPPORT) @@ -697,10 +723,4 @@ bool CSSProperty::isInheritedProperty(CSSPropertyID propertyID) return false; } -void CSSProperty::reportMemoryUsage(MemoryObjectInfo* memoryObjectInfo) const -{ - MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS); - info.addMember(m_value); -} - } // namespace WebCore |