Changeset 48679 in webkit


Ignore:
Timestamp:
Sep 23, 2009 9:53:01 AM (15 years ago)
Author:
hyatt@apple.com
Message:

https://bugs.webkit.org/show_bug.cgi?id=29657
Columns don't break properly in positioned elements with a fixed height. Make sure that
a block is still considered to have columns even when the column count is 1 if the column
width is non-auto.

Reviewed by John Sullivan.

Added fast/multicol/positioned-with-constrained-height.html

WebCore:

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::setDesiredColumnCountAndWidth):

LayoutTests:

  • fast/multicol/positioned-with-constrained-height.html: Added.
  • platform/mac/fast/multicol/float-multicol-expected.txt:
  • platform/mac/fast/multicol/positioned-with-constrained-height-expected.checksum: Added.
  • platform/mac/fast/multicol/positioned-with-constrained-height-expected.png: Added.
  • platform/mac/fast/multicol/positioned-with-constrained-height-expected.txt: Added.
Location:
trunk
Files:
4 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r48677 r48679  
     12009-09-23  Dave Hyatt  <hyatt@apple.com>
     2
     3        Reviewed by John Sullivan.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=29657
     6        Columns don't break properly in positioned elements with a fixed height.  Make sure that
     7        a block is still considered to have columns even when the column count is 1 if the column
     8        width is non-auto.
     9   
     10        Added fast/multicol/positioned-with-constrained-height.html
     11
     12        * fast/multicol/positioned-with-constrained-height.html: Added.
     13        * platform/mac/fast/multicol/float-multicol-expected.txt:
     14        * platform/mac/fast/multicol/positioned-with-constrained-height-expected.checksum: Added.
     15        * platform/mac/fast/multicol/positioned-with-constrained-height-expected.png: Added.
     16        * platform/mac/fast/multicol/positioned-with-constrained-height-expected.txt: Added.
     17
    1182009-09-23  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
    219
  • trunk/LayoutTests/platform/mac/fast/multicol/float-multicol-expected.txt

    r30635 r48679  
    1 layer at (0,0) size 785x794
     1layer at (0,0) size 785x810
    22  RenderView at (0,0) size 785x600
    3 layer at (0,0) size 785x794
    4   RenderBlock {HTML} at (0,0) size 785x670
    5     RenderBody {BODY} at (8,19) size 769x635
     3layer at (0,0) size 785x810
     4  RenderBlock {HTML} at (0,0) size 785x810
     5    RenderBody {BODY} at (8,19) size 769x775
    66      RenderBlock {DIV} at (0,0) size 769x28 [bgcolor=#00FFFF]
    77        RenderBlock (floating) {DIV} at (4,4) size 384x462 [bgcolor=#FFFF00]
  • trunk/WebCore/ChangeLog

    r48678 r48679  
     12009-09-22  Dave Hyatt  <hyatt@apple.com>
     2
     3        Reviewed by John Sullivan.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=29657
     6        Columns don't break properly in positioned elements with a fixed height.  Make sure that
     7        a block is still considered to have columns even when the column count is 1 if the column
     8        width is non-auto.
     9   
     10        Added fast/multicol/positioned-with-constrained-height.html
     11
     12        * rendering/RenderBlock.cpp:
     13        (WebCore::RenderBlock::setDesiredColumnCountAndWidth):
     14
    1152009-09-23  Holger Hans Peter Freyther  <zecke@selfish.org>
    216
  • trunk/WebCore/rendering/RenderBlock.cpp

    r47678 r48679  
    35603560void RenderBlock::setDesiredColumnCountAndWidth(int count, int width)
    35613561{
    3562     if (count == 1) {
     3562    if (count == 1 && style()->hasAutoColumnWidth()) {
    35633563        if (hasColumns()) {
    35643564            delete gColumnInfoMap->take(this);
Note: See TracChangeset for help on using the changeset viewer.