To save memory in the common case, move the margin***Collapse variables into the...
authorhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Aug 2004 20:01:00 +0000 (20:01 +0000)
committerhyatt <hyatt@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Aug 2004 20:01:00 +0000 (20:01 +0000)
commitf45c33f7abc01c0a326a7268749bc26398fcab91
treea8e982e52cdb6fc5873fdb8fdef97608b57369a5
parent42820566d91b6dc12f4ef400f82611497b5a32ad
To save memory in the common case, move the margin***Collapse variables into the CSS3 struct instead of
bloating the surround struct.

        * khtml/rendering/render_style.cpp:
        (StyleSurroundData::StyleSurroundData):
        (StyleSurroundData::operator==):
        (marginBottomCollapse):
        (StyleCSS3NonInheritedData::operator==):
        (RenderStyle::diff):
        * khtml/rendering/render_style.h:
        (khtml::RenderStyle::marginTopCollapse):
        (khtml::RenderStyle::marginBottomCollapse):
        (khtml::RenderStyle::setMarginTopCollapse):
        (khtml::RenderStyle::setMarginBottomCollapse):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7363 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog-2005-08-23
WebCore/khtml/rendering/render_style.cpp
WebCore/khtml/rendering/render_style.h