Index: Source/WebCore/rendering/RenderObject.h |
=================================================================== |
--- Source/WebCore/rendering/RenderObject.h (revision 94543) |
+++ Source/WebCore/rendering/RenderObject.h (working copy) |
@@ -325,8 +325,10 @@ |
inline bool isBeforeContent() const; |
inline bool isAfterContent() const; |
+ inline bool isBeforeOrAfterContent() const; |
static inline bool isBeforeContent(const RenderObject* obj) { return obj && obj->isBeforeContent(); } |
static inline bool isAfterContent(const RenderObject* obj) { return obj && obj->isAfterContent(); } |
+ static inline bool isBeforeOrAfterContent(const RenderObject* obj) { return obj && obj->isBeforeOrAfterContent(); } |
bool childrenInline() const { return m_childrenInline; } |
void setChildrenInline(bool b = true) { m_childrenInline = b; } |
@@ -795,6 +797,7 @@ |
virtual void styleWillChange(StyleDifference, const RenderStyle* newStyle); |
// Overrides should call the superclass at the start |
virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); |
+ void propagateStyleToAnonymousChildren(); |
void drawLineForBoxSide(GraphicsContext*, int x1, int y1, int x2, int y2, BoxSide, |
Color, EBorderStyle, int adjbw1, int adjbw2, bool antialias = false); |
@@ -934,6 +937,11 @@ |
return true; |
} |
+inline bool RenderObject::isBeforeOrAfterContent() const |
+{ |
+ return isBeforeContent() || isAfterContent(); |
+} |
+ |
inline void RenderObject::setNeedsLayout(bool b, bool markParents) |
{ |
bool alreadyNeededLayout = m_needsLayout; |