| 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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 // a soft page or column break, rather than setting a pagination strut on it
self it normally | 233 // a soft page or column break, rather than setting a pagination strut on it
self it normally |
| 234 // propagates the strut to its containing block (|this|), as long as our imp
lementation can | 234 // propagates the strut to its containing block (|this|), as long as our imp
lementation can |
| 235 // handle it. The idea is that we want to push the entire object to the next
page or column | 235 // handle it. The idea is that we want to push the entire object to the next
page or column |
| 236 // along with the child content that caused the break, instead of leaving un
usable space at the | 236 // along with the child content that caused the break, instead of leaving un
usable space at the |
| 237 // beginning of the object at the end of one column or page and just push th
e first line or | 237 // beginning of the object at the end of one column or page and just push th
e first line or |
| 238 // block to the next column or page. That would waste space in the container
for no good | 238 // block to the next column or page. That would waste space in the container
for no good |
| 239 // reason, and it would also be a spec violation, since there is no break op
portunity defined | 239 // reason, and it would also be a spec violation, since there is no break op
portunity defined |
| 240 // between the content logical top of an object and its first child or line
(only *between* | 240 // between the content logical top of an object and its first child or line
(only *between* |
| 241 // blocks or lines). | 241 // blocks or lines). |
| 242 LayoutUnit paginationStrutPropagatedFromChild() const { return m_rareData ?
m_rareData->m_paginationStrutPropagatedFromChild : LayoutUnit(); } | 242 LayoutUnit paginationStrutPropagatedFromChild() const { return m_rareData ?
m_rareData->m_paginationStrutPropagatedFromChild : LayoutUnit(); } |
| 243 void setPaginationStrutPropagatedFromChild(LayoutUnit); | 243 virtual void setPaginationStrutPropagatedFromChild(LayoutUnit); |
| 244 | 244 |
| 245 void positionSpannerDescendant(LayoutMultiColumnSpannerPlaceholder& child); | 245 void positionSpannerDescendant(LayoutMultiColumnSpannerPlaceholder& child); |
| 246 | 246 |
| 247 bool avoidsFloats() const override; | 247 bool avoidsFloats() const override; |
| 248 | 248 |
| 249 using LayoutBoxModelObject::moveChildrenTo; | 249 using LayoutBoxModelObject::moveChildrenTo; |
| 250 void moveChildrenTo(LayoutBoxModelObject* toBoxModelObject, LayoutObject* st
artChild, LayoutObject* endChild, LayoutObject* beforeChild, bool fullRemoveInse
rt = false) override; | 250 void moveChildrenTo(LayoutBoxModelObject* toBoxModelObject, LayoutObject* st
artChild, LayoutObject* endChild, LayoutObject* beforeChild, bool fullRemoveInse
rt = false) override; |
| 251 | 251 |
| 252 LayoutUnit xPositionForFloatIncludingMargin(const FloatingObject& child) con
st | 252 LayoutUnit xPositionForFloatIncludingMargin(const FloatingObject& child) con
st |
| 253 { | 253 { |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 606 | 606 |
| 607 // END METHODS DEFINED IN LayoutBlockFlowLine | 607 // END METHODS DEFINED IN LayoutBlockFlowLine |
| 608 | 608 |
| 609 }; | 609 }; |
| 610 | 610 |
| 611 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); | 611 DEFINE_LAYOUT_OBJECT_TYPE_CASTS(LayoutBlockFlow, isLayoutBlockFlow()); |
| 612 | 612 |
| 613 } // namespace blink | 613 } // namespace blink |
| 614 | 614 |
| 615 #endif // LayoutBlockFlow_h | 615 #endif // LayoutBlockFlow_h |
| OLD | NEW |