Bug 124205

Summary: [CSS Regions] Float get sliced if its container has forced break and is less tall than float
Product: WebKit Reporter: Mihai Balan <mibalan>
Component: CSSAssignee: Radu Stavila <stavila>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, WebkitBugTracker
Priority: P2 Keywords: AdobeTracked
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 57312, 124706    
Attachments:
Description Flags
HTML file highlighting the problem
none
Patch containing layout test none

Description Mihai Balan 2013-11-12 07:56:58 PST
Created attachment 216675 [details]
HTML file highlighting the problem

When a float is taller than its container and overflowing it, setting a forced region break on the container will lead to the float being sliced instead of properly fragmented.

In the attached file, the lines of the float *must not* be sliced, yet they are.

The slicing does not occur if the breaks are unforced (e.g. first region is 30px tall).
Comment 1 Radu Stavila 2013-11-20 09:52:11 PST
Created attachment 217449 [details]
Patch containing layout test

This problem has been fixed by https://bugs.webkit.org/show_bug.cgi?id=118665. After that patch lands, this new test can be landed as well (the tests fail on the current implementation, without the 118665 patch).
Comment 2 WebKit Commit Bot 2013-11-21 07:41:12 PST
Comment on attachment 217449 [details]
Patch containing layout test

Clearing flags on attachment: 217449

Committed r159627: <http://trac.webkit.org/changeset/159627>
Comment 3 WebKit Commit Bot 2013-11-21 07:41:13 PST
All reviewed patches have been landed.  Closing bug.