OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) | 2 * Copyright (C) 1997 Martin Jones (mjones@kde.org) |
3 * (C) 1997 Torben Weis (weis@kde.org) | 3 * (C) 1997 Torben Weis (weis@kde.org) |
4 * (C) 1998 Waldo Bastian (bastian@kde.org) | 4 * (C) 1998 Waldo Bastian (bastian@kde.org) |
5 * (C) 1999 Lars Knoll (knoll@kde.org) | 5 * (C) 1999 Lars Knoll (knoll@kde.org) |
6 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 6 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009 Apple Inc. All rights reserv
ed. | 7 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009 Apple Inc. All rights reserv
ed. |
8 * | 8 * |
9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 void willBeRemovedFromTree() override; | 148 void willBeRemovedFromTree() override; |
149 | 149 |
150 void updateLogicalWidth() override; | 150 void updateLogicalWidth() override; |
151 | 151 |
152 void paintBoxDecorations(PaintInfo&, const LayoutPoint&) override; | 152 void paintBoxDecorations(PaintInfo&, const LayoutPoint&) override; |
153 void paintMask(PaintInfo&, const LayoutPoint&) override; | 153 void paintMask(PaintInfo&, const LayoutPoint&) override; |
154 | 154 |
155 bool boxShadowShouldBeAppliedToBackground(const LayoutPoint& paintOffset, Ba
ckgroundBleedAvoidance, InlineFlowBox*) const override; | 155 bool boxShadowShouldBeAppliedToBackground(const LayoutPoint& paintOffset, Ba
ckgroundBleedAvoidance, InlineFlowBox*) const override; |
156 | 156 |
157 LayoutSize offsetFromContainer(RenderElement&, const LayoutPoint&, bool* off
setDependsOnPoint = 0) const override; | 157 LayoutSize offsetFromContainer(RenderElement&, const LayoutPoint&, bool* off
setDependsOnPoint = 0) const override; |
158 LayoutRect computeRectForRepaint(const LayoutRect&, const RenderLayerModelOb
ject* repaintContainer, RepaintContext = { }) const override; | 158 std::optional<LayoutRect> computeVisibleRectInContainer(const LayoutRect&, c
onst RenderLayerModelObject* container, VisibleRectContext) const override; |
159 | 159 |
160 LayoutUnit borderHalfLeft(bool outer) const; | 160 LayoutUnit borderHalfLeft(bool outer) const; |
161 LayoutUnit borderHalfRight(bool outer) const; | 161 LayoutUnit borderHalfRight(bool outer) const; |
162 LayoutUnit borderHalfTop(bool outer) const; | 162 LayoutUnit borderHalfTop(bool outer) const; |
163 LayoutUnit borderHalfBottom(bool outer) const; | 163 LayoutUnit borderHalfBottom(bool outer) const; |
164 | 164 |
165 LayoutUnit borderHalfStart(bool outer) const; | 165 LayoutUnit borderHalfStart(bool outer) const; |
166 LayoutUnit borderHalfEnd(bool outer) const; | 166 LayoutUnit borderHalfEnd(bool outer) const; |
167 LayoutUnit borderHalfBefore(bool outer) const; | 167 LayoutUnit borderHalfBefore(bool outer) const; |
168 LayoutUnit borderHalfAfter(bool outer) const; | 168 LayoutUnit borderHalfAfter(bool outer) const; |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 } | 379 } |
380 | 380 |
381 inline RenderPtr<RenderBox> RenderTableCell::createAnonymousBoxWithSameTypeAs(co
nst RenderBox& renderer) const | 381 inline RenderPtr<RenderBox> RenderTableCell::createAnonymousBoxWithSameTypeAs(co
nst RenderBox& renderer) const |
382 { | 382 { |
383 return RenderTableCell::createTableCellWithStyle(renderer.document(), render
er.style()); | 383 return RenderTableCell::createTableCellWithStyle(renderer.document(), render
er.style()); |
384 } | 384 } |
385 | 385 |
386 } // namespace WebCore | 386 } // namespace WebCore |
387 | 387 |
388 SPECIALIZE_TYPE_TRAITS_RENDER_OBJECT(RenderTableCell, isTableCell()) | 388 SPECIALIZE_TYPE_TRAITS_RENDER_OBJECT(RenderTableCell, isTableCell()) |
OLD | NEW |