Changeset 18401 in webkit


Ignore:
Timestamp:
Dec 23, 2006 4:39:54 AM (17 years ago)
Author:
hyatt
Message:

Fix 11942. The inheritable properties array is duplicated (lame). Make
sure to keep both in sync.

Reviewed by mitz

  • css/CSSComputedStyleDeclaration.cpp:
  • css/CSSMutableStyleDeclaration.cpp: (WebCore::):
Location:
trunk/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r18399 r18401  
     12006-12-23  David Hyatt  <hyatt@apple.com>
     2
     3        Fix 11942.  The inheritable properties array is duplicated (lame).  Make
     4        sure to keep both in sync.
     5
     6        Reviewed by mitz
     7
     8        * css/CSSComputedStyleDeclaration.cpp:
     9        * css/CSSMutableStyleDeclaration.cpp:
     10        (WebCore::):
     11
    1122006-12-22  Geoffrey Garen  <ggaren@apple.com>
    213
  • trunk/WebCore/css/CSSComputedStyleDeclaration.cpp

    r18340 r18401  
    14741474// It is the intersection of the list of inherited CSS properties and the
    14751475// properties for which we have a computed implementation in this file.
     1476// FIXME: This array is duplicated in CSSMutableStyleDeclaration.cpp!  Both must be patched if
     1477// you add something here!
    14761478const int inheritableProperties[] = {
    14771479    CSS_PROP_BORDER_COLLAPSE,
  • trunk/WebCore/css/CSSMutableStyleDeclaration.cpp

    r18320 r18401  
    417417// It is the intersection of the list of inherited CSS properties and the
    418418// properties for which we have a computed implementation in this file.
     419// FIXME: This array is duplicated in CSSComputedStyleDeclaration.cpp!  Both must be patched if
     420// you add something here!
    419421const int inheritableProperties[] = {
    420422    CSS_PROP_BORDER_COLLAPSE,
    421     CSS_PROP_BORDER_SPACING,
     423    CSS_PROP__WEBKIT_BORDER_HORIZONTAL_SPACING,
     424    CSS_PROP__WEBKIT_BORDER_VERTICAL_SPACING,
    422425    CSS_PROP_COLOR,
    423426    CSS_PROP_FONT_FAMILY,
     
    430433    CSS_PROP_TEXT_ALIGN,
    431434    CSS_PROP__WEBKIT_TEXT_DECORATIONS_IN_EFFECT,
     435    CSS_PROP__WEBKIT_TEXT_FILL_COLOR,
    432436    CSS_PROP_TEXT_INDENT,
    433437    CSS_PROP__WEBKIT_TEXT_SIZE_ADJUST,
     438    CSS_PROP__WEBKIT_TEXT_STROKE_COLOR,
     439    CSS_PROP__WEBKIT_TEXT_STROKE_WIDTH,
    434440    CSS_PROP_TEXT_TRANSFORM,
    435441    CSS_PROP_ORPHANS,
Note: See TracChangeset for help on using the changeset viewer.