diff options
author | Andrei Popescu <andreip@google.com> | 2009-08-12 14:04:52 +0100 |
---|---|---|
committer | Andrei Popescu <andreip@google.com> | 2009-08-12 14:04:52 +0100 |
commit | fd3864ec9aa8cde804c27b9381b4e8a73ccf6583 (patch) | |
tree | b31d1ef0bbed97771d607da5afc5b7850f6fc8f9 /WebCore/css/CSSComputedStyleDeclaration.cpp | |
parent | 0bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5 (diff) | |
download | external_webkit-fd3864ec9aa8cde804c27b9381b4e8a73ccf6583.zip external_webkit-fd3864ec9aa8cde804c27b9381b4e8a73ccf6583.tar.gz external_webkit-fd3864ec9aa8cde804c27b9381b4e8a73ccf6583.tar.bz2 |
dom, html and loader merges
Diffstat (limited to 'WebCore/css/CSSComputedStyleDeclaration.cpp')
-rw-r--r-- | WebCore/css/CSSComputedStyleDeclaration.cpp | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/WebCore/css/CSSComputedStyleDeclaration.cpp b/WebCore/css/CSSComputedStyleDeclaration.cpp index 5186208..8a91140 100644 --- a/WebCore/css/CSSComputedStyleDeclaration.cpp +++ b/WebCore/css/CSSComputedStyleDeclaration.cpp @@ -1485,45 +1485,7 @@ String CSSComputedStyleDeclaration::item(unsigned i) const return getPropertyName(static_cast<CSSPropertyID>(computedProperties[i])); } -#ifdef MANUAL_MERGE_REQUIRED -// This is the list of properties we want to copy in the copyInheritableProperties() function. -// It is the intersection of the list of inherited CSS properties and the -// properties for which we have a computed implementation in this file. -static const int inheritableProperties[] = { - CSSPropertyBorderCollapse, - CSSPropertyColor, - CSSPropertyFontFamily, - CSSPropertyFontSize, - CSSPropertyFontStyle, - CSSPropertyFontVariant, - CSSPropertyFontWeight, - CSSPropertyLetterSpacing, - CSSPropertyLineHeight, - CSSPropertyOrphans, - CSSPropertyTextAlign, - CSSPropertyTextIndent, - CSSPropertyTextTransform, - CSSPropertyWhiteSpace, - CSSPropertyWidows, - CSSPropertyWordSpacing, - CSSPropertyWebkitBorderHorizontalSpacing, - CSSPropertyWebkitBorderVerticalSpacing, - CSSPropertyWebkitTextDecorationsInEffect, - CSSPropertyWebkitTextFillColor, - CSSPropertyWebkitTextSizeAdjust, - CSSPropertyWebkitTextStrokeColor, - CSSPropertyWebkitTextStrokeWidth, -#ifdef ANDROID_CSS_TAP_HIGHLIGHT_COLOR - CSSPropertyWebkitTapHighlightColor, -#endif -}; - -static const unsigned numInheritableProperties = sizeof(inheritableProperties) / sizeof(inheritableProperties[0]); - -void CSSComputedStyleDeclaration::removeComputedInheritablePropertiesFrom(CSSMutableStyleDeclaration* declaration) -#else // MANUAL_MERGE_REQUIRED bool CSSComputedStyleDeclaration::cssPropertyMatches(const CSSProperty* property) const -#endif // MANUAL_MERGE_REQUIRED { if (property->id() == CSSPropertyFontSize && property->value()->isPrimitiveValue() && m_node) { m_node->document()->updateLayoutIgnorePendingStylesheets(); |