webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Protected Member Functions | List of all members
WebCore::RenderText Class Reference

#include <RenderText.h>

Inheritance diagram for WebCore::RenderText:
WebCore::RenderObject WebCore::RenderObject WebCore::CachedImageClient WebCore::CachedImageClient WebCore::CachedImageClient WebCore::CachedImageClient WebCore::CachedResourceClient WebCore::CachedResourceClient WebCore::CachedResourceClient WebCore::CachedResourceClient WebCore::CachedResourceClient WebCore::CachedResourceClient WebCore::CachedResourceClient WebCore::CachedResourceClient WebCore::RenderCombineText WebCore::RenderCounter WebCore::RenderSVGInlineText WebCore::RenderTextFragment

Public Member Functions

 RenderText (Text &, const String &)
 
 RenderText (Document &, const String &)
 
virtual ~RenderText ()
 
const char * renderName () const override
 
WEBCORE_EXPORT TexttextNode () const
 
virtual bool isTextFragment () const
 
const RenderStylestyle () const
 
const RenderStylefirstLineStyle () const
 
const RenderStylegetCachedPseudoStyle (PseudoId, const RenderStyle *parentStyle=nullptr) const
 
Color selectionBackgroundColor () const
 
Color selectionForegroundColor () const
 
Color selectionEmphasisMarkColor () const
 
virtual String originalText () const
 
void extractTextBox (InlineTextBox &box)
 
void attachTextBox (InlineTextBox &box)
 
void removeTextBox (InlineTextBox &box)
 
StringImpltext () const
 
String textWithoutConvertingBackslashToYenSymbol () const
 
InlineTextBoxcreateInlineTextBox ()
 
void dirtyLineBoxes (bool fullLayout)
 
void absoluteRects (Vector< IntRect > &, const LayoutPoint &accumulatedOffset) const final
 
Vector< IntRectabsoluteRectsForRange (unsigned startOffset=0, unsigned endOffset=UINT_MAX, bool useSelectionHeight=false, bool *wasFixed=nullptr) const
 
void absoluteQuads (Vector< FloatQuad > &, bool *wasFixed) const final
 
Vector< FloatQuadabsoluteQuadsForRange (unsigned startOffset=0, unsigned endOffset=UINT_MAX, bool useSelectionHeight=false, bool *wasFixed=nullptr) const
 
Vector< FloatQuadabsoluteQuadsClippedToEllipsis () const
 
Position positionForPoint (const LayoutPoint &) override
 
VisiblePosition positionForPoint (const LayoutPoint &, const RenderRegion *) override
 
bool is8Bit () const
 
const LCharcharacters8 () const
 
const UCharcharacters16 () const
 
UChar characterAt (unsigned) const
 
UChar uncheckedCharacterAt (unsigned) const
 
UChar operator[] (unsigned i) const
 
unsigned textLength () const
 
void positionLineBox (InlineTextBox &)
 
virtual float width (unsigned from, unsigned len, const FontCascade &, float xPos, HashSet< const Font *> *fallbackFonts=0, GlyphOverflow *=0) const
 
virtual float width (unsigned from, unsigned len, float xPos, bool firstLine=false, HashSet< const Font *> *fallbackFonts=0, GlyphOverflow *=0) const
 
float minLogicalWidth () const
 
float maxLogicalWidth () const
 
void trimmedPrefWidths (float leadWidth, float &beginMinW, bool &beginWS, float &endMinW, bool &endWS, bool &hasBreakableChar, bool &hasBreak, float &beginMaxW, float &endMaxW, float &minW, float &maxW, bool &stripFrontSpaces)
 
float hangablePunctuationStartWidth (unsigned index) const
 
float hangablePunctuationEndWidth (unsigned index) const
 
unsigned firstCharacterIndexStrippingSpaces () const
 
unsigned lastCharacterIndexStrippingSpaces () const
 
bool isHangableStopOrComma (UChar) const
 
virtual WEBCORE_EXPORT IntRect linesBoundingBox () const
 
LayoutRect linesVisualOverflowBoundingBox () const
 
WEBCORE_EXPORT IntPoint firstRunLocation () const
 
virtual void setText (const String &, bool force=false)
 
void setTextWithOffset (const String &, unsigned offset, unsigned len, bool force=false)
 
bool canBeSelectionLeaf () const override
 
void setSelectionState (SelectionState) final
 
LayoutRect selectionRectForRepaint (const RenderLayerModelObject *repaintContainer, bool clipToVisibleContent=true) override
 
LayoutRect localCaretRect (InlineBox *, unsigned caretOffset, LayoutUnit *extraWidthToEndOfLine=0) override
 
LayoutRect collectSelectionRectsForLineBoxes (const RenderLayerModelObject *repaintContainer, bool clipToVisibleContent, Vector< LayoutRect > &rects)
 
LayoutUnit marginLeft () const
 
LayoutUnit marginRight () const
 
LayoutRect clippedOverflowRectForRepaint (const RenderLayerModelObject *repaintContainer) const final
 
InlineTextBoxfirstTextBox () const
 
InlineTextBoxlastTextBox () const
 
int caretMinOffset () const override
 
int caretMaxOffset () const override
 
unsigned countRenderedCharacterOffsetsUntil (unsigned) const
 
bool containsRenderedCharacterOffset (unsigned) const
 
bool containsCaretOffset (unsigned) const
 
bool hasRenderedText () const
 
int previousOffset (int current) const final
 
int previousOffsetForBackwardDeletion (int current) const final
 
int nextOffset (int current) const final
 
bool containsReversedText () const
 
void momentarilyRevealLastTypedCharacter (unsigned offsetAfterLastTypedCharacter)
 
InlineTextBoxfindNextInlineTextBox (int offset, int &pos) const
 
bool isAllCollapsibleWhitespace () const
 
bool canUseSimpleFontCodePath () const
 
void removeAndDestroyTextBoxes ()
 
virtual void styleDidChange (StyleDifference, const RenderStyle *oldStyle)
 
virtual std::unique_ptr< InlineTextBoxcreateTextBox ()
 
void ensureLineBoxes ()
 
void deleteLineBoxesBeforeSimpleLineLayout ()
 
const SimpleLineLayout::LayoutsimpleLineLayout () const
 
StringView stringView (unsigned start=0, std::optional< unsigned > stop=std::nullopt) const
 
LayoutUnit topOfFirstText () const
 
bool containsOnlyWhitespace (unsigned from, unsigned len) const
 
bool canUseSimplifiedTextMeasuring () const
 
 RenderText (Text &, const String &)
 
 RenderText (Document &, const String &)
 
virtual ~RenderText ()
 
const char * renderName () const override
 
WEBCORE_EXPORT TexttextNode () const
 
virtual bool isTextFragment () const
 
const RenderStylestyle () const
 
const RenderStylefirstLineStyle () const
 
const RenderStylegetCachedPseudoStyle (PseudoId, const RenderStyle *parentStyle=nullptr) const
 
Color selectionBackgroundColor () const
 
Color selectionForegroundColor () const
 
Color selectionEmphasisMarkColor () const
 
virtual String originalText () const
 
void extractTextBox (InlineTextBox &box)
 
void attachTextBox (InlineTextBox &box)
 
void removeTextBox (InlineTextBox &box)
 
StringImpltext () const
 
String textWithoutConvertingBackslashToYenSymbol () const
 
InlineTextBoxcreateInlineTextBox ()
 
void dirtyLineBoxes (bool fullLayout)
 
void absoluteRects (Vector< IntRect > &, const LayoutPoint &accumulatedOffset) const final
 
Vector< IntRectabsoluteRectsForRange (unsigned startOffset=0, unsigned endOffset=UINT_MAX, bool useSelectionHeight=false, bool *wasFixed=nullptr) const
 
void absoluteQuads (Vector< FloatQuad > &, bool *wasFixed) const final
 
Vector< FloatQuadabsoluteQuadsForRange (unsigned startOffset=0, unsigned endOffset=UINT_MAX, bool useSelectionHeight=false, bool *wasFixed=nullptr) const
 
Vector< FloatQuadabsoluteQuadsClippedToEllipsis () const
 
Position positionForPoint (const LayoutPoint &) override
 
VisiblePosition positionForPoint (const LayoutPoint &, const RenderRegion *) override
 
bool is8Bit () const
 
const LCharcharacters8 () const
 
const UCharcharacters16 () const
 
UChar characterAt (unsigned) const
 
UChar uncheckedCharacterAt (unsigned) const
 
UChar operator[] (unsigned i) const
 
unsigned textLength () const
 
void positionLineBox (InlineTextBox &)
 
virtual float width (unsigned from, unsigned len, const FontCascade &, float xPos, HashSet< const Font *> *fallbackFonts=0, GlyphOverflow *=0) const
 
virtual float width (unsigned from, unsigned len, float xPos, bool firstLine=false, HashSet< const Font *> *fallbackFonts=0, GlyphOverflow *=0) const
 
float minLogicalWidth () const
 
float maxLogicalWidth () const
 
void trimmedPrefWidths (float leadWidth, float &beginMinW, bool &beginWS, float &endMinW, bool &endWS, bool &hasBreakableChar, bool &hasBreak, float &beginMaxW, float &endMaxW, float &minW, float &maxW, bool &stripFrontSpaces)
 
float hangablePunctuationStartWidth (unsigned index) const
 
float hangablePunctuationEndWidth (unsigned index) const
 
unsigned firstCharacterIndexStrippingSpaces () const
 
unsigned lastCharacterIndexStrippingSpaces () const
 
bool isHangableStopOrComma (UChar) const
 
virtual WEBCORE_EXPORT IntRect linesBoundingBox () const
 
LayoutRect linesVisualOverflowBoundingBox () const
 
WEBCORE_EXPORT IntPoint firstRunLocation () const
 
virtual void setText (const String &, bool force=false)
 
void setTextWithOffset (const String &, unsigned offset, unsigned len, bool force=false)
 
bool canBeSelectionLeaf () const override
 
void setSelectionState (SelectionState) final
 
LayoutRect selectionRectForRepaint (const RenderLayerModelObject *repaintContainer, bool clipToVisibleContent=true) override
 
LayoutRect localCaretRect (InlineBox *, unsigned caretOffset, LayoutUnit *extraWidthToEndOfLine=0) override
 
LayoutRect collectSelectionRectsForLineBoxes (const RenderLayerModelObject *repaintContainer, bool clipToVisibleContent, Vector< LayoutRect > &rects)
 
LayoutUnit marginLeft () const
 
LayoutUnit marginRight () const
 
LayoutRect clippedOverflowRectForRepaint (const RenderLayerModelObject *repaintContainer) const final
 
InlineTextBoxfirstTextBox () const
 
InlineTextBoxlastTextBox () const
 
int caretMinOffset () const override
 
int caretMaxOffset () const override
 
unsigned countRenderedCharacterOffsetsUntil (unsigned) const
 
bool containsRenderedCharacterOffset (unsigned) const
 
bool containsCaretOffset (unsigned) const
 
bool hasRenderedText () const
 
int previousOffset (int current) const final
 
int previousOffsetForBackwardDeletion (int current) const final
 
int nextOffset (int current) const final
 
bool containsReversedText () const
 
void momentarilyRevealLastTypedCharacter (unsigned offsetAfterLastTypedCharacter)
 
InlineTextBoxfindNextInlineTextBox (int offset, int &pos) const
 
bool isAllCollapsibleWhitespace () const
 
bool canUseSimpleFontCodePath () const
 
void removeAndDestroyTextBoxes ()
 
virtual void styleDidChange (StyleDifference, const RenderStyle *oldStyle)
 
virtual std::unique_ptr< InlineTextBoxcreateTextBox ()
 
void ensureLineBoxes ()
 
void deleteLineBoxesBeforeSimpleLineLayout ()
 
const SimpleLineLayout::LayoutsimpleLineLayout () const
 
StringView stringView (unsigned start=0, std::optional< unsigned > stop=std::nullopt) const
 
LayoutUnit topOfFirstText () const
 
bool containsOnlyWhitespace (unsigned from, unsigned len) const
 
bool canUseSimplifiedTextMeasuring () const
 
- Public Member Functions inherited from WebCore::RenderObject
 RenderObject (Node &)
 
virtual ~RenderObject ()
 
RenderThemetheme () const
 
RenderElementparent () const
 
bool isDescendantOf (const RenderObject *) const
 
RenderObjectpreviousSibling () const
 
RenderObjectnextSibling () const
 
virtual RenderObjectfirstChildSlow () const
 
virtual RenderObjectlastChildSlow () const
 
RenderObjectnextInPreOrder () const
 
RenderObjectnextInPreOrder (const RenderObject *stayWithin) const
 
RenderObjectnextInPreOrderAfterChildren () const
 
RenderObjectnextInPreOrderAfterChildren (const RenderObject *stayWithin) const
 
RenderObjectpreviousInPreOrder () const
 
RenderObjectpreviousInPreOrder (const RenderObject *stayWithin) const
 
WEBCORE_EXPORT RenderObjectchildAt (unsigned) const
 
RenderObjectfirstLeafChild () const
 
RenderObjectlastLeafChild () const
 
WEBCORE_EXPORT RenderLayerenclosingLayer () const
 
WEBCORE_EXPORT bool scrollRectToVisible (SelectionRevealMode, const LayoutRect &absoluteRect, bool insideFixed, const ScrollAlignment &alignX=ScrollAlignment::alignCenterIfNeeded, const ScrollAlignment &alignY=ScrollAlignment::alignCenterIfNeeded)
 
WEBCORE_EXPORT RenderBoxenclosingBox () const
 
RenderBoxModelObjectenclosingBoxModelObject () const
 
bool fixedPositionedWithNamedFlowContainingBlock () const
 
RenderFlowThreadflowThreadContainingBlock () const
 
RenderNamedFlowFragmentcurrentRenderNamedFlowFragment () const
 
void setHasAXObject (bool flag)
 
bool hasAXObject () const
 
virtual RenderBlockfirstLineBlock () const
 
virtual bool canHaveGeneratedChildren () const
 
virtual bool createsAnonymousWrapper () const
 
bool isPseudoElement () const
 
bool isRenderElement () const
 
bool isRenderReplaced () const
 
bool isBoxModelObject () const
 
bool isRenderBlock () const
 
bool isRenderBlockFlow () const
 
bool isRenderInline () const
 
bool isRenderLayerModelObject () const
 
virtual bool isCounter () const
 
virtual bool isQuote () const
 
virtual bool isDetailsMarker () const
 
virtual bool isEmbeddedObject () const
 
bool isFieldset () const
 
virtual bool isFileUploadControl () const
 
virtual bool isFrame () const
 
virtual bool isFrameSet () const
 
virtual bool isImage () const
 
virtual bool isInlineBlockOrInlineTable () const
 
virtual bool isListBox () const
 
virtual bool isListItem () const
 
virtual bool isListMarker () const
 
virtual bool isMedia () const
 
virtual bool isMenuList () const
 
virtual bool isSnapshottedPlugIn () const
 
virtual bool isProgress () const
 
virtual bool isRenderButton () const
 
virtual bool isRenderIFrame () const
 
virtual bool isRenderImage () const
 
virtual bool isRenderRegion () const
 
virtual bool isRenderNamedFlowFragment () const
 
virtual bool isReplica () const
 
virtual bool isRubyInline () const
 
virtual bool isRubyBlock () const
 
virtual bool isRubyBase () const
 
virtual bool isRubyRun () const
 
virtual bool isRubyText () const
 
virtual bool isSlider () const
 
virtual bool isSliderThumb () const
 
virtual bool isTable () const
 
virtual bool isTableCell () const
 
virtual bool isRenderTableCol () const
 
virtual bool isTableCaption () const
 
virtual bool isTableRow () const
 
virtual bool isTableSection () const
 
virtual bool isTextControl () const
 
virtual bool isTextArea () const
 
virtual bool isTextField () const
 
virtual bool isTextControlInnerBlock () const
 
virtual bool isVideo () const
 
virtual bool isWidget () const
 
virtual bool isCanvas () const
 
virtual bool isRenderGrid () const
 
virtual bool isRenderNamedFlowThread () const
 
bool isInFlowRenderFlowThread () const
 
bool isOutOfFlowRenderFlowThread () const
 
virtual bool isMultiColumnBlockFlow () const
 
virtual bool isRenderMultiColumnSet () const
 
virtual bool isRenderMultiColumnFlowThread () const
 
virtual bool isRenderMultiColumnSpannerPlaceholder () const
 
virtual bool isRenderScrollbarPart () const
 
bool isDocumentElementRenderer () const
 
bool isBody () const
 
bool isHR () const
 
bool isLegend () const
 
bool isHTMLMarquee () const
 
bool isTablePart () const
 
bool isBeforeContent () const
 
bool isAfterContent () const
 
bool isBeforeOrAfterContent () const
 
bool beingDestroyed () const
 
bool everHadLayout () const
 
bool childrenInline () const
 
void setChildrenInline (bool b)
 
void setFlowThreadStateIncludingDescendants (FlowThreadState)
 
FlowThreadState flowThreadState () const
 
void setFlowThreadState (FlowThreadState state)
 
virtual bool isRenderSVGModelObject () const
 
virtual bool isRenderSVGBlock () const
 
virtual bool isSVGRoot () const
 
virtual bool isSVGContainer () const
 
virtual bool isSVGTransformableContainer () const
 
virtual bool isSVGViewportContainer () const
 
virtual bool isSVGGradientStop () const
 
virtual bool isSVGHiddenContainer () const
 
virtual bool isSVGPath () const
 
virtual bool isSVGShape () const
 
virtual bool isSVGText () const
 
virtual bool isSVGTextPath () const
 
virtual bool isSVGTSpan () const
 
virtual bool isSVGInline () const
 
virtual bool isSVGInlineText () const
 
virtual bool isSVGImage () const
 
virtual bool isSVGForeignObject () const
 
virtual bool isSVGResourceContainer () const
 
virtual bool isSVGResourceFilter () const
 
virtual bool isSVGResourceClipper () const
 
virtual bool isSVGResourceFilterPrimitive () const
 
virtual void setNeedsTransformUpdate ()
 
virtual void setNeedsBoundariesUpdate ()
 
virtual bool needsBoundariesUpdate ()
 
virtual FloatRect objectBoundingBox () const
 
virtual FloatRect strokeBoundingBox () const
 
virtual FloatRect repaintRectInLocalCoordinates () const
 
virtual AffineTransform localTransform () const
 
virtual const AffineTransformlocalToParentTransform () const
 
virtual bool nodeAtFloatPoint (const HitTestRequest &, HitTestResult &, const FloatPoint &pointInParent, HitTestAction)
 
bool hasAspectRatio () const
 
bool isAnonymous () const
 
bool isAnonymousBlock () const
 
bool isAnonymousInlineBlock () const
 
bool isElementContinuation () const
 
bool isInlineElementContinuation () const
 
bool isBlockElementContinuation () const
 
virtual RenderBoxModelObjectvirtualContinuation () const
 
bool isFloating () const
 
bool isOutOfFlowPositioned () const
 
bool isInFlowPositioned () const
 
bool isRelPositioned () const
 
bool isStickyPositioned () const
 
bool isPositioned () const
 
bool isText () const
 
bool isLineBreak () const
 
bool isBR () const
 
bool isLineBreakOpportunity () const
 
bool isTextOrLineBreak () const
 
bool isBox () const
 
bool isRenderView () const
 
bool isInline () const
 
bool isReplaced () const
 
bool isHorizontalWritingMode () const
 
bool isDragging () const
 
bool hasReflection () const
 
bool isRenderFlowThread () const
 
bool hasOutlineAutoAncestor () const
 
bool isRegisteredForVisibleInViewportCallback ()
 
bool isExcludedFromNormalLayout () const
 
void setIsExcludedFromNormalLayout (bool excluded)
 
bool isExcludedAndPlacedInBorder () const
 
VisibleInViewportState visibleInViewportState ()
 
bool hasLayer () const
 
bool hasVisibleBoxDecorations () const
 
bool backgroundIsKnownToBeObscured (const LayoutPoint &paintOffset)
 
bool needsLayout () const
 
bool selfNeedsLayout () const
 
bool needsPositionedMovementLayout () const
 
bool needsPositionedMovementLayoutOnly () const
 
bool posChildNeedsLayout () const
 
bool needsSimplifiedNormalFlowLayout () const
 
bool normalChildNeedsLayout () const
 
bool preferredLogicalWidthsDirty () const
 
bool isSelectionBorder () const
 
bool hasOverflowClip () const
 
bool hasTransformRelatedProperty () const
 
bool hasTransform () const
 
bool preservesNewline () const
 
virtual void updateDragState (bool dragOn)
 
RenderViewview () const
 
bool isRooted () const
 
Nodenode () const
 
NodenonPseudoNode () const
 
NodegeneratingNode () const
 
Documentdocument () const
 
Frameframe () const
 
Pagepage () const
 
Settingssettings () const
 
RenderElementcontainer () const
 
RenderElementcontainer (const RenderLayerModelObject *repaintContainer, bool &repaintContainerSkipped) const
 
RenderBoxModelObjectoffsetParent () const
 
void markContainingBlocksForLayout (ScheduleRelayout=ScheduleRelayout::Yes, RenderElement *newRoot=nullptr)
 
void setNeedsLayout (MarkingBehavior=MarkContainingBlockChain)
 
void clearNeedsLayout ()
 
void setPreferredLogicalWidthsDirty (bool, MarkingBehavior=MarkContainingBlockChain)
 
void invalidateContainerPreferredLogicalWidths ()
 
void setNeedsLayoutAndPrefWidthsRecalc ()
 
void setPositionState (EPosition position)
 
void clearPositionedState ()
 
void setFloating (bool b=true)
 
void setInline (bool b=true)
 
void setHasVisibleBoxDecorations (bool=true)
 
void invalidateBackgroundObscurationStatus ()
 
virtual bool computeBackgroundIsKnownToBeObscured (const LayoutPoint &)
 
void setIsText ()
 
void setIsLineBreak ()
 
void setIsBox ()
 
void setIsRenderView ()
 
void setReplaced (bool b=true)
 
void setHorizontalWritingMode (bool b=true)
 
void setHasOverflowClip (bool b=true)
 
void setHasLayer (bool b=true)
 
void setHasTransformRelatedProperty (bool b=true)
 
void setIsDragging (bool)
 
void setHasReflection (bool=true)
 
void setIsRenderFlowThread (bool=true)
 
void setHasOutlineAutoAncestor (bool=true)
 
void setIsRegisteredForVisibleInViewportCallback (bool)
 
void setVisibleInViewportState (VisibleInViewportState)
 
virtual int innerLineHeight () const
 
virtual void updateFromElement ()
 
bool isComposited () const
 
bool hitTest (const HitTestRequest &, HitTestResult &, const HitTestLocation &locationInContainer, const LayoutPoint &accumulatedOffset, HitTestFilter=HitTestAll)
 
virtual void updateHitTestResult (HitTestResult &, const LayoutPoint &)
 
VisiblePosition createVisiblePosition (int offset, EAffinity) const
 
VisiblePosition createVisiblePosition (const Position &) const
 
WEBCORE_EXPORT RenderBlockcontainingBlock () const
 
RenderBlockcontainingBlockForObjectInFlow () const
 
WEBCORE_EXPORT FloatPoint localToAbsolute (const FloatPoint &localPoint=FloatPoint(), MapCoordinatesFlags=0, bool *wasFixed=nullptr) const
 
FloatPoint absoluteToLocal (const FloatPoint &, MapCoordinatesFlags=0) const
 
FloatQuad localToAbsoluteQuad (const FloatQuad &quad, MapCoordinatesFlags mode=UseTransforms, bool *wasFixed=nullptr) const
 
FloatQuad absoluteToLocalQuad (const FloatQuad &, MapCoordinatesFlags mode=UseTransforms) const
 
WEBCORE_EXPORT FloatQuad localToContainerQuad (const FloatQuad &, const RenderLayerModelObject *repaintContainer, MapCoordinatesFlags=UseTransforms, bool *wasFixed=nullptr) const
 
WEBCORE_EXPORT FloatPoint localToContainerPoint (const FloatPoint &, const RenderLayerModelObject *repaintContainer, MapCoordinatesFlags=UseTransforms, bool *wasFixed=nullptr) const
 
virtual LayoutSize offsetFromContainer (RenderElement &, const LayoutPoint &, bool *offsetDependsOnPoint=nullptr) const
 
LayoutSize offsetFromAncestorContainer (RenderElement &) const
 
WEBCORE_EXPORT IntRect absoluteBoundingBoxRect (bool useTransform=true, bool *wasFixed=nullptr) const
 
IntRect absoluteBoundingBoxRectIgnoringTransforms () const
 
virtual void absoluteFocusRingQuads (Vector< FloatQuad > &)
 
WEBCORE_EXPORT LayoutRect paintingRootRect (LayoutRect &topLevelRect)
 
virtual LayoutUnit minPreferredLogicalWidth () const
 
virtual LayoutUnit maxPreferredLogicalWidth () const
 
const RenderStylestyle () const
 
const RenderStylefirstLineStyle () const
 
virtual const RenderStyleoutlineStyleForRepaint () const
 
virtual CursorDirective getCursor (const LayoutPoint &, Cursor &) const
 
RenderLayerModelObjectcontainerForRepaint () const
 
void repaintUsingContainer (const RenderLayerModelObject *repaintContainer, const LayoutRect &, bool shouldClipToLayer=true) const
 
void repaint () const
 
WEBCORE_EXPORT void repaintRectangle (const LayoutRect &, bool shouldClipToLayer=true) const
 
void repaintSlowRepaintObject () const
 
LayoutRect absoluteClippedOverflowRect () const
 
WEBCORE_EXPORT IntRect pixelSnappedAbsoluteClippedOverflowRect () const
 
virtual LayoutRect rectWithOutlineForRepaint (const RenderLayerModelObject *repaintContainer, LayoutUnit outlineWidth) const
 
virtual LayoutRect outlineBoundsForRepaint (const RenderLayerModelObject *, const RenderGeometryMap *=nullptr) const
 
LayoutRect computeAbsoluteRepaintRect (const LayoutRect &r, bool fixed=false) const
 
virtual LayoutRect computeRectForRepaint (const LayoutRect &, const RenderLayerModelObject *repaintContainer, RepaintContext={ }) const
 
virtual FloatRect computeFloatRectForRepaint (const FloatRect &, const RenderLayerModelObject *repaintContainer, bool fixed=false) const
 
bool isFloatingOrOutOfFlowPositioned () const
 
SelectionState selectionState () const
 
void setSelectionStateIfNeeded (SelectionState)
 
bool canUpdateSelectionOnRootLineBoxes ()
 
LayoutRect selectionRect (bool clipToVisibleContent=true)
 
virtual bool shouldPaintSelectionGaps () const
 
bool documentBeingDestroyed () const
 
void destroyAndCleanupAnonymousWrappers ()
 
void destroy ()
 
virtual bool isDeprecatedFlexibleBox () const
 
virtual bool isFlexibleBox () const
 
bool isFlexibleBoxIncludingDeprecated () const
 
virtual bool isCombineText () const
 
void imageChanged (CachedImage *, const IntRect *=nullptr) override
 
virtual void imageChanged (WrappedImagePtr, const IntRect *=nullptr)
 
SelectionSubtreeRootselectionRoot () const
 
void selectionStartEnd (unsigned &spos, unsigned &epos) const
 
void removeFromParent ()
 
CSSAnimationControlleranimation () const
 
virtual void mapLocalToContainer (const RenderLayerModelObject *repaintContainer, TransformState &, MapCoordinatesFlags, bool *wasFixed=nullptr) const
 
virtual void mapAbsoluteToLocalPoint (MapCoordinatesFlags, TransformState &) const
 
virtual const RenderObjectpushMappingToContainer (const RenderLayerModelObject *ancestorToStopAt, RenderGeometryMap &) const
 
bool shouldUseTransformFromContainer (const RenderObject *container) const
 
void getTransformFromContainer (const RenderObject *container, const LayoutSize &offsetInContainer, TransformationMatrix &) const
 
virtual void addFocusRingRects (Vector< LayoutRect > &, const LayoutPoint &, const RenderLayerModelObject *=nullptr)
 
LayoutRect absoluteOutlineBounds () const
 
 RenderObject (Node &)
 
virtual ~RenderObject ()
 
RenderThemetheme () const
 
RenderElementparent () const
 
bool isDescendantOf (const RenderObject *) const
 
RenderObjectpreviousSibling () const
 
RenderObjectnextSibling () const
 
virtual RenderObjectfirstChildSlow () const
 
virtual RenderObjectlastChildSlow () const
 
RenderObjectnextInPreOrder () const
 
RenderObjectnextInPreOrder (const RenderObject *stayWithin) const
 
RenderObjectnextInPreOrderAfterChildren () const
 
RenderObjectnextInPreOrderAfterChildren (const RenderObject *stayWithin) const
 
RenderObjectpreviousInPreOrder () const
 
RenderObjectpreviousInPreOrder (const RenderObject *stayWithin) const
 
WEBCORE_EXPORT RenderObjectchildAt (unsigned) const
 
RenderObjectfirstLeafChild () const
 
RenderObjectlastLeafChild () const
 
WEBCORE_EXPORT RenderLayerenclosingLayer () const
 
WEBCORE_EXPORT bool scrollRectToVisible (SelectionRevealMode, const LayoutRect &absoluteRect, bool insideFixed, const ScrollAlignment &alignX=ScrollAlignment::alignCenterIfNeeded, const ScrollAlignment &alignY=ScrollAlignment::alignCenterIfNeeded)
 
WEBCORE_EXPORT RenderBoxenclosingBox () const
 
RenderBoxModelObjectenclosingBoxModelObject () const
 
bool fixedPositionedWithNamedFlowContainingBlock () const
 
RenderFlowThreadflowThreadContainingBlock () const
 
RenderNamedFlowFragmentcurrentRenderNamedFlowFragment () const
 
void setHasAXObject (bool flag)
 
bool hasAXObject () const
 
virtual RenderBlockfirstLineBlock () const
 
virtual bool canHaveGeneratedChildren () const
 
virtual bool createsAnonymousWrapper () const
 
bool isPseudoElement () const
 
bool isRenderElement () const
 
bool isRenderReplaced () const
 
bool isBoxModelObject () const
 
bool isRenderBlock () const
 
bool isRenderBlockFlow () const
 
bool isRenderInline () const
 
bool isRenderLayerModelObject () const
 
virtual bool isCounter () const
 
virtual bool isQuote () const
 
virtual bool isDetailsMarker () const
 
virtual bool isEmbeddedObject () const
 
bool isFieldset () const
 
virtual bool isFileUploadControl () const
 
virtual bool isFrame () const
 
virtual bool isFrameSet () const
 
virtual bool isImage () const
 
virtual bool isInlineBlockOrInlineTable () const
 
virtual bool isListBox () const
 
virtual bool isListItem () const
 
virtual bool isListMarker () const
 
virtual bool isMedia () const
 
virtual bool isMenuList () const
 
virtual bool isSnapshottedPlugIn () const
 
virtual bool isProgress () const
 
virtual bool isRenderButton () const
 
virtual bool isRenderIFrame () const
 
virtual bool isRenderImage () const
 
virtual bool isRenderRegion () const
 
virtual bool isRenderNamedFlowFragment () const
 
virtual bool isReplica () const
 
virtual bool isRubyInline () const
 
virtual bool isRubyBlock () const
 
virtual bool isRubyBase () const
 
virtual bool isRubyRun () const
 
virtual bool isRubyText () const
 
virtual bool isSlider () const
 
virtual bool isSliderThumb () const
 
virtual bool isTable () const
 
virtual bool isTableCell () const
 
virtual bool isRenderTableCol () const
 
virtual bool isTableCaption () const
 
virtual bool isTableRow () const
 
virtual bool isTableSection () const
 
virtual bool isTextControl () const
 
virtual bool isTextArea () const
 
virtual bool isTextField () const
 
virtual bool isTextControlInnerBlock () const
 
virtual bool isVideo () const
 
virtual bool isWidget () const
 
virtual bool isCanvas () const
 
virtual bool isRenderGrid () const
 
virtual bool isRenderNamedFlowThread () const
 
bool isInFlowRenderFlowThread () const
 
bool isOutOfFlowRenderFlowThread () const
 
virtual bool isMultiColumnBlockFlow () const
 
virtual bool isRenderMultiColumnSet () const
 
virtual bool isRenderMultiColumnFlowThread () const
 
virtual bool isRenderMultiColumnSpannerPlaceholder () const
 
virtual bool isRenderScrollbarPart () const
 
bool isDocumentElementRenderer () const
 
bool isBody () const
 
bool isHR () const
 
bool isLegend () const
 
bool isHTMLMarquee () const
 
bool isTablePart () const
 
bool isBeforeContent () const
 
bool isAfterContent () const
 
bool isBeforeOrAfterContent () const
 
bool beingDestroyed () const
 
bool everHadLayout () const
 
bool childrenInline () const
 
void setChildrenInline (bool b)
 
void setFlowThreadStateIncludingDescendants (FlowThreadState)
 
FlowThreadState flowThreadState () const
 
void setFlowThreadState (FlowThreadState state)
 
virtual bool isRenderSVGModelObject () const
 
virtual bool isRenderSVGBlock () const
 
virtual bool isSVGRoot () const
 
virtual bool isSVGContainer () const
 
virtual bool isSVGTransformableContainer () const
 
virtual bool isSVGViewportContainer () const
 
virtual bool isSVGGradientStop () const
 
virtual bool isSVGHiddenContainer () const
 
virtual bool isSVGPath () const
 
virtual bool isSVGShape () const
 
virtual bool isSVGText () const
 
virtual bool isSVGTextPath () const
 
virtual bool isSVGTSpan () const
 
virtual bool isSVGInline () const
 
virtual bool isSVGInlineText () const
 
virtual bool isSVGImage () const
 
virtual bool isSVGForeignObject () const
 
virtual bool isSVGResourceContainer () const
 
virtual bool isSVGResourceFilter () const
 
virtual bool isSVGResourceClipper () const
 
virtual bool isSVGResourceFilterPrimitive () const
 
virtual void setNeedsTransformUpdate ()
 
virtual void setNeedsBoundariesUpdate ()
 
virtual bool needsBoundariesUpdate ()
 
virtual FloatRect objectBoundingBox () const
 
virtual FloatRect strokeBoundingBox () const
 
virtual FloatRect repaintRectInLocalCoordinates () const
 
virtual AffineTransform localTransform () const
 
virtual const AffineTransformlocalToParentTransform () const
 
virtual bool nodeAtFloatPoint (const HitTestRequest &, HitTestResult &, const FloatPoint &pointInParent, HitTestAction)
 
bool hasAspectRatio () const
 
bool isAnonymous () const
 
bool isAnonymousBlock () const
 
bool isAnonymousInlineBlock () const
 
bool isElementContinuation () const
 
bool isInlineElementContinuation () const
 
bool isBlockElementContinuation () const
 
virtual RenderBoxModelObjectvirtualContinuation () const
 
bool isFloating () const
 
bool isOutOfFlowPositioned () const
 
bool isInFlowPositioned () const
 
bool isRelPositioned () const
 
bool isStickyPositioned () const
 
bool isPositioned () const
 
bool isText () const
 
bool isLineBreak () const
 
bool isBR () const
 
bool isLineBreakOpportunity () const
 
bool isTextOrLineBreak () const
 
bool isBox () const
 
bool isRenderView () const
 
bool isInline () const
 
bool isReplaced () const
 
bool isHorizontalWritingMode () const
 
bool isDragging () const
 
bool hasReflection () const
 
bool isRenderFlowThread () const
 
bool hasOutlineAutoAncestor () const
 
bool isRegisteredForVisibleInViewportCallback ()
 
bool isExcludedFromNormalLayout () const
 
void setIsExcludedFromNormalLayout (bool excluded)
 
bool isExcludedAndPlacedInBorder () const
 
VisibleInViewportState visibleInViewportState ()
 
bool hasLayer () const
 
bool hasVisibleBoxDecorations () const
 
bool backgroundIsKnownToBeObscured (const LayoutPoint &paintOffset)
 
bool needsLayout () const
 
bool selfNeedsLayout () const
 
bool needsPositionedMovementLayout () const
 
bool needsPositionedMovementLayoutOnly () const
 
bool posChildNeedsLayout () const
 
bool needsSimplifiedNormalFlowLayout () const
 
bool normalChildNeedsLayout () const
 
bool preferredLogicalWidthsDirty () const
 
bool isSelectionBorder () const
 
bool hasOverflowClip () const
 
bool hasTransformRelatedProperty () const
 
bool hasTransform () const
 
bool preservesNewline () const
 
virtual void updateDragState (bool dragOn)
 
RenderViewview () const
 
bool isRooted () const
 
Nodenode () const
 
NodenonPseudoNode () const
 
NodegeneratingNode () const
 
Documentdocument () const
 
Frameframe () const
 
Pagepage () const
 
Settingssettings () const
 
RenderElementcontainer () const
 
RenderElementcontainer (const RenderLayerModelObject *repaintContainer, bool &repaintContainerSkipped) const
 
RenderBoxModelObjectoffsetParent () const
 
void markContainingBlocksForLayout (ScheduleRelayout=ScheduleRelayout::Yes, RenderElement *newRoot=nullptr)
 
void setNeedsLayout (MarkingBehavior=MarkContainingBlockChain)
 
void clearNeedsLayout ()
 
void setPreferredLogicalWidthsDirty (bool, MarkingBehavior=MarkContainingBlockChain)
 
void invalidateContainerPreferredLogicalWidths ()
 
void setNeedsLayoutAndPrefWidthsRecalc ()
 
void setPositionState (EPosition position)
 
void clearPositionedState ()
 
void setFloating (bool b=true)
 
void setInline (bool b=true)
 
void setHasVisibleBoxDecorations (bool=true)
 
void invalidateBackgroundObscurationStatus ()
 
virtual bool computeBackgroundIsKnownToBeObscured (const LayoutPoint &)
 
void setIsText ()
 
void setIsLineBreak ()
 
void setIsBox ()
 
void setIsRenderView ()
 
void setReplaced (bool b=true)
 
void setHorizontalWritingMode (bool b=true)
 
void setHasOverflowClip (bool b=true)
 
void setHasLayer (bool b=true)
 
void setHasTransformRelatedProperty (bool b=true)
 
void setIsDragging (bool)
 
void setHasReflection (bool=true)
 
void setIsRenderFlowThread (bool=true)
 
void setHasOutlineAutoAncestor (bool=true)
 
void setIsRegisteredForVisibleInViewportCallback (bool)
 
void setVisibleInViewportState (VisibleInViewportState)
 
virtual int innerLineHeight () const
 
virtual void updateFromElement ()
 
bool isComposited () const
 
bool hitTest (const HitTestRequest &, HitTestResult &, const HitTestLocation &locationInContainer, const LayoutPoint &accumulatedOffset, HitTestFilter=HitTestAll)
 
virtual void updateHitTestResult (HitTestResult &, const LayoutPoint &)
 
VisiblePosition createVisiblePosition (int offset, EAffinity) const
 
VisiblePosition createVisiblePosition (const Position &) const
 
WEBCORE_EXPORT RenderBlockcontainingBlock () const
 
RenderBlockcontainingBlockForObjectInFlow () const
 
WEBCORE_EXPORT FloatPoint localToAbsolute (const FloatPoint &localPoint=FloatPoint(), MapCoordinatesFlags=0, bool *wasFixed=nullptr) const
 
FloatPoint absoluteToLocal (const FloatPoint &, MapCoordinatesFlags=0) const
 
FloatQuad localToAbsoluteQuad (const FloatQuad &quad, MapCoordinatesFlags mode=UseTransforms, bool *wasFixed=nullptr) const
 
FloatQuad absoluteToLocalQuad (const FloatQuad &, MapCoordinatesFlags mode=UseTransforms) const
 
WEBCORE_EXPORT FloatQuad localToContainerQuad (const FloatQuad &, const RenderLayerModelObject *repaintContainer, MapCoordinatesFlags=UseTransforms, bool *wasFixed=nullptr) const
 
WEBCORE_EXPORT FloatPoint localToContainerPoint (const FloatPoint &, const RenderLayerModelObject *repaintContainer, MapCoordinatesFlags=UseTransforms, bool *wasFixed=nullptr) const
 
virtual LayoutSize offsetFromContainer (RenderElement &, const LayoutPoint &, bool *offsetDependsOnPoint=nullptr) const
 
LayoutSize offsetFromAncestorContainer (RenderElement &) const
 
WEBCORE_EXPORT IntRect absoluteBoundingBoxRect (bool useTransform=true, bool *wasFixed=nullptr) const
 
IntRect absoluteBoundingBoxRectIgnoringTransforms () const
 
virtual void absoluteFocusRingQuads (Vector< FloatQuad > &)
 
WEBCORE_EXPORT LayoutRect paintingRootRect (LayoutRect &topLevelRect)
 
virtual LayoutUnit minPreferredLogicalWidth () const
 
virtual LayoutUnit maxPreferredLogicalWidth () const
 
const RenderStylestyle () const
 
const RenderStylefirstLineStyle () const
 
virtual const RenderStyleoutlineStyleForRepaint () const
 
virtual CursorDirective getCursor (const LayoutPoint &, Cursor &) const
 
RenderLayerModelObjectcontainerForRepaint () const
 
void repaintUsingContainer (const RenderLayerModelObject *repaintContainer, const LayoutRect &, bool shouldClipToLayer=true) const
 
void repaint () const
 
WEBCORE_EXPORT void repaintRectangle (const LayoutRect &, bool shouldClipToLayer=true) const
 
void repaintSlowRepaintObject () const
 
LayoutRect absoluteClippedOverflowRect () const
 
WEBCORE_EXPORT IntRect pixelSnappedAbsoluteClippedOverflowRect () const
 
virtual LayoutRect rectWithOutlineForRepaint (const RenderLayerModelObject *repaintContainer, LayoutUnit outlineWidth) const
 
virtual LayoutRect outlineBoundsForRepaint (const RenderLayerModelObject *, const RenderGeometryMap *=nullptr) const
 
LayoutRect computeAbsoluteRepaintRect (const LayoutRect &r, bool fixed=false) const
 
virtual LayoutRect computeRectForRepaint (const LayoutRect &, const RenderLayerModelObject *repaintContainer, RepaintContext={ }) const
 
virtual FloatRect computeFloatRectForRepaint (const FloatRect &, const RenderLayerModelObject *repaintContainer, bool fixed=false) const
 
bool isFloatingOrOutOfFlowPositioned () const
 
SelectionState selectionState () const
 
void setSelectionStateIfNeeded (SelectionState)
 
bool canUpdateSelectionOnRootLineBoxes ()
 
LayoutRect selectionRect (bool clipToVisibleContent=true)
 
virtual bool shouldPaintSelectionGaps () const
 
bool documentBeingDestroyed () const
 
void destroyAndCleanupAnonymousWrappers ()
 
void destroy ()
 
virtual bool isDeprecatedFlexibleBox () const
 
virtual bool isFlexibleBox () const
 
bool isFlexibleBoxIncludingDeprecated () const
 
virtual bool isCombineText () const
 
void imageChanged (CachedImage *, const IntRect *=nullptr) override
 
virtual void imageChanged (WrappedImagePtr, const IntRect *=nullptr)
 
SelectionSubtreeRootselectionRoot () const
 
void selectionStartEnd (unsigned &spos, unsigned &epos) const
 
void removeFromParent ()
 
CSSAnimationControlleranimation () const
 
virtual void mapLocalToContainer (const RenderLayerModelObject *repaintContainer, TransformState &, MapCoordinatesFlags, bool *wasFixed=nullptr) const
 
virtual void mapAbsoluteToLocalPoint (MapCoordinatesFlags, TransformState &) const
 
virtual const RenderObjectpushMappingToContainer (const RenderLayerModelObject *ancestorToStopAt, RenderGeometryMap &) const
 
bool shouldUseTransformFromContainer (const RenderObject *container) const
 
void getTransformFromContainer (const RenderObject *container, const LayoutSize &offsetInContainer, TransformationMatrix &) const
 
virtual void addFocusRingRects (Vector< LayoutRect > &, const LayoutPoint &, const RenderLayerModelObject *=nullptr)
 
LayoutRect absoluteOutlineBounds () const
 
- Public Member Functions inherited from WebCore::CachedImageClient
virtual ~CachedImageClient ()
 
CachedResourceClientType resourceClientType () const override
 
virtual void newImageAnimationFrameAvailable (CachedImage &image)
 
virtual ~CachedImageClient ()
 
CachedResourceClientType resourceClientType () const override
 
virtual void newImageAnimationFrameAvailable (CachedImage &image)
 
- Public Member Functions inherited from WebCore::CachedResourceClient
virtual ~CachedResourceClient ()
 
virtual void notifyFinished (CachedResource &)
 
virtual void deprecatedDidReceiveCachedResource (CachedResource &)
 
virtual bool isXMLHttpRequest () const
 
virtual ~CachedResourceClient ()
 
virtual void notifyFinished (CachedResource &)
 
virtual void deprecatedDidReceiveCachedResource (CachedResource &)
 
virtual bool isXMLHttpRequest () const
 

Protected Member Functions

virtual void computePreferredLogicalWidths (float leadWidth)
 
void willBeDestroyed () override
 
virtual void setRenderedText (const String &)
 
virtual UChar previousCharacter () const
 
virtual void computePreferredLogicalWidths (float leadWidth)
 
void willBeDestroyed () override
 
virtual void setRenderedText (const String &)
 
virtual UChar previousCharacter () const
 
- Protected Member Functions inherited from WebCore::RenderObject
void setPreviousSibling (RenderObject *previous)
 
void setNextSibling (RenderObject *next)
 
void setParent (RenderElement *)
 
void addPDFURLRect (PaintInfo &, const LayoutPoint &)
 
NodenodeForNonAnonymous () const
 
void adjustRectForOutlineAndShadow (LayoutRect &) const
 
virtual void insertedIntoTree ()
 
virtual void willBeRemovedFromTree ()
 
void setNeedsPositionedMovementLayoutBit (bool b)
 
void setNormalChildNeedsLayoutBit (bool b)
 
void setPosChildNeedsLayoutBit (bool b)
 
void setNeedsSimplifiedNormalFlowLayoutBit (bool b)
 
virtual RenderFlowThreadlocateFlowThreadContainingBlock () const
 
void initializeFlowThreadStateOnInsertion ()
 
void resetFlowThreadStateOnRemoval ()
 
void setPreviousSibling (RenderObject *previous)
 
void setNextSibling (RenderObject *next)
 
void setParent (RenderElement *)
 
void addPDFURLRect (PaintInfo &, const LayoutPoint &)
 
NodenodeForNonAnonymous () const
 
void adjustRectForOutlineAndShadow (LayoutRect &) const
 
virtual void insertedIntoTree ()
 
virtual void willBeRemovedFromTree ()
 
void setNeedsPositionedMovementLayoutBit (bool b)
 
void setNormalChildNeedsLayoutBit (bool b)
 
void setPosChildNeedsLayoutBit (bool b)
 
void setNeedsSimplifiedNormalFlowLayoutBit (bool b)
 
virtual RenderFlowThreadlocateFlowThreadContainingBlock () const
 
void initializeFlowThreadStateOnInsertion ()
 
void resetFlowThreadStateOnRemoval ()
 
- Protected Member Functions inherited from WebCore::CachedResourceClient
 CachedResourceClient ()
 
 CachedResourceClient ()
 

Additional Inherited Members

- Public Types inherited from WebCore::RenderObject
enum  FlowThreadState {
  NotInsideFlowThread = 0, InsideOutOfFlowThread = 1, InsideInFlowThread = 2, NotInsideFlowThread = 0,
  InsideOutOfFlowThread = 1, InsideInFlowThread = 2
}
 
enum  VisibleInViewportState {
  VisibilityUnknown, VisibleInViewport, NotVisibleInViewport, VisibilityUnknown,
  VisibleInViewport, NotVisibleInViewport
}
 
enum  BoxDecorationState {
  NoBoxDecorations, HasBoxDecorationsAndBackgroundObscurationStatusInvalid, HasBoxDecorationsAndBackgroundIsKnownToBeObscured, HasBoxDecorationsAndBackgroundMayBeVisible,
  NoBoxDecorations, HasBoxDecorationsAndBackgroundObscurationStatusInvalid, HasBoxDecorationsAndBackgroundIsKnownToBeObscured, HasBoxDecorationsAndBackgroundMayBeVisible
}
 
enum  SelectionState {
  SelectionNone, SelectionStart, SelectionInside, SelectionEnd,
  SelectionBoth, SelectionNone, SelectionStart, SelectionInside,
  SelectionEnd, SelectionBoth
}
 
enum  FlowThreadState {
  NotInsideFlowThread = 0, InsideOutOfFlowThread = 1, InsideInFlowThread = 2, NotInsideFlowThread = 0,
  InsideOutOfFlowThread = 1, InsideInFlowThread = 2
}
 
enum  VisibleInViewportState {
  VisibilityUnknown, VisibleInViewport, NotVisibleInViewport, VisibilityUnknown,
  VisibleInViewport, NotVisibleInViewport
}
 
enum  BoxDecorationState {
  NoBoxDecorations, HasBoxDecorationsAndBackgroundObscurationStatusInvalid, HasBoxDecorationsAndBackgroundIsKnownToBeObscured, HasBoxDecorationsAndBackgroundMayBeVisible,
  NoBoxDecorations, HasBoxDecorationsAndBackgroundObscurationStatusInvalid, HasBoxDecorationsAndBackgroundIsKnownToBeObscured, HasBoxDecorationsAndBackgroundMayBeVisible
}
 
enum  SelectionState {
  SelectionNone, SelectionStart, SelectionInside, SelectionEnd,
  SelectionBoth, SelectionNone, SelectionStart, SelectionInside,
  SelectionEnd, SelectionBoth
}
 
- Public Types inherited from WebCore::CachedResourceClient
enum  CachedResourceClientType {
  BaseResourceType, ImageType, FontType, StyleSheetType,
  SVGDocumentType, RawResourceType, BaseResourceType, ImageType,
  FontType, StyleSheetType, SVGDocumentType, RawResourceType
}
 
enum  CachedResourceClientType {
  BaseResourceType, ImageType, FontType, StyleSheetType,
  SVGDocumentType, RawResourceType, BaseResourceType, ImageType,
  FontType, StyleSheetType, SVGDocumentType, RawResourceType
}
 
- Static Public Member Functions inherited from WebCore::RenderObject
static bool isBeforeContent (const RenderObject *obj)
 
static bool isAfterContent (const RenderObject *obj)
 
static bool isBeforeOrAfterContent (const RenderObject *obj)
 
static FloatRect absoluteBoundingBoxRectForRange (const Range *)
 
static bool isBeforeContent (const RenderObject *obj)
 
static bool isAfterContent (const RenderObject *obj)
 
static bool isBeforeOrAfterContent (const RenderObject *obj)
 
static FloatRect absoluteBoundingBoxRectForRange (const Range *)
 
- Static Public Member Functions inherited from WebCore::CachedImageClient
static CachedResourceClientType expectedType ()
 
static CachedResourceClientType expectedType ()
 
- Static Public Member Functions inherited from WebCore::CachedResourceClient
static CachedResourceClientType expectedType ()
 
static CachedResourceClientType expectedType ()
 
- Static Protected Member Functions inherited from WebCore::RenderObject
static void calculateBorderStyleColor (const EBorderStyle &, const BoxSide &, Color &)
 
static FlowThreadState computedFlowThreadState (const RenderObject &)
 
static void calculateBorderStyleColor (const EBorderStyle &, const BoxSide &, Color &)
 
static FlowThreadState computedFlowThreadState (const RenderObject &)
 

Constructor & Destructor Documentation

◆ RenderText() [1/4]

WebCore::RenderText::RenderText ( Text textNode,
const String text 
)

◆ RenderText() [2/4]

WebCore::RenderText::RenderText ( Document document,
const String text 
)

◆ ~RenderText() [1/2]

WebCore::RenderText::~RenderText ( )
virtual

◆ RenderText() [3/4]

WebCore::RenderText::RenderText ( Text ,
const String  
)

◆ RenderText() [4/4]

WebCore::RenderText::RenderText ( Document ,
const String  
)

◆ ~RenderText() [2/2]

virtual WebCore::RenderText::~RenderText ( )
virtual

Member Function Documentation

◆ absoluteQuads() [1/2]

void WebCore::RenderText::absoluteQuads ( Vector< FloatQuad > &  quads,
bool *  wasFixed 
) const
finalvirtual

Reimplemented from WebCore::RenderObject.

◆ absoluteQuads() [2/2]

void WebCore::RenderText::absoluteQuads ( Vector< FloatQuad > &  ,
bool *  wasFixed 
) const
finalvirtual

Reimplemented from WebCore::RenderObject.

◆ absoluteQuadsClippedToEllipsis() [1/2]

Vector< FloatQuad > WebCore::RenderText::absoluteQuadsClippedToEllipsis ( ) const

◆ absoluteQuadsClippedToEllipsis() [2/2]

Vector<FloatQuad> WebCore::RenderText::absoluteQuadsClippedToEllipsis ( ) const

◆ absoluteQuadsForRange() [1/2]

Vector< FloatQuad > WebCore::RenderText::absoluteQuadsForRange ( unsigned  startOffset = 0,
unsigned  endOffset = UINT_MAX,
bool  useSelectionHeight = false,
bool *  wasFixed = nullptr 
) const

◆ absoluteQuadsForRange() [2/2]

Vector<FloatQuad> WebCore::RenderText::absoluteQuadsForRange ( unsigned  startOffset = 0,
unsigned  endOffset = UINT_MAX,
bool  useSelectionHeight = false,
bool *  wasFixed = nullptr 
) const

◆ absoluteRects() [1/2]

void WebCore::RenderText::absoluteRects ( Vector< IntRect > &  rects,
const LayoutPoint accumulatedOffset 
) const
finalvirtual

Reimplemented from WebCore::RenderObject.

◆ absoluteRects() [2/2]

void WebCore::RenderText::absoluteRects ( Vector< IntRect > &  ,
const LayoutPoint accumulatedOffset 
) const
finalvirtual

Reimplemented from WebCore::RenderObject.

◆ absoluteRectsForRange() [1/2]

Vector< IntRect > WebCore::RenderText::absoluteRectsForRange ( unsigned  startOffset = 0,
unsigned  endOffset = UINT_MAX,
bool  useSelectionHeight = false,
bool *  wasFixed = nullptr 
) const

◆ absoluteRectsForRange() [2/2]

Vector<IntRect> WebCore::RenderText::absoluteRectsForRange ( unsigned  startOffset = 0,
unsigned  endOffset = UINT_MAX,
bool  useSelectionHeight = false,
bool *  wasFixed = nullptr 
) const

◆ attachTextBox() [1/2]

void WebCore::RenderText::attachTextBox ( InlineTextBox box)
inline

◆ attachTextBox() [2/2]

void WebCore::RenderText::attachTextBox ( InlineTextBox box)
inline

◆ canBeSelectionLeaf() [1/2]

bool WebCore::RenderText::canBeSelectionLeaf ( ) const
inlineoverridevirtual

Reimplemented from WebCore::RenderObject.

Reimplemented in WebCore::RenderTextFragment.

◆ canBeSelectionLeaf() [2/2]

bool WebCore::RenderText::canBeSelectionLeaf ( ) const
inlineoverridevirtual

Reimplemented from WebCore::RenderObject.

Reimplemented in WebCore::RenderTextFragment.

◆ canUseSimpleFontCodePath() [1/2]

bool WebCore::RenderText::canUseSimpleFontCodePath ( ) const
inline

◆ canUseSimpleFontCodePath() [2/2]

bool WebCore::RenderText::canUseSimpleFontCodePath ( ) const
inline

◆ canUseSimplifiedTextMeasuring() [1/2]

bool WebCore::RenderText::canUseSimplifiedTextMeasuring ( ) const
inline

◆ canUseSimplifiedTextMeasuring() [2/2]

bool WebCore::RenderText::canUseSimplifiedTextMeasuring ( ) const
inline

◆ caretMaxOffset() [1/2]

int WebCore::RenderText::caretMaxOffset ( ) const
overridevirtual

Reimplemented from WebCore::RenderObject.

◆ caretMaxOffset() [2/2]

int WebCore::RenderText::caretMaxOffset ( ) const
overridevirtual

Reimplemented from WebCore::RenderObject.

◆ caretMinOffset() [1/2]

int WebCore::RenderText::caretMinOffset ( ) const
overridevirtual

Reimplemented from WebCore::RenderObject.

◆ caretMinOffset() [2/2]

int WebCore::RenderText::caretMinOffset ( ) const
overridevirtual

Reimplemented from WebCore::RenderObject.

◆ characterAt() [1/2]

UChar WebCore::RenderText::characterAt ( unsigned  i) const
inline

◆ characterAt() [2/2]

UChar WebCore::RenderText::characterAt ( unsigned  ) const

◆ characters16() [1/2]

const UChar* WebCore::RenderText::characters16 ( ) const
inline

◆ characters16() [2/2]

const UChar* WebCore::RenderText::characters16 ( ) const
inline

◆ characters8() [1/2]

const LChar* WebCore::RenderText::characters8 ( ) const
inline

◆ characters8() [2/2]

const LChar* WebCore::RenderText::characters8 ( ) const
inline

◆ clippedOverflowRectForRepaint() [1/2]

LayoutRect WebCore::RenderText::clippedOverflowRectForRepaint ( const RenderLayerModelObject repaintContainer) const
finalvirtual

Reimplemented from WebCore::RenderObject.

◆ clippedOverflowRectForRepaint() [2/2]

LayoutRect WebCore::RenderText::clippedOverflowRectForRepaint ( const RenderLayerModelObject repaintContainer) const
finalvirtual

Reimplemented from WebCore::RenderObject.

◆ collectSelectionRectsForLineBoxes() [1/2]

LayoutRect WebCore::RenderText::collectSelectionRectsForLineBoxes ( const RenderLayerModelObject repaintContainer,
bool  clipToVisibleContent,
Vector< LayoutRect > &  rects 
)

◆ collectSelectionRectsForLineBoxes() [2/2]

LayoutRect WebCore::RenderText::collectSelectionRectsForLineBoxes ( const RenderLayerModelObject repaintContainer,
bool  clipToVisibleContent,
Vector< LayoutRect > &  rects 
)

◆ computePreferredLogicalWidths() [1/2]

virtual void WebCore::RenderText::computePreferredLogicalWidths ( float  leadWidth)
protectedvirtual

◆ computePreferredLogicalWidths() [2/2]

void WebCore::RenderText::computePreferredLogicalWidths ( float  leadWidth)
protectedvirtual

◆ containsCaretOffset() [1/2]

bool WebCore::RenderText::containsCaretOffset ( unsigned  ) const

◆ containsCaretOffset() [2/2]

bool WebCore::RenderText::containsCaretOffset ( unsigned  offset) const

◆ containsOnlyWhitespace() [1/2]

bool WebCore::RenderText::containsOnlyWhitespace ( unsigned  from,
unsigned  len 
) const

◆ containsOnlyWhitespace() [2/2]

bool WebCore::RenderText::containsOnlyWhitespace ( unsigned  from,
unsigned  len 
) const

◆ containsRenderedCharacterOffset() [1/2]

bool WebCore::RenderText::containsRenderedCharacterOffset ( unsigned  ) const

◆ containsRenderedCharacterOffset() [2/2]

bool WebCore::RenderText::containsRenderedCharacterOffset ( unsigned  offset) const

◆ containsReversedText() [1/2]

bool WebCore::RenderText::containsReversedText ( ) const
inline

◆ containsReversedText() [2/2]

bool WebCore::RenderText::containsReversedText ( ) const
inline

◆ countRenderedCharacterOffsetsUntil() [1/2]

unsigned WebCore::RenderText::countRenderedCharacterOffsetsUntil ( unsigned  ) const

◆ countRenderedCharacterOffsetsUntil() [2/2]

unsigned WebCore::RenderText::countRenderedCharacterOffsetsUntil ( unsigned  offset) const

◆ createInlineTextBox() [1/2]

InlineTextBox* WebCore::RenderText::createInlineTextBox ( )
inline

◆ createInlineTextBox() [2/2]

InlineTextBox* WebCore::RenderText::createInlineTextBox ( )
inline

◆ createTextBox() [1/2]

std::unique_ptr< InlineTextBox > WebCore::RenderText::createTextBox ( )
virtual

◆ createTextBox() [2/2]

virtual std::unique_ptr<InlineTextBox> WebCore::RenderText::createTextBox ( )
virtual

◆ deleteLineBoxesBeforeSimpleLineLayout() [1/2]

void WebCore::RenderText::deleteLineBoxesBeforeSimpleLineLayout ( )

◆ deleteLineBoxesBeforeSimpleLineLayout() [2/2]

void WebCore::RenderText::deleteLineBoxesBeforeSimpleLineLayout ( )

◆ dirtyLineBoxes() [1/2]

void WebCore::RenderText::dirtyLineBoxes ( bool  fullLayout)

◆ dirtyLineBoxes() [2/2]

void WebCore::RenderText::dirtyLineBoxes ( bool  fullLayout)

◆ ensureLineBoxes() [1/2]

void WebCore::RenderText::ensureLineBoxes ( )

◆ ensureLineBoxes() [2/2]

void WebCore::RenderText::ensureLineBoxes ( )

◆ extractTextBox() [1/2]

void WebCore::RenderText::extractTextBox ( InlineTextBox box)
inline

◆ extractTextBox() [2/2]

void WebCore::RenderText::extractTextBox ( InlineTextBox box)
inline

◆ findNextInlineTextBox() [1/2]

InlineTextBox* WebCore::RenderText::findNextInlineTextBox ( int  offset,
int &  pos 
) const
inline

◆ findNextInlineTextBox() [2/2]

InlineTextBox* WebCore::RenderText::findNextInlineTextBox ( int  offset,
int &  pos 
) const
inline

◆ firstCharacterIndexStrippingSpaces() [1/2]

unsigned WebCore::RenderText::firstCharacterIndexStrippingSpaces ( ) const

◆ firstCharacterIndexStrippingSpaces() [2/2]

unsigned WebCore::RenderText::firstCharacterIndexStrippingSpaces ( ) const

◆ firstLineStyle() [1/2]

const RenderStyle & WebCore::RenderText::firstLineStyle ( ) const
inline

◆ firstLineStyle() [2/2]

const RenderStyle& WebCore::RenderText::firstLineStyle ( ) const

◆ firstRunLocation() [1/2]

WEBCORE_EXPORT IntPoint WebCore::RenderText::firstRunLocation ( ) const

◆ firstRunLocation() [2/2]

IntPoint WebCore::RenderText::firstRunLocation ( ) const

◆ firstTextBox() [1/2]

InlineTextBox* WebCore::RenderText::firstTextBox ( ) const
inline

◆ firstTextBox() [2/2]

InlineTextBox* WebCore::RenderText::firstTextBox ( ) const
inline

◆ getCachedPseudoStyle() [1/2]

const RenderStyle* WebCore::RenderText::getCachedPseudoStyle ( PseudoId  ,
const RenderStyle parentStyle = nullptr 
) const

◆ getCachedPseudoStyle() [2/2]

const RenderStyle * WebCore::RenderText::getCachedPseudoStyle ( PseudoId  pseudoId,
const RenderStyle parentStyle = nullptr 
) const
inline

◆ hangablePunctuationEndWidth() [1/2]

float WebCore::RenderText::hangablePunctuationEndWidth ( unsigned  index) const

◆ hangablePunctuationEndWidth() [2/2]

float WebCore::RenderText::hangablePunctuationEndWidth ( unsigned  index) const

◆ hangablePunctuationStartWidth() [1/2]

float WebCore::RenderText::hangablePunctuationStartWidth ( unsigned  index) const

◆ hangablePunctuationStartWidth() [2/2]

float WebCore::RenderText::hangablePunctuationStartWidth ( unsigned  index) const

◆ hasRenderedText() [1/2]

bool WebCore::RenderText::hasRenderedText ( ) const

◆ hasRenderedText() [2/2]

bool WebCore::RenderText::hasRenderedText ( ) const

◆ is8Bit() [1/2]

bool WebCore::RenderText::is8Bit ( ) const
inline

◆ is8Bit() [2/2]

bool WebCore::RenderText::is8Bit ( ) const
inline

◆ isAllCollapsibleWhitespace() [1/2]

bool WebCore::RenderText::isAllCollapsibleWhitespace ( ) const

◆ isAllCollapsibleWhitespace() [2/2]

bool WebCore::RenderText::isAllCollapsibleWhitespace ( ) const

◆ isHangableStopOrComma() [1/2]

bool WebCore::RenderText::isHangableStopOrComma ( UChar  c) const

◆ isHangableStopOrComma() [2/2]

bool WebCore::RenderText::isHangableStopOrComma ( UChar  ) const

◆ isTextFragment() [1/2]

bool WebCore::RenderText::isTextFragment ( ) const
virtual

◆ isTextFragment() [2/2]

virtual bool WebCore::RenderText::isTextFragment ( ) const
virtual

◆ lastCharacterIndexStrippingSpaces() [1/2]

unsigned WebCore::RenderText::lastCharacterIndexStrippingSpaces ( ) const

◆ lastCharacterIndexStrippingSpaces() [2/2]

unsigned WebCore::RenderText::lastCharacterIndexStrippingSpaces ( ) const

◆ lastTextBox() [1/2]

InlineTextBox* WebCore::RenderText::lastTextBox ( ) const
inline

◆ lastTextBox() [2/2]

InlineTextBox* WebCore::RenderText::lastTextBox ( ) const
inline

◆ linesBoundingBox() [1/2]

virtual WEBCORE_EXPORT IntRect WebCore::RenderText::linesBoundingBox ( ) const
virtual

◆ linesBoundingBox() [2/2]

IntRect WebCore::RenderText::linesBoundingBox ( ) const
virtual

◆ linesVisualOverflowBoundingBox() [1/2]

LayoutRect WebCore::RenderText::linesVisualOverflowBoundingBox ( ) const

◆ linesVisualOverflowBoundingBox() [2/2]

LayoutRect WebCore::RenderText::linesVisualOverflowBoundingBox ( ) const

◆ localCaretRect() [1/2]

LayoutRect WebCore::RenderText::localCaretRect ( InlineBox ,
unsigned  caretOffset,
LayoutUnit extraWidthToEndOfLine = 0 
)
overridevirtual

Returns the local coordinates of the caret within this render object.

Parameters
caretOffsetzero-based offset determining position within the render object.
extraWidthToEndOfLineoptional out arg to give extra width to end of line - useful for character range rect computations

Reimplemented from WebCore::RenderObject.

◆ localCaretRect() [2/2]

LayoutRect WebCore::RenderText::localCaretRect ( InlineBox ,
unsigned  caretOffset,
LayoutUnit extraWidthToEndOfLine = 0 
)
overridevirtual

Returns the local coordinates of the caret within this render object.

Parameters
caretOffsetzero-based offset determining position within the render object.
extraWidthToEndOfLineoptional out arg to give extra width to end of line - useful for character range rect computations

Reimplemented from WebCore::RenderObject.

◆ marginLeft() [1/2]

LayoutUnit WebCore::RenderText::marginLeft ( ) const
inline

◆ marginLeft() [2/2]

LayoutUnit WebCore::RenderText::marginLeft ( ) const
inline

◆ marginRight() [1/2]

LayoutUnit WebCore::RenderText::marginRight ( ) const
inline

◆ marginRight() [2/2]

LayoutUnit WebCore::RenderText::marginRight ( ) const
inline

◆ maxLogicalWidth() [1/2]

float WebCore::RenderText::maxLogicalWidth ( ) const

◆ maxLogicalWidth() [2/2]

float WebCore::RenderText::maxLogicalWidth ( ) const

◆ minLogicalWidth() [1/2]

float WebCore::RenderText::minLogicalWidth ( ) const

◆ minLogicalWidth() [2/2]

float WebCore::RenderText::minLogicalWidth ( ) const

◆ momentarilyRevealLastTypedCharacter() [1/2]

void WebCore::RenderText::momentarilyRevealLastTypedCharacter ( unsigned  offsetAfterLastTypedCharacter)

◆ momentarilyRevealLastTypedCharacter() [2/2]

void WebCore::RenderText::momentarilyRevealLastTypedCharacter ( unsigned  offsetAfterLastTypedCharacter)

◆ nextOffset() [1/2]

int WebCore::RenderText::nextOffset ( int  current) const
finalvirtual

Reimplemented from WebCore::RenderObject.

◆ nextOffset() [2/2]

int WebCore::RenderText::nextOffset ( int  current) const
finalvirtual

Reimplemented from WebCore::RenderObject.

◆ operator[]() [1/2]

UChar WebCore::RenderText::operator[] ( unsigned  i) const
inline

◆ operator[]() [2/2]

UChar WebCore::RenderText::operator[] ( unsigned  i) const
inline

◆ originalText() [1/2]

String WebCore::RenderText::originalText ( ) const
virtual

◆ originalText() [2/2]

virtual String WebCore::RenderText::originalText ( ) const
virtual

◆ positionForPoint() [1/4]

Position WebCore::RenderText::positionForPoint ( const LayoutPoint point)
overridevirtual

Reimplemented from WebCore::RenderObject.

◆ positionForPoint() [2/4]

Position WebCore::RenderText::positionForPoint ( const LayoutPoint )
overridevirtual

Reimplemented from WebCore::RenderObject.

◆ positionForPoint() [3/4]

VisiblePosition WebCore::RenderText::positionForPoint ( const LayoutPoint ,
const RenderRegion  
)
overridevirtual

Reimplemented from WebCore::RenderObject.

◆ positionForPoint() [4/4]

VisiblePosition WebCore::RenderText::positionForPoint ( const LayoutPoint point,
const RenderRegion  
)
overridevirtual

Reimplemented from WebCore::RenderObject.

◆ positionLineBox() [1/2]

void WebCore::RenderText::positionLineBox ( InlineTextBox textBox)

◆ positionLineBox() [2/2]

void WebCore::RenderText::positionLineBox ( InlineTextBox )

◆ previousCharacter() [1/2]

UChar WebCore::RenderText::previousCharacter ( ) const
protectedvirtual

◆ previousCharacter() [2/2]

virtual UChar WebCore::RenderText::previousCharacter ( ) const
protectedvirtual

◆ previousOffset() [1/2]

int WebCore::RenderText::previousOffset ( int  current) const
finalvirtual

Reimplemented from WebCore::RenderObject.

◆ previousOffset() [2/2]

int WebCore::RenderText::previousOffset ( int  current) const
finalvirtual

Reimplemented from WebCore::RenderObject.

◆ previousOffsetForBackwardDeletion() [1/2]

int WebCore::RenderText::previousOffsetForBackwardDeletion ( int  current) const
finalvirtual

Reimplemented from WebCore::RenderObject.

◆ previousOffsetForBackwardDeletion() [2/2]

int WebCore::RenderText::previousOffsetForBackwardDeletion ( int  current) const
finalvirtual

Reimplemented from WebCore::RenderObject.

◆ removeAndDestroyTextBoxes() [1/2]

void WebCore::RenderText::removeAndDestroyTextBoxes ( )

◆ removeAndDestroyTextBoxes() [2/2]

void WebCore::RenderText::removeAndDestroyTextBoxes ( )

◆ removeTextBox() [1/2]

void WebCore::RenderText::removeTextBox ( InlineTextBox box)
inline

◆ removeTextBox() [2/2]

void WebCore::RenderText::removeTextBox ( InlineTextBox box)
inline

◆ renderName() [1/2]

const char* WebCore::RenderText::renderName ( ) const
overridevirtual

Implements WebCore::RenderObject.

◆ renderName() [2/2]

const char * WebCore::RenderText::renderName ( ) const
overridevirtual

Implements WebCore::RenderObject.

◆ selectionBackgroundColor() [1/2]

Color WebCore::RenderText::selectionBackgroundColor ( ) const
inline

◆ selectionBackgroundColor() [2/2]

Color WebCore::RenderText::selectionBackgroundColor ( ) const

◆ selectionEmphasisMarkColor() [1/2]

Color WebCore::RenderText::selectionEmphasisMarkColor ( ) const
inline

◆ selectionEmphasisMarkColor() [2/2]

Color WebCore::RenderText::selectionEmphasisMarkColor ( ) const

◆ selectionForegroundColor() [1/2]

Color WebCore::RenderText::selectionForegroundColor ( ) const
inline

◆ selectionForegroundColor() [2/2]

Color WebCore::RenderText::selectionForegroundColor ( ) const

◆ selectionRectForRepaint() [1/2]

LayoutRect WebCore::RenderText::selectionRectForRepaint ( const RenderLayerModelObject repaintContainer,
bool  clipToVisibleContent = true 
)
overridevirtual

Reimplemented from WebCore::RenderObject.

◆ selectionRectForRepaint() [2/2]

LayoutRect WebCore::RenderText::selectionRectForRepaint ( const RenderLayerModelObject repaintContainer,
bool  clipToVisibleContent = true 
)
overridevirtual

Reimplemented from WebCore::RenderObject.

◆ setRenderedText() [1/2]

void WebCore::RenderText::setRenderedText ( const String text)
protectedvirtual

◆ setRenderedText() [2/2]

virtual void WebCore::RenderText::setRenderedText ( const String )
protectedvirtual

◆ setSelectionState() [1/2]

void WebCore::RenderText::setSelectionState ( SelectionState  )
finalvirtual

Reimplemented from WebCore::RenderObject.

◆ setSelectionState() [2/2]

void WebCore::RenderText::setSelectionState ( SelectionState  state)
finalvirtual

Reimplemented from WebCore::RenderObject.

◆ setText() [1/2]

virtual void WebCore::RenderText::setText ( const String ,
bool  force = false 
)
virtual

Reimplemented in WebCore::RenderTextFragment.

◆ setText() [2/2]

void WebCore::RenderText::setText ( const String text,
bool  force = false 
)
virtual

Reimplemented in WebCore::RenderTextFragment.

◆ setTextWithOffset() [1/2]

void WebCore::RenderText::setTextWithOffset ( const String ,
unsigned  offset,
unsigned  len,
bool  force = false 
)

◆ setTextWithOffset() [2/2]

void WebCore::RenderText::setTextWithOffset ( const String text,
unsigned  offset,
unsigned  len,
bool  force = false 
)

◆ simpleLineLayout() [1/2]

const SimpleLineLayout::Layout* WebCore::RenderText::simpleLineLayout ( ) const

◆ simpleLineLayout() [2/2]

const SimpleLineLayout::Layout * WebCore::RenderText::simpleLineLayout ( ) const

◆ stringView() [1/2]

StringView WebCore::RenderText::stringView ( unsigned  start = 0,
std::optional< unsigned >  stop = std::nullopt 
) const

◆ stringView() [2/2]

StringView WebCore::RenderText::stringView ( unsigned  start = 0,
std::optional< unsigned >  stop = std::nullopt 
) const

◆ style() [1/2]

const RenderStyle& WebCore::RenderText::style ( ) const

◆ style() [2/2]

const RenderStyle & WebCore::RenderText::style ( ) const
inline

◆ styleDidChange() [1/2]

virtual void WebCore::RenderText::styleDidChange ( StyleDifference  ,
const RenderStyle oldStyle 
)
virtual

◆ styleDidChange() [2/2]

void WebCore::RenderText::styleDidChange ( StyleDifference  diff,
const RenderStyle oldStyle 
)
virtual

◆ text() [1/2]

StringImpl* WebCore::RenderText::text ( ) const
inline

◆ text() [2/2]

StringImpl* WebCore::RenderText::text ( ) const
inline

◆ textLength() [1/2]

unsigned WebCore::RenderText::textLength ( ) const
inline

◆ textLength() [2/2]

unsigned WebCore::RenderText::textLength ( ) const
inline

◆ textNode() [1/2]

Text * WebCore::RenderText::textNode ( ) const

◆ textNode() [2/2]

WEBCORE_EXPORT Text* WebCore::RenderText::textNode ( ) const

◆ textWithoutConvertingBackslashToYenSymbol() [1/2]

String WebCore::RenderText::textWithoutConvertingBackslashToYenSymbol ( ) const

◆ textWithoutConvertingBackslashToYenSymbol() [2/2]

String WebCore::RenderText::textWithoutConvertingBackslashToYenSymbol ( ) const

◆ topOfFirstText() [1/2]

LayoutUnit WebCore::RenderText::topOfFirstText ( ) const

◆ topOfFirstText() [2/2]

LayoutUnit WebCore::RenderText::topOfFirstText ( ) const

◆ trimmedPrefWidths() [1/2]

void WebCore::RenderText::trimmedPrefWidths ( float  leadWidth,
float &  beginMinW,
bool &  beginWS,
float &  endMinW,
bool &  endWS,
bool &  hasBreakableChar,
bool &  hasBreak,
float &  beginMaxW,
float &  endMaxW,
float &  minW,
float &  maxW,
bool &  stripFrontSpaces 
)

◆ trimmedPrefWidths() [2/2]

void WebCore::RenderText::trimmedPrefWidths ( float  leadWidth,
float &  beginMinW,
bool &  beginWS,
float &  endMinW,
bool &  endWS,
bool &  hasBreakableChar,
bool &  hasBreak,
float &  beginMaxW,
float &  endMaxW,
float &  minW,
float &  maxW,
bool &  stripFrontSpaces 
)

◆ uncheckedCharacterAt() [1/2]

UChar WebCore::RenderText::uncheckedCharacterAt ( unsigned  i) const
inline

◆ uncheckedCharacterAt() [2/2]

UChar WebCore::RenderText::uncheckedCharacterAt ( unsigned  ) const

◆ width() [1/4]

float WebCore::RenderText::width ( unsigned  from,
unsigned  len,
const FontCascade f,
float  xPos,
HashSet< const Font *> *  fallbackFonts = 0,
GlyphOverflow glyphOverflow = 0 
) const
virtual

◆ width() [2/4]

virtual float WebCore::RenderText::width ( unsigned  from,
unsigned  len,
const FontCascade ,
float  xPos,
HashSet< const Font *> *  fallbackFonts = 0,
GlyphOverflow = 0 
) const
virtual

◆ width() [3/4]

float WebCore::RenderText::width ( unsigned  from,
unsigned  len,
float  xPos,
bool  firstLine = false,
HashSet< const Font *> *  fallbackFonts = 0,
GlyphOverflow glyphOverflow = 0 
) const
virtual

◆ width() [4/4]

virtual float WebCore::RenderText::width ( unsigned  from,
unsigned  len,
float  xPos,
bool  firstLine = false,
HashSet< const Font *> *  fallbackFonts = 0,
GlyphOverflow = 0 
) const
virtual

◆ willBeDestroyed() [1/2]

void WebCore::RenderText::willBeDestroyed ( )
overrideprotectedvirtual

Reimplemented from WebCore::RenderObject.

◆ willBeDestroyed() [2/2]

void WebCore::RenderText::willBeDestroyed ( )
overrideprotectedvirtual

Reimplemented from WebCore::RenderObject.


The documentation for this class was generated from the following files: