| 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, 2006, 2007 Apple Inc. All rights reserved. | 4  * Copyright (C) 2003, 2006, 2007 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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 394 | 394 | 
| 395     virtual void updateLogicalWidth(); | 395     virtual void updateLogicalWidth(); | 
| 396     virtual void updateLogicalHeight(); | 396     virtual void updateLogicalHeight(); | 
| 397     virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
     alTop, LogicalExtentComputedValues&) const; | 397     virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logic
     alTop, LogicalExtentComputedValues&) const; | 
| 398 | 398 | 
| 399     RenderBoxRegionInfo* renderBoxRegionInfo(RenderRegion*, LayoutUnit offsetFro
     mLogicalTopOfFirstPage, RenderBoxRegionInfoFlags = CacheRenderBoxRegionInfo) con
     st; | 399     RenderBoxRegionInfo* renderBoxRegionInfo(RenderRegion*, LayoutUnit offsetFro
     mLogicalTopOfFirstPage, RenderBoxRegionInfoFlags = CacheRenderBoxRegionInfo) con
     st; | 
| 400     void computeLogicalWidthInRegion(LogicalExtentComputedValues&, RenderRegion*
      = 0, LayoutUnit offsetFromLogicalTopOfFirstPage = 0) const; | 400     void computeLogicalWidthInRegion(LogicalExtentComputedValues&, RenderRegion*
      = 0, LayoutUnit offsetFromLogicalTopOfFirstPage = 0) const; | 
| 401 | 401 | 
| 402     bool stretchesToViewport() const | 402     bool stretchesToViewport() const | 
| 403     { | 403     { | 
| 404         return document()->inQuirksMode() && style()->logicalHeight().isAuto() &
     & !isFloatingOrOutOfFlowPositioned() && (isRoot() || isBody()) && !document()->s
     houldDisplaySeamlesslyWithParent(); | 404         return document()->inQuirksMode() && style()->logicalHeight().isAuto() &
     & !isFloatingOrOutOfFlowPositioned() && (isRoot() || isBody()) && !document()->s
     houldDisplaySeamlesslyWithParent() && !isInline(); | 
| 405     } | 405     } | 
| 406 | 406 | 
| 407     virtual LayoutSize intrinsicSize() const { return LayoutSize(); } | 407     virtual LayoutSize intrinsicSize() const { return LayoutSize(); } | 
| 408     LayoutUnit intrinsicLogicalWidth() const { return style()->isHorizontalWriti
     ngMode() ? intrinsicSize().width() : intrinsicSize().height(); } | 408     LayoutUnit intrinsicLogicalWidth() const { return style()->isHorizontalWriti
     ngMode() ? intrinsicSize().width() : intrinsicSize().height(); } | 
| 409     LayoutUnit intrinsicLogicalHeight() const { return style()->isHorizontalWrit
     ingMode() ? intrinsicSize().height() : intrinsicSize().width(); } | 409     LayoutUnit intrinsicLogicalHeight() const { return style()->isHorizontalWrit
     ingMode() ? intrinsicSize().height() : intrinsicSize().width(); } | 
| 410 | 410 | 
| 411     // Whether or not the element shrinks to its intrinsic width (rather than fi
     lling the width | 411     // Whether or not the element shrinks to its intrinsic width (rather than fi
     lling the width | 
| 412     // of a containing block).  HTML4 buttons, <select>s, <input>s, legends, and
      floating/compact elements do this. | 412     // of a containing block).  HTML4 buttons, <select>s, <input>s, legends, and
      floating/compact elements do this. | 
| 413     bool sizesLogicalWidthToFitContent(SizeType) const; | 413     bool sizesLogicalWidthToFitContent(SizeType) const; | 
| 414     virtual bool stretchesToMinIntrinsicLogicalWidth() const { return false; } | 414     virtual bool stretchesToMinIntrinsicLogicalWidth() const { return false; } | 
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 727 } | 727 } | 
| 728 | 728 | 
| 729 inline RenderBox* RenderBox::lastChildBox() const | 729 inline RenderBox* RenderBox::lastChildBox() const | 
| 730 { | 730 { | 
| 731     return toRenderBox(lastChild()); | 731     return toRenderBox(lastChild()); | 
| 732 } | 732 } | 
| 733 | 733 | 
| 734 } // namespace WebCore | 734 } // namespace WebCore | 
| 735 | 735 | 
| 736 #endif // RenderBox_h | 736 #endif // RenderBox_h | 
| OLD | NEW | 
|---|