Summary: | [CSS Regions] Regions don't paint correctly in new-multicol elements | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Rebecca Hauck <rhauck> | ||||||||||
Component: | CSS | Assignee: | Andrei Bucur <abucur> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | abucur, commit-queue, esprehn+autocc, glenn, kondapallykalyan, simon.fraser, WebkitBugTracker | ||||||||||
Priority: | P2 | Keywords: | AdobeTracked | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Bug Depends on: | |||||||||||||
Bug Blocks: | 53712 | ||||||||||||
Attachments: |
|
Description
Rebecca Hauck
2013-09-04 17:32:00 PDT
Created attachment 210525 [details]
test file for bug
Created attachment 210526 [details]
reference file for test
The problem here is that a multicolumn container with a definite size should produce overflow columns if there is more content inside it than would fit in the definite size. However, when the contents of the multicolumn container are regions, no overflow columns are generated *for the overflow* of the last region. That means that if the content in the last region will not overflow the region, overflow columns will be properly generated. In order to observe the latter behavior, just add to the `#region-3` element in the attached sample, the declaration: `height: 400px;` - this will lead to the expected result being produced. The test works with the old-multicol implementation. I'll investigate why it's not working with regions based multicol. Created attachment 224502 [details]
Patch
Comment on attachment 224502 [details]
Patch
r=me
Created attachment 224847 [details]
Patch for landing
Comment on attachment 224847 [details] Patch for landing Clearing flags on attachment: 224847 Committed r164481: <http://trac.webkit.org/changeset/164481> All reviewed patches have been landed. Closing bug. |