OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. | 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
reserved. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 | 122 |
123 bool requiresLayer() const override { return isInFlowPositioned() || creates
Group() || hasClipPath() || willChangeCreatesStackingContext() || hasRunningAcce
leratedAnimations(); } | 123 bool requiresLayer() const override { return isInFlowPositioned() || creates
Group() || hasClipPath() || willChangeCreatesStackingContext() || hasRunningAcce
leratedAnimations(); } |
124 | 124 |
125 LayoutUnit offsetLeft() const final; | 125 LayoutUnit offsetLeft() const final; |
126 LayoutUnit offsetTop() const final; | 126 LayoutUnit offsetTop() const final; |
127 LayoutUnit offsetWidth() const final { return linesBoundingBox().width(); } | 127 LayoutUnit offsetWidth() const final { return linesBoundingBox().width(); } |
128 LayoutUnit offsetHeight() const final { return linesBoundingBox().height();
} | 128 LayoutUnit offsetHeight() const final { return linesBoundingBox().height();
} |
129 | 129 |
130 LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObject* repai
ntContainer) const override; | 130 LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObject* repai
ntContainer) const override; |
131 LayoutRect rectWithOutlineForRepaint(const RenderLayerModelObject* repaintCo
ntainer, LayoutUnit outlineWidth) const final; | 131 LayoutRect rectWithOutlineForRepaint(const RenderLayerModelObject* repaintCo
ntainer, LayoutUnit outlineWidth) const final; |
132 LayoutRect computeRectForRepaint(const LayoutRect&, const RenderLayerModelOb
ject* repaintContainer, RepaintContext = { }) const final; | 132 |
| 133 std::optional<LayoutRect> computeVisibleRectInContainer(const LayoutRect&, c
onst RenderLayerModelObject* container, VisibleRectContext) const final; |
| 134 LayoutRect computeAbsoluteVisibleRectUsingPaintOffsetCache(const LayoutRect&
) const; |
133 | 135 |
134 void mapLocalToContainer(const RenderLayerModelObject* repaintContainer, Tra
nsformState&, MapCoordinatesFlags, bool* wasFixed) const override; | 136 void mapLocalToContainer(const RenderLayerModelObject* repaintContainer, Tra
nsformState&, MapCoordinatesFlags, bool* wasFixed) const override; |
135 const RenderObject* pushMappingToContainer(const RenderLayerModelObject* anc
estorToStopAt, RenderGeometryMap&) const override; | 137 const RenderObject* pushMappingToContainer(const RenderLayerModelObject* anc
estorToStopAt, RenderGeometryMap&) const override; |
136 | 138 |
137 VisiblePosition positionForPoint(const LayoutPoint&, const RenderFragmentCon
tainer*) final; | 139 VisiblePosition positionForPoint(const LayoutPoint&, const RenderFragmentCon
tainer*) final; |
138 | 140 |
139 LayoutRect frameRectForStickyPositioning() const final { return linesBoundin
gBox(); } | 141 LayoutRect frameRectForStickyPositioning() const final { return linesBoundin
gBox(); } |
140 | 142 |
141 virtual std::unique_ptr<InlineFlowBox> createInlineFlowBox(); // Subclassed
by RenderSVGInline | 143 virtual std::unique_ptr<InlineFlowBox> createInlineFlowBox(); // Subclassed
by RenderSVGInline |
142 | 144 |
(...skipping 16 matching lines...) Expand all Loading... |
159 { | 161 { |
160 return style().willChange() && style().willChange()->canCreateStackingCo
ntext(); | 162 return style().willChange() && style().willChange()->canCreateStackingCo
ntext(); |
161 } | 163 } |
162 | 164 |
163 RenderLineBoxList m_lineBoxes; // All of the line boxes created for this i
nline flow. For example, <i>Hello<br>world.</i> will have two <i> line boxes. | 165 RenderLineBoxList m_lineBoxes; // All of the line boxes created for this i
nline flow. For example, <i>Hello<br>world.</i> will have two <i> line boxes. |
164 }; | 166 }; |
165 | 167 |
166 } // namespace WebCore | 168 } // namespace WebCore |
167 | 169 |
168 SPECIALIZE_TYPE_TRAITS_RENDER_OBJECT(RenderInline, isRenderInline()) | 170 SPECIALIZE_TYPE_TRAITS_RENDER_OBJECT(RenderInline, isRenderInline()) |
OLD | NEW |