if (nsnull != mOrder) {
else {
CSSDeclarationImpl::AppendValue(nsCSSProperty aProperty, const nsCSSValue& aValue){  nsresult result = NS_OK;  switch (aProperty) {    // nsCSSFont    case eCSSProperty_font_family:    case eCSSProperty_font_style:    case eCSSProperty_font_variant:    case eCSSProperty_font_weight:    case eCSSProperty_font_size:    case eCSSProperty_font_size_adjust:    case eCSSProperty_font_stretch:      CSS_ENSURE(Font) {        switch (aProperty) {          case eCSSProperty_font_family:      mFont->mFamily = aValue;      break;          case eCSSProperty_font_style:       mFont->mStyle = aValue;       break;          case eCSSProperty_font_variant:     mFont->mVariant = aValue;     break;          case eCSSProperty_font_weight:      mFont->mWeight = aValue;      break;          case eCSSProperty_font_size:        mFont->mSize = aValue;        break;          case eCSSProperty_font_size_adjust: mFont->mSizeAdjust = aValue;  break;          case eCSSProperty_font_stretch:     mFont->mStretch = aValue;     break;          CSS_BOGUS_DEFAULT; // make compiler happy        }      }      break;    // nsCSSColor    case eCSSProperty_color:    case eCSSProperty_background_color:    case eCSSProperty_background_image:    case eCSSProperty_background_repeat:    case eCSSProperty_background_attachment:    case eCSSProperty_background_x_position:    case eCSSProperty_background_y_position:      CSS_ENSURE(Color) {        switch (aProperty) {          case eCSSProperty_color:                  mColor->mColor = aValue;           break;          case eCSSProperty_background_color:       mColor->mBackColor = aValue;       break;          case eCSSProperty_background_image:       mColor->mBackImage = aValue;       break;          case eCSSProperty_background_repeat:      mColor->mBackRepeat = aValue;      break;          case eCSSProperty_background_attachment:  mColor->mBackAttachment = aValue;  break;          case eCSSProperty_background_x_position:  mColor->mBackPositionX = aValue;   break;          case eCSSProperty_background_y_position:  mColor->mBackPositionY = aValue;   break;          CSS_BOGUS_DEFAULT; // make compiler happy        }      }      break;    // nsCSSText    case eCSSProperty_word_spacing:    case eCSSProperty_letter_spacing:    case eCSSProperty_text_decoration:    case eCSSProperty_vertical_align:    case eCSSProperty_text_transform:    case eCSSProperty_text_align:    case eCSSProperty_text_indent:    case eCSSProperty_unicode_bidi:    case eCSSProperty_line_height:    case eCSSProperty_white_space:      CSS_ENSURE(Text) {        switch (aProperty) {          case eCSSProperty_word_spacing:     mText->mWordSpacing = aValue;    break;          case eCSSProperty_letter_spacing:   mText->mLetterSpacing = aValue;  break;          case eCSSProperty_text_decoration:  mText->mDecoration = aValue;     break;          case eCSSProperty_vertical_align:   mText->mVerticalAlign = aValue;  break;          case eCSSProperty_text_transform:   mText->mTextTransform = aValue;  break;          case eCSSProperty_text_align:       mText->mTextAlign = aValue;      break;          case eCSSProperty_text_indent:      mText->mTextIndent = aValue;     break;          case eCSSProperty_unicode_bidi:     mText->mUnicodeBidi = aValue;    break;          case eCSSProperty_line_height:      mText->mLineHeight = aValue;     break;          case eCSSProperty_white_space:      mText->mWhiteSpace = aValue;     break;          CSS_BOGUS_DEFAULT; // make compiler happy        }      }      break;    case eCSSProperty_text_shadow_color:    case eCSSProperty_text_shadow_radius:    case eCSSProperty_text_shadow_x:    case eCSSProperty_text_shadow_y:      CSS_ENSURE(Text) {        CSS_ENSURE_DATA(mText->mTextShadow, nsCSSShadow) {          switch (aProperty) {            case eCSSProperty_text_shadow_color:  mText->mTextShadow->mColor = aValue;    break;            case eCSSProperty_text_shadow_radius: mText->mTextShadow->mRadius = aValue;   break;            case eCSSProperty_text_shadow_x:      mText->mTextShadow->mXOffset = aValue;  break;            case eCSSProperty_text_shadow_y:      mText->mTextShadow->mYOffset = aValue;  break;            CSS_BOGUS_DEFAULT; // make compiler happy          }          CSS_IF_DELETE(mText->mTextShadow->mNext);        }      }      break;      // nsCSSDisplay    case eCSSProperty_float:    case eCSSProperty_clear:    case eCSSProperty_display:    case eCSSProperty_binding:    case eCSSProperty_position:              case eCSSProperty_direction:    case eCSSProperty_visibility:    case eCSSProperty_opacity:    case eCSSProperty_overflow:      CSS_ENSURE(Display) {        switch (aProperty) {          case eCSSProperty_float:      mDisplay->mFloat = aValue;      break;          case eCSSProperty_clear:      mDisplay->mClear = aValue;      break;          case eCSSProperty_display:    mDisplay->mDisplay = aValue;    break;          case eCSSProperty_position:   mDisplay->mPosition = aValue;   break;          case eCSSProperty_direction:  mDisplay->mDirection = aValue;  break;          case eCSSProperty_visibility: mDisplay->mVisibility = aValue; break;          case eCSSProperty_opacity:    mDisplay->mOpacity = aValue;    break;          case eCSSProperty_overflow:   mDisplay->mOverflow = aValue;   break;          case eCSSProperty_binding:                     mDisplay->mBinding = aValue;                  break;          CSS_BOGUS_DEFAULT; // make compiler happy        }      }      break;    case eCSSProperty_clip_top:    case eCSSProperty_clip_right:    case eCSSProperty_clip_bottom:    case eCSSProperty_clip_left:      CSS_ENSURE(Display) {        CSS_ENSURE_RECT(mDisplay->mClip) {          switch(aProperty) {            case eCSSProperty_clip_top:     mDisplay->mClip->mTop = aValue;     break;            case eCSSProperty_clip_right:   mDisplay->mClip->mRight = aValue;   break;            case eCSSProperty_clip_bottom:  mDisplay->mClip->mBottom = aValue;  break;            case eCSSProperty_clip_left:    mDisplay->mClip->mLeft = aValue;    break;            CSS_BOGUS_DEFAULT; // make compiler happy          }        }      }      break;    // nsCSSMargin    case eCSSProperty_margin_top:    case eCSSProperty_margin_right:    case eCSSProperty_margin_bottom:    case eCSSProperty_margin_left:      CSS_ENSURE(Margin) {        CSS_ENSURE_RECT(mMargin->mMargin) {          switch (aProperty) {            case eCSSProperty_margin_top:     mMargin->mMargin->mTop = aValue;     break;            case eCSSProperty_margin_right:   mMargin->mMargin->mRight = aValue;   break;            case eCSSProperty_margin_bottom:  mMargin->mMargin->mBottom = aValue;  break;            case eCSSProperty_margin_left:    mMargin->mMargin->mLeft = aValue;    break;            CSS_BOGUS_DEFAULT; // make compiler happy          }        }      }      break;    case eCSSProperty_padding_top:    case eCSSProperty_padding_right:    case eCSSProperty_padding_bottom:    case eCSSProperty_padding_left:      CSS_ENSURE(Margin) {        CSS_ENSURE_RECT(mMargin->mPadding) {          switch (aProperty) {            case eCSSProperty_padding_top:    mMargin->mPadding->mTop = aValue;    break;            case eCSSProperty_padding_right:  mMargin->mPadding->mRight = aValue;  break;            case eCSSProperty_padding_bottom: mMargin->mPadding->mBottom = aValue; break;            case eCSSProperty_padding_left:   mMargin->mPadding->mLeft = aValue;   break;            CSS_BOGUS_DEFAULT; // make compiler happy          }        }      }      break;    case eCSSProperty_border_top_width:    case eCSSProperty_border_right_width:    case eCSSProperty_border_bottom_width:    case eCSSProperty_border_left_width:      CSS_ENSURE(Margin) {        CSS_ENSURE_RECT(mMargin->mBorderWidth) {          switch (aProperty) {            case eCSSProperty_border_top_width:     mMargin->mBorderWidth->mTop = aValue;     break;            case eCSSProperty_border_right_width:   mMargin->mBorderWidth->mRight = aValue;   break;            case eCSSProperty_border_bottom_width:  mMargin->mBorderWidth->mBottom = aValue;  break;            case eCSSProperty_border_left_width:    mMargin->mBorderWidth->mLeft = aValue;    break;            CSS_BOGUS_DEFAULT; // make compiler happy          }        }      }      break;    case eCSSProperty_border_top_color:    case eCSSProperty_border_right_color:    case eCSSProperty_border_bottom_color:    case eCSSProperty_border_left_color:      CSS_ENSURE(Margin) {        CSS_ENSURE_RECT(mMargin->mBorderColor) {          switch (aProperty) {            case eCSSProperty_border_top_color:     mMargin->mBorderColor->mTop = aValue;    break;            case eCSSProperty_border_right_color:   mMargin->mBorderColor->mRight = aValue;  break;            case eCSSProperty_border_bottom_color:  mMargin->mBorderColor->mBottom = aValue; break;            case eCSSProperty_border_left_color:    mMargin->mBorderColor->mLeft = aValue;   break;            CSS_BOGUS_DEFAULT; // make compiler happy          }        }      }      break;    case eCSSProperty_border_top_style:    case eCSSProperty_border_right_style:    case eCSSProperty_border_bottom_style:    case eCSSProperty_border_left_style:      CSS_ENSURE(Margin) {        CSS_ENSURE_RECT(mMargin->mBorderStyle) {          switch (aProperty) {            case eCSSProperty_border_top_style:     mMargin->mBorderStyle->mTop = aValue;    break;            case eCSSProperty_border_right_style:   mMargin->mBorderStyle->mRight = aValue;  break;            case eCSSProperty_border_bottom_style:  mMargin->mBorderStyle->mBottom = aValue; break;            case eCSSProperty_border_left_style:    mMargin->mBorderStyle->mLeft = aValue;   break;            CSS_BOGUS_DEFAULT; // make compiler happy          }        }      }      break;    case eCSSProperty__moz_border_radius_topLeft:    case eCSSProperty__moz_border_radius_topRight:    case eCSSProperty__moz_border_radius_bottomRight:    case eCSSProperty__moz_border_radius_bottomLeft:      CSS_ENSURE(Margin) {        CSS_ENSURE_RECT(mMargin->mBorderRadius) {          switch (aProperty) {            case eCSSProperty__moz_border_radius_topLeft:			mMargin->mBorderRadius->mTop = aValue;    break;            case eCSSProperty__moz_border_radius_topRight:		mMargin->mBorderRadius->mRight = aValue;  break;            case eCSSProperty__moz_border_radius_bottomRight:	mMargin->mBorderRadius->mBottom = aValue; break;            case eCSSProperty__moz_border_radius_bottomLeft:	mMargin->mBorderRadius->mLeft = aValue;   break;            CSS_BOGUS_DEFAULT; // make compiler happy          }        }      }      break;    case eCSSProperty__moz_outline_radius_topLeft:    case eCSSProperty__moz_outline_radius_topRight:    case eCSSProperty__moz_outline_radius_bottomRight:    case eCSSProperty__moz_outline_radius_bottomLeft:      CSS_ENSURE(Margin) {        CSS_ENSURE_RECT(mMargin->mOutlineRadius) {          switch (aProperty) {            case eCSSProperty__moz_outline_radius_topLeft:			mMargin->mOutlineRadius->mTop = aValue;    break;            case eCSSProperty__moz_outline_radius_topRight:			mMargin->mOutlineRadius->mRight = aValue;  break;            case eCSSProperty__moz_outline_radius_bottomRight:	mMargin->mOutlineRadius->mBottom = aValue; break;            case eCSSProperty__moz_outline_radius_bottomLeft:		mMargin->mOutlineRadius->mLeft = aValue;   break;            CSS_BOGUS_DEFAULT; // make compiler happy          }        }      }      break;    case eCSSProperty_outline_width:    case eCSSProperty_outline_color:    case eCSSProperty_outline_style:    case eCSSProperty_float_edge:      CSS_ENSURE(Margin) {        switch (aProperty) {          case eCSSProperty_outline_width:      mMargin->mOutlineWidth = aValue;  break;          case eCSSProperty_outline_color:      mMargin->mOutlineColor = aValue;  break;          case eCSSProperty_outline_style:      mMargin->mOutlineStyle = aValue;  break;          case eCSSProperty_float_edge:         mMargin->mFloatEdge = aValue;     break;          CSS_BOGUS_DEFAULT; // make compiler happy        }      }      break;    // nsCSSPosition    case eCSSProperty_width:    case eCSSProperty_min_width:    case eCSSProperty_max_width:    case eCSSProperty_height:    case eCSSProperty_min_height:    case eCSSProperty_max_height:    case eCSSProperty_box_sizing:    case eCSSProperty_z_index:      CSS_ENSURE(Position) {        switch (aProperty) {          case eCSSProperty_width:      mPosition->mWidth = aValue;      break;          case eCSSProperty_min_width:  mPosition->mMinWidth = aValue;   break;          case eCSSProperty_max_width:  mPosition->mMaxWidth = aValue;   break;          case eCSSProperty_height:     mPosition->mHeight = aValue;     break;          case eCSSProperty_min_height: mPosition->mMinHeight = aValue;  break;          case eCSSProperty_max_height: mPosition->mMaxHeight = aValue;  break;          case eCSSProperty_box_sizing: mPosition->mBoxSizing = aValue;  break;          case eCSSProperty_z_index:    mPosition->mZIndex = aValue;     break;          CSS_BOGUS_DEFAULT; // make compiler happy        }      }      break;    case eCSSProperty_top:    case eCSSProperty_right:    case eCSSProperty_bottom:    case eCSSProperty_left:      CSS_ENSURE(Position) {        CSS_ENSURE_RECT(mPosition->mOffset) {          switch (aProperty) {            case eCSSProperty_top:    mPosition->mOffset->mTop = aValue;    break;            case eCSSProperty_right:  mPosition->mOffset->mRight= aValue;   break;            case eCSSProperty_bottom: mPosition->mOffset->mBottom = aValue; break;            case eCSSProperty_left:   mPosition->mOffset->mLeft = aValue;   break;            CSS_BOGUS_DEFAULT; // make compiler happy          }        }      }      break;      // nsCSSList    case eCSSProperty_list_style_type:    case eCSSProperty_list_style_image:    case eCSSProperty_list_style_position:      CSS_ENSURE(List) {        switch (aProperty) {          case eCSSProperty_list_style_type:      mList->mType = aValue;     break;          case eCSSProperty_list_style_image:     mList->mImage = aValue;    break;          case eCSSProperty_list_style_position:  mList->mPosition = aValue; break;          CSS_BOGUS_DEFAULT; // make compiler happy        }      }      break;      // nsCSSTable    case eCSSProperty_border_collapse:    case eCSSProperty_border_x_spacing:    case eCSSProperty_border_y_spacing:    case eCSSProperty_caption_side:    case eCSSProperty_empty_cells:    case eCSSProperty_table_layout:      CSS_ENSURE(Table) {        switch (aProperty) {          case eCSSProperty_border_collapse:  mTable->mBorderCollapse = aValue; break;          case eCSSProperty_border_x_spacing: mTable->mBorderSpacingX = aValue; break;          case eCSSProperty_border_y_spacing: mTable->mBorderSpacingY = aValue; break;          case eCSSProperty_caption_side:     mTable->mCaptionSide = aValue;    break;          case eCSSProperty_empty_cells:      mTable->mEmptyCells = aValue;     break;          case eCSSProperty_table_layout:     mTable->mLayout = aValue;         break;          CSS_BOGUS_DEFAULT; // make compiler happy        }      }      break;      // nsCSSBreaks    case eCSSProperty_orphans:    case eCSSProperty_widows:    case eCSSProperty_page:    case eCSSProperty_page_break_after:    case eCSSProperty_page_break_before:    case eCSSProperty_page_break_inside:      CSS_ENSURE(Breaks) {        switch (aProperty) {          case eCSSProperty_orphans:            mBreaks->mOrphans = aValue;         break;          case eCSSProperty_widows:             mBreaks->mWidows = aValue;          break;          case eCSSProperty_page:               mBreaks->mPage = aValue;            break;          case eCSSProperty_page_break_after:   mBreaks->mPageBreakAfter = aValue;  break;          case eCSSProperty_page_break_before:  mBreaks->mPageBreakBefore = aValue; break;          case eCSSProperty_page_break_inside:  mBreaks->mPageBreakInside = aValue; break;          CSS_BOGUS_DEFAULT; // make compiler happy        }      }      break;      // nsCSSPage    case eCSSProperty_marks:    case eCSSProperty_size_width:    case eCSSProperty_size_height:      CSS_ENSURE(Page) {        switch (aProperty) {          case eCSSProperty_marks:        mPage->mMarks = aValue; break;          case eCSSProperty_size_width:   mPage->mSizeWidth = aValue;  break;          case eCSSProperty_size_height:  mPage->mSizeHeight = aValue;  break;          CSS_BOGUS_DEFAULT; // make compiler happy        }      }      break;      // nsCSSContent    case eCSSProperty_content:    case eCSSProperty_counter_increment:    case eCSSProperty_counter_reset:    case eCSSProperty_marker_offset:    case eCSSProperty_quotes_open:    case eCSSProperty_quotes_close:      CSS_ENSURE(Content) {        switch (aProperty) {          case eCSSProperty_content:            CSS_ENSURE_DATA(mContent->mContent, nsCSSValueList) {              mContent->mContent->mValue = aValue;                        CSS_IF_DELETE(mContent->mContent->mNext);            }            break;          case eCSSProperty_counter_increment:            CSS_ENSURE_DATA(mContent->mCounterIncrement, nsCSSCounterData) {              mContent->mCounterIncrement->mCounter = aValue;               CSS_IF_DELETE(mContent->mCounterIncrement->mNext);            }            break;          case eCSSProperty_counter_reset:            CSS_ENSURE_DATA(mContent->mCounterReset, nsCSSCounterData) {              mContent->mCounterReset->mCounter = aValue;              CSS_IF_DELETE(mContent->mCounterReset->mNext);            }            break;          case eCSSProperty_marker_offset:      mContent->mMarkerOffset = aValue;     break;          case eCSSProperty_quotes_open:            CSS_ENSURE_DATA(mContent->mQuotes, nsCSSQuotes) {              mContent->mQuotes->mOpen = aValue;                        CSS_IF_DELETE(mContent->mQuotes->mNext);            }            break;          case eCSSProperty_quotes_close:            CSS_ENSURE_DATA(mContent->mQuotes, nsCSSQuotes) {              mContent->mQuotes->mClose = aValue;                        CSS_IF_DELETE(mContent->mQuotes->mNext);            }            break;          CSS_BOGUS_DEFAULT; // make compiler happy        }      }      break;    // nsCSSUserInterface    case eCSSProperty_user_input:    case eCSSProperty_user_modify:    case eCSSProperty_user_select:    case eCSSProperty_key_equivalent:    case eCSSProperty_user_focus:    case eCSSProperty_resizer:    case eCSSProperty_cursor:      CSS_ENSURE(UserInterface) {        switch (aProperty) {          case eCSSProperty_user_input:       mUserInterface->mUserInput = aValue;      break;          case eCSSProperty_user_modify:      mUserInterface->mUserModify = aValue;     break;          case eCSSProperty_user_select:      mUserInterface->mUserSelect = aValue;     break;          case eCSSProperty_key_equivalent:             CSS_ENSURE_DATA(mUserInterface->mKeyEquivalent, nsCSSValueList) {              mUserInterface->mKeyEquivalent->mValue = aValue;              CSS_IF_DELETE(mUserInterface->mKeyEquivalent->mNext);            }            break;          case eCSSProperty_user_focus:       mUserInterface->mUserFocus = aValue;      break;          case eCSSProperty_resizer:          mUserInterface->mResizer = aValue;        break;          case eCSSProperty_cursor:            CSS_ENSURE_DATA(mUserInterface->mCursor, nsCSSValueList) {              mUserInterface->mCursor->mValue = aValue;              CSS_IF_DELETE(mUserInterface->mCursor->mNext);            }            break;                    CSS_BOGUS_DEFAULT; // make compiler happy        }      }      break;#ifdef INCLUDE_XUL    // nsCSSXUL    case eCSSProperty_box_align:    case eCSSProperty_box_direction:    case eCSSProperty_box_flex:    case eCSSProperty_box_orient:    case eCSSProperty_box_pack:      CSS_ENSURE(XUL) {        switch (aProperty) {          case eCSSProperty_box_align:       mXUL->mBoxAlign     = aValue;   break;          case eCSSProperty_box_direction:   mXUL->mBoxDirection = aValue;   break;          case eCSSProperty_box_flex:        mXUL->mBoxFlex      = aValue;   break;          case eCSSProperty_box_orient:      mXUL->mBoxOrient    = aValue;   break;          case eCSSProperty_box_pack:        mXUL->mBoxPack      = aValue;   break;          CSS_BOGUS_DEFAULT; // make compiler happy        }      }      break;#endif      // nsCSSAural    case eCSSProperty_azimuth:    case eCSSProperty_elevation:    case eCSSProperty_cue_after:    case eCSSProperty_cue_before:    case eCSSProperty_pause_after:    case eCSSProperty_pause_before:    case eCSSProperty_pitch:    case eCSSProperty_pitch_range:    case eCSSProperty_play_during:    case eCSSProperty_play_during_flags:    case eCSSProperty_richness:    case eCSSProperty_speak:    case eCSSProperty_speak_header:    case eCSSProperty_speak_numeral:    case eCSSProperty_speak_punctuation:    case eCSSProperty_speech_rate:    case eCSSProperty_stress:    case eCSSProperty_voice_family:    case eCSSProperty_volume:      CSS_ENSURE(Aural) {        switch (aProperty) {          case eCSSProperty_azimuth:            mAural->mAzimuth = aValue;          break;          case eCSSProperty_elevation:          mAural->mElevation = aValue;        break;          case eCSSProperty_cue_after:          mAural->mCueAfter = aValue;         break;          case eCSSProperty_cue_before:         mAural->mCueBefore = aValue;        break;          case eCSSProperty_pause_after:        mAural->mPauseAfter = aValue;       break;          case eCSSProperty_pause_before:       mAural->mPauseBefore = aValue;      break;          case eCSSProperty_pitch:              mAural->mPitch = aValue;            break;          case eCSSProperty_pitch_range:        mAural->mPitchRange = aValue;       break;          case eCSSProperty_play_during:        mAural->mPlayDuring = aValue;       break;          case eCSSProperty_play_during_flags:  mAural->mPlayDuringFlags = aValue;  break;          case eCSSProperty_richness:           mAural->mRichness = aValue;         break;          case eCSSProperty_speak:              mAural->mSpeak = aValue;            break;          case eCSSProperty_speak_header:       mAural->mSpeakHeader = aValue;      break;          case eCSSProperty_speak_numeral:      mAural->mSpeakNumeral = aValue;     break;          case eCSSProperty_speak_punctuation:  mAural->mSpeakPunctuation = aValue; break;          case eCSSProperty_speech_rate:        mAural->mSpeechRate = aValue;       break;          case eCSSProperty_stress:             mAural->mStress = aValue;           break;          case eCSSProperty_voice_family:       mAural->mVoiceFamily = aValue;      break;          case eCSSProperty_volume:             mAural->mVolume = aValue;           break;          CSS_BOGUS_DEFAULT; // make compiler happy        }      }      break;      // Shorthands    case eCSSProperty_background:    case eCSSProperty_border:    case eCSSProperty_border_spacing:    case eCSSProperty_clip:    case eCSSProperty_cue:    case eCSSProperty_font:    case eCSSProperty_list_style:    case eCSSProperty_margin:    case eCSSProperty_outline:    case eCSSProperty_padding:    case eCSSProperty_pause:    case eCSSProperty_quotes:    case eCSSProperty_size:    case eCSSProperty_text_shadow:    case eCSSProperty_background_position:    case eCSSProperty_border_top:    case eCSSProperty_border_right:    case eCSSProperty_border_bottom:    case eCSSProperty_border_left:    case eCSSProperty_border_color:    case eCSSProperty_border_style:    case eCSSProperty_border_width:    case eCSSProperty__moz_border_radius:    case eCSSProperty__moz_outline_radius:      NS_ERROR("can't append shorthand properties");//    default:  // XXX explicitly removing default case so compiler will help find missed props    case eCSSProperty_UNKNOWN:    case eCSSProperty_COUNT:      result = NS_ERROR_ILLEGAL_VALUE;      break;  }  if (NS_OK == result) {    if (nsnull == mOrder) {      mOrder = new nsVoidArray();    }    if (nsnull != mOrder) {      PRInt32 index = mOrder->IndexOf((void*)aProperty);      if (-1 != index) {        mOrder->RemoveElementAt(index);      }      if (eCSSUnit_Null != aValue.GetUnit()) {        mOrder->AppendElement((void*)(PRInt32)aProperty);      }    }  }  return result;}