Changeset 164234 in webkit
- Timestamp:
- Feb 17, 2014 11:22:14 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r164232 r164234 1 2014-02-17 Radu Stavila <stavila@adobe.com> 2 3 [CSS Regions] Make regions unsplittable 4 https://bugs.webkit.org/show_bug.cgi?id=128811 5 6 Reviewed by David Hyatt. 7 8 Added test for checking that nested regions are unsplittable. 9 10 * fast/regions/unsplittable-nested-region-expected.html: Added. 11 * fast/regions/unsplittable-nested-region.html: Added. 12 1 13 2014-02-17 Simon Fraser <simon.fraser@apple.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r164232 r164234 1 2014-02-17 Radu Stavila <stavila@adobe.com> 2 3 [CSS Regions] Make regions unsplittable 4 https://bugs.webkit.org/show_bug.cgi?id=128811 5 6 Reviewed by David Hyatt. 7 8 At the moment, nested regions are not properly fragmented across regions. For the moment, 9 the regions will become unsplittable elements to avoid slicing. At a later time a proper 10 fragmentation algorithm should be written, also taking into consideration pagination strut. 11 12 Test: fast/regions/unsplittable-nested-region.html 13 14 * rendering/RenderBox.cpp: 15 (WebCore::RenderBox::isUnsplittableForPagination): 16 1 17 2014-02-17 Simon Fraser <simon.fraser@apple.com> 2 18 -
trunk/Source/WebCore/rendering/RenderBox.cpp
r164232 r164234 4413 4413 bool RenderBox::isUnsplittableForPagination() const 4414 4414 { 4415 return isReplaced() || hasUnsplittableScrollingOverflow() || (parent() && isWritingModeRoot()) ;4415 return isReplaced() || hasUnsplittableScrollingOverflow() || (parent() && isWritingModeRoot()) || isRenderNamedFlowFragmentContainer(); 4416 4416 } 4417 4417
Note: See TracChangeset
for help on using the changeset viewer.