| 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 * (C) 2007 David Smith (catfish.man@gmail.com) | 4 * (C) 2007 David Smith (catfish.man@gmail.com) |
| 5 * Copyright (C) 2003-2013 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003-2013 Apple Inc. All rights reserved. |
| 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 7 * Copyright (C) 2013 Google Inc. All rights reserved. | 7 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 8 * | 8 * |
| 9 * Redistribution and use in source and binary forms, with or without | 9 * Redistribution and use in source and binary forms, with or without |
| 10 * modification, are permitted provided that the following conditions are | 10 * modification, are permitted provided that the following conditions are |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 // a soft page or column break, rather than setting a pagination strut on it
self it normally | 214 // a soft page or column break, rather than setting a pagination strut on it
self it normally |
| 215 // propagates the strut to its containing block (|this|), as long as our imp
lementation can | 215 // propagates the strut to its containing block (|this|), as long as our imp
lementation can |
| 216 // handle it. The idea is that we want to push the entire object to the next
page or column | 216 // handle it. The idea is that we want to push the entire object to the next
page or column |
| 217 // along with the child content that caused the break, instead of leaving un
usable space at the | 217 // along with the child content that caused the break, instead of leaving un
usable space at the |
| 218 // beginning of the object at the end of one column or page and just push th
e first line or | 218 // beginning of the object at the end of one column or page and just push th
e first line or |
| 219 // block to the next column or page. That would waste space in the container
for no good | 219 // block to the next column or page. That would waste space in the container
for no good |
| 220 // reason, and it would also be a spec violation, since there is no break op
portunity defined | 220 // reason, and it would also be a spec violation, since there is no break op
portunity defined |
| 221 // between the content logical top of an object and its first child or line
(only *between* | 221 // between the content logical top of an object and its first child or line
(only *between* |
| 222 // blocks or lines). | 222 // blocks or lines). |
| 223 LayoutUnit paginationStrutPropagatedFromChild() const { return m_rareData ?
m_rareData->m_paginationStrutPropagatedFromChild : LayoutUnit(); } | 223 LayoutUnit paginationStrutPropagatedFromChild() const { return m_rareData ?
m_rareData->m_paginationStrutPropagatedFromChild : LayoutUnit(); } |
| 224 void setPaginationStrutPropagatedFromChild(LayoutUnit); | 224 virtual void setPaginationStrutPropagatedFromChild(LayoutUnit); |
| 225 | 225 |
| 226 void positionSpannerDescendant(LayoutMultiColumnSpannerPlaceholder& child); | 226 void positionSpannerDescendant(LayoutMultiColumnSpannerPlaceholder& child); |
| 227 | 227 |
| 228 bool avoidsFloats() const override; | 228 bool avoidsFloats() const override; |
| 229 | 229 |
| 230 using LayoutBoxModelObject::moveChildrenTo; | 230 using LayoutBoxModelObject::moveChildrenTo; |
| 231 void moveChildrenTo(LayoutBoxModelObject* toBoxModelObject, LayoutObject* st
artChild, LayoutObject* endChild, LayoutObject* beforeChild, bool fullRemoveInse
rt = false) override; | 231 void moveChildrenTo(LayoutBoxModelObject* toBoxModelObject, LayoutObject* st
artChild, LayoutObject* endChild, LayoutObject* beforeChild, bool fullRemoveInse
rt = false) override; |
| 232 | 232 |
| 233 LayoutUnit xPositionForFloatIncludingMargin(const FloatingObject& child) con
st | 233 LayoutUnit xPositionForFloatIncludingMargin(const FloatingObject& child) con
st |
| 234 { | 234 { |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 589 | 589 |
| 590 // END METHODS DEFINED IN LayoutBlockFlowLine | 590 // END METHODS DEFINED IN LayoutBlockFlowLine |
| 591 | 591 |
| 592 }; | 592 }; |
| 593 | 593 |
| 594 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); | 594 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); |
| 595 | 595 |
| 596 } // namespace blink | 596 } // namespace blink |
| 597 | 597 |
| 598 #endif // LayoutBlockFlow_h | 598 #endif // LayoutBlockFlow_h |
| OLD | NEW |