OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 void clearDescendantsHaveSameLineHeightAndBaseline() | 293 void clearDescendantsHaveSameLineHeightAndBaseline() |
294 { | 294 { |
295 m_descendantsHaveSameLineHeightAndBaseline = false; | 295 m_descendantsHaveSameLineHeightAndBaseline = false; |
296 if (parent() && parent()->descendantsHaveSameLineHeightAndBaseline()) | 296 if (parent() && parent()->descendantsHaveSameLineHeightAndBaseline()) |
297 parent()->clearDescendantsHaveSameLineHeightAndBaseline(); | 297 parent()->clearDescendantsHaveSameLineHeightAndBaseline(); |
298 } | 298 } |
299 | 299 |
300 private: | 300 private: |
301 void addBoxShadowVisualOverflow(LayoutRect& logicalVisualOverflow); | 301 void addBoxShadowVisualOverflow(LayoutRect& logicalVisualOverflow); |
302 void addBorderOutsetVisualOverflow(LayoutRect& logicalVisualOverflow); | 302 void addBorderOutsetVisualOverflow(LayoutRect& logicalVisualOverflow); |
| 303 void addOutlineVisualOverflow(LayoutRect& logicalVisualOverflow); |
303 void addTextBoxVisualOverflow(InlineTextBox*, GlyphOverflowAndFallbackFontsM
ap&, LayoutRect& logicalVisualOverflow); | 304 void addTextBoxVisualOverflow(InlineTextBox*, GlyphOverflowAndFallbackFontsM
ap&, LayoutRect& logicalVisualOverflow); |
304 void addReplacedChildOverflow(const InlineBox*, LayoutRect& logicalLayoutOve
rflow, LayoutRect& logicalVisualOverflow); | 305 void addReplacedChildOverflow(const InlineBox*, LayoutRect& logicalLayoutOve
rflow, LayoutRect& logicalVisualOverflow); |
305 void constrainToLineTopAndBottomIfNeeded(LayoutRect&) const; | 306 void constrainToLineTopAndBottomIfNeeded(LayoutRect&) const; |
306 | 307 |
307 void setLayoutOverflow(const LayoutRect&, const LayoutRect&); | 308 void setLayoutOverflow(const LayoutRect&, const LayoutRect&); |
308 void setVisualOverflow(const LayoutRect&, const LayoutRect&); | 309 void setVisualOverflow(const LayoutRect&, const LayoutRect&); |
309 | 310 |
310 protected: | 311 protected: |
311 OwnPtr<RenderOverflow> m_overflow; | 312 OwnPtr<RenderOverflow> m_overflow; |
312 | 313 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 } | 368 } |
368 | 369 |
369 } // namespace WebCore | 370 } // namespace WebCore |
370 | 371 |
371 #ifndef NDEBUG | 372 #ifndef NDEBUG |
372 // Outside the WebCore namespace for ease of invocation from gdb. | 373 // Outside the WebCore namespace for ease of invocation from gdb. |
373 void showTree(const WebCore::InlineFlowBox*); | 374 void showTree(const WebCore::InlineFlowBox*); |
374 #endif | 375 #endif |
375 | 376 |
376 #endif // InlineFlowBox_h | 377 #endif // InlineFlowBox_h |
OLD | NEW |