summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/rendering/RootInlineBox.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/rendering/RootInlineBox.h')
-rw-r--r--Source/WebCore/rendering/RootInlineBox.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/Source/WebCore/rendering/RootInlineBox.h b/Source/WebCore/rendering/RootInlineBox.h
index 1a9f0a8..0ff5704 100644
--- a/Source/WebCore/rendering/RootInlineBox.h
+++ b/Source/WebCore/rendering/RootInlineBox.h
@@ -99,8 +99,8 @@ public:
virtual void paint(PaintInfo&, int tx, int ty);
virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, int, int, int, int);
- bool hasSelectedChildren() const { return m_hasSelectedChildren; }
- void setHasSelectedChildren(bool);
+ bool hasSelectedChildren() const { return m_hasSelectedChildrenOrCanHaveLeadingExpansion; }
+ void setHasSelectedChildren(bool hasSelectedChildren) { m_hasSelectedChildrenOrCanHaveLeadingExpansion = hasSelectedChildren; }
virtual RenderObject::SelectionState selectionState();
InlineBox* firstSelectedBox();
@@ -133,6 +133,17 @@ public:
IntRect paddedLayoutOverflowRect(int endPadding) const;
+ void ascentAndDescentForBox(InlineBox*, GlyphOverflowAndFallbackFontsMap&, int& ascent, int& descent, bool& affectsAscent, bool& affectsDescent) const;
+ int verticalPositionForBox(InlineBox*, VerticalPositionCache&);
+ bool includeLeadingForBox(InlineBox*) const;
+ bool includeFontForBox(InlineBox*) const;
+ bool includeGlyphsForBox(InlineBox*) const;
+ bool includeMarginForBox(InlineBox*) const;
+ bool fitsToGlyphs() const;
+ bool includesRootLineBoxFontOrLeading() const;
+
+ Node* getLogicalStartBoxWithNode(InlineBox*&);
+ Node* getLogicalEndBoxWithNode(InlineBox*&);
private:
bool hasEllipsisBox() const { return m_hasEllipsisBoxOrHyphen; }
void setHasEllipsisBox(bool hasEllipsisBox) { m_hasEllipsisBoxOrHyphen = hasEllipsisBox; }