summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/rendering/RenderFieldset.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/rendering/RenderFieldset.cpp')
-rw-r--r--Source/WebCore/rendering/RenderFieldset.cpp15
1 files changed, 2 insertions, 13 deletions
diff --git a/Source/WebCore/rendering/RenderFieldset.cpp b/Source/WebCore/rendering/RenderFieldset.cpp
index c83396c..8c65314 100644
--- a/Source/WebCore/rendering/RenderFieldset.cpp
+++ b/Source/WebCore/rendering/RenderFieldset.cpp
@@ -25,8 +25,9 @@
#include "RenderFieldset.h"
#include "CSSPropertyNames.h"
-#include "HTMLNames.h"
#include "GraphicsContext.h"
+#include "HTMLNames.h"
+#include "PaintInfo.h"
#if ENABLE(WML)
#include "WMLNames.h"
@@ -208,16 +209,4 @@ void RenderFieldset::paintMask(PaintInfo& paintInfo, int tx, int ty)
paintMaskImages(paintInfo, tx, ty, w, h);
}
-void RenderFieldset::styleDidChange(StyleDifference diff, const RenderStyle* oldStyle)
-{
- RenderBlock::styleDidChange(diff, oldStyle);
-
- // WinIE renders fieldsets with display:inline like they're inline-blocks. For us,
- // an inline-block is just a block element with replaced set to true and inline set
- // to true. Ensure that if we ended up being inline that we set our replaced flag
- // so that we're treated like an inline-block.
- if (isInline())
- setReplaced(true);
-}
-
} // namespace WebCore