fix for css3 initial handling
    Dave Hyatt 
    hyatt at apple.com
       
    Fri Jul  9 23:45:34 CEST 2004
    
    
  
I totally screwed up these macros at the top of cssstyleselector.cpp 
.... they should have had returns in them like the handling of inherit 
does... correct versions below...
#define HANDLE_INHERIT_AND_INITIAL(prop, Prop) \
HANDLE_INHERIT(prop, Prop) \
else if (isInitial) \
{\
     style->set##Prop(RenderStyle::initial##Prop());\
     return;\
}
#define HANDLE_INHERIT_AND_INITIAL_WITH_VALUE(prop, Prop, Value) \
HANDLE_INHERIT(prop, Prop) \
else if (isInitial) \
{\
     style->set##Prop(RenderStyle::initial##Value());\
     return;\
}
dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 662 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/khtml-devel/attachments/20040709/92f55cb8/attachment.bin
    
    
More information about the Khtml-devel
mailing list