summaryrefslogtreecommitdiffstats
path: root/WebCore/css/CSSComputedStyleDeclaration.cpp
diff options
context:
space:
mode:
authorAndrei Popescu <andreip@google.com>2009-08-12 14:04:52 +0100
committerAndrei Popescu <andreip@google.com>2009-08-12 14:04:52 +0100
commitfd3864ec9aa8cde804c27b9381b4e8a73ccf6583 (patch)
treeb31d1ef0bbed97771d607da5afc5b7850f6fc8f9 /WebCore/css/CSSComputedStyleDeclaration.cpp
parent0bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5 (diff)
downloadexternal_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.cpp38
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();