Changeset 85011 in webkit


Ignore:
Timestamp:
Apr 26, 2011 9:33:16 PM (13 years ago)
Author:
leviw@chromium.org
Message:

2011-04-26 Levi Weintraub <leviw@chromium.org>

Reviewed by Eric Seidel.

Root element should establish a new block formatting context
https://bugs.webkit.org/show_bug.cgi?id=54573

Always expanding the root render object to enclose overhanging floats.

  • fast/backgrounds/size/contain-and-cover-expected.txt:
  • fast/block/float/float-overhangs-root.html: Added.
  • platform/mac/compositing/direct-image-compositing-expected.txt:
  • platform/mac/css2.1/t0905-c414-flt-00-d-expected.txt:
  • platform/mac/css2.1/t0905-c414-flt-01-d-g-expected.txt:
  • platform/mac/css2.1/t0905-c414-flt-02-c-expected.txt:
  • platform/mac/css2.1/t0905-c414-flt-03-c-expected.txt:
  • platform/mac/css2.1/t0905-c414-flt-04-c-expected.txt:
  • platform/mac/css2.1/t0905-c414-flt-wrap-01-d-g-expected.txt:
  • platform/mac/css2.1/t0905-c5525-fltcont-00-d-g-expected.txt:
  • platform/mac/css2.1/t0905-c5525-fltwidth-02-c-g-expected.txt:
  • platform/mac/css2.1/t0905-c5525-fltwidth-03-c-g-expected.txt:
  • platform/mac/css2.1/t090501-c414-flt-02-d-g-expected.txt:
  • platform/mac/css2.1/t090501-c414-flt-03-b-g-expected.txt:
  • platform/mac/fast/backgrounds/background-position-parsing-expected.txt:
  • platform/mac/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.txt:
  • platform/mac/fast/backgrounds/repeat/negative-offset-repeat-expected.txt:
  • platform/mac/fast/block/float/008-expected.txt:
  • platform/mac/fast/block/float/029-expected.txt:
  • platform/mac/fast/block/float/031-expected.txt:
  • platform/mac/fast/block/float/033-expected.txt:
  • platform/mac/fast/block/float/035-expected.txt:
  • platform/mac/fast/block/float/clamped-right-float-expected.txt:
  • platform/mac/fast/block/float/float-forced-below-other-floats-expected.txt:
  • platform/mac/fast/block/float/float-overhangs-root-expected.checksum: Added.
  • platform/mac/fast/block/float/float-overhangs-root-expected.png: Added.
  • platform/mac/fast/block/float/float-overhangs-root-expected.txt: Added.
  • platform/mac/fast/block/float/nested-clearance-expected.txt:
  • platform/mac/fast/block/margin-collapse/062-expected.txt:
  • platform/mac/fast/block/margin-collapse/063-expected.txt:
  • platform/mac/fast/blockflow/block-level-images-expected.txt:
  • platform/mac/fast/blockflow/floats-in-block-layout-expected.txt:
  • platform/mac/fast/borders/bidi-012-expected.txt:
  • platform/mac/fast/box-shadow/basic-shadows-expected.txt:
  • platform/mac/fast/css/color-correction-on-background-image-expected.txt:
  • platform/mac/fast/css/h1-in-section-elements-expected.txt:
  • platform/mac/fast/forms/basic-textareas-quirks-expected.txt:
  • platform/mac/fast/inline/inline-box-background-expected.txt:
  • platform/mac/fast/inline/inline-box-background-long-image-expected.txt:
  • platform/mac/fast/inline/inline-box-background-repeat-x-expected.txt:
  • platform/mac/fast/inline/inline-box-background-repeat-y-expected.txt:
  • platform/mac/fast/lists/003-expected.txt:
  • platform/mac/fast/lists/003-vertical-expected.txt:
  • platform/mac/fast/media/mq-relative-constraints-08-expected.txt:
  • platform/mac/fast/repaint/box-shadow-h-expected.txt:
  • platform/mac/fast/repaint/box-shadow-v-expected.txt:
  • platform/mac/fast/repaint/subtree-root-clip-expected.txt:
  • platform/mac/fast/text/emphasis-expected.txt:
  • platform/mac/fast/text/emphasis-vertical-expected.txt:
  • platform/mac/fast/text/whitespace/012-expected.txt:
  • platform/mac/tables/mozilla/bugs/bug120364-expected.txt:
  • platform/mac/tables/mozilla/bugs/bug45055-2-expected.txt:
  • platform/mac/tables/mozilla/bugs/bug72359-expected.txt:
  • platform/mac/tables/mozilla/marvin/x_table_align_left-expected.txt:
  • platform/mac/tables/mozilla/marvin/x_table_align_right-expected.txt:

2011-04-26 Levi Weintraub <leviw@chromium.org>

Reviewed by Eric Seidel.

Root element should establish a new block formatting context
https://bugs.webkit.org/show_bug.cgi?id=54573

Always expanding the root renderer to include overhanging floats.

Test: fast/block/float/float-overhangs-root.html

  • rendering/RenderBlock.cpp: (WebCore::RenderBlock::expandsToEncloseOverhangingFloats):
Location:
trunk
Files:
4 added
54 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r85009 r85011  
     12011-04-26  Levi Weintraub  <leviw@chromium.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Root element should establish a new block formatting context
     6        https://bugs.webkit.org/show_bug.cgi?id=54573
     7
     8        Always expanding the root render object to enclose overhanging floats.
     9
     10        * fast/backgrounds/size/contain-and-cover-expected.txt:
     11        * fast/block/float/float-overhangs-root.html: Added.
     12        * platform/mac/compositing/direct-image-compositing-expected.txt:
     13        * platform/mac/css2.1/t0905-c414-flt-00-d-expected.txt:
     14        * platform/mac/css2.1/t0905-c414-flt-01-d-g-expected.txt:
     15        * platform/mac/css2.1/t0905-c414-flt-02-c-expected.txt:
     16        * platform/mac/css2.1/t0905-c414-flt-03-c-expected.txt:
     17        * platform/mac/css2.1/t0905-c414-flt-04-c-expected.txt:
     18        * platform/mac/css2.1/t0905-c414-flt-wrap-01-d-g-expected.txt:
     19        * platform/mac/css2.1/t0905-c5525-fltcont-00-d-g-expected.txt:
     20        * platform/mac/css2.1/t0905-c5525-fltwidth-02-c-g-expected.txt:
     21        * platform/mac/css2.1/t0905-c5525-fltwidth-03-c-g-expected.txt:
     22        * platform/mac/css2.1/t090501-c414-flt-02-d-g-expected.txt:
     23        * platform/mac/css2.1/t090501-c414-flt-03-b-g-expected.txt:
     24        * platform/mac/fast/backgrounds/background-position-parsing-expected.txt:
     25        * platform/mac/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.txt:
     26        * platform/mac/fast/backgrounds/repeat/negative-offset-repeat-expected.txt:
     27        * platform/mac/fast/block/float/008-expected.txt:
     28        * platform/mac/fast/block/float/029-expected.txt:
     29        * platform/mac/fast/block/float/031-expected.txt:
     30        * platform/mac/fast/block/float/033-expected.txt:
     31        * platform/mac/fast/block/float/035-expected.txt:
     32        * platform/mac/fast/block/float/clamped-right-float-expected.txt:
     33        * platform/mac/fast/block/float/float-forced-below-other-floats-expected.txt:
     34        * platform/mac/fast/block/float/float-overhangs-root-expected.checksum: Added.
     35        * platform/mac/fast/block/float/float-overhangs-root-expected.png: Added.
     36        * platform/mac/fast/block/float/float-overhangs-root-expected.txt: Added.
     37        * platform/mac/fast/block/float/nested-clearance-expected.txt:
     38        * platform/mac/fast/block/margin-collapse/062-expected.txt:
     39        * platform/mac/fast/block/margin-collapse/063-expected.txt:
     40        * platform/mac/fast/blockflow/block-level-images-expected.txt:
     41        * platform/mac/fast/blockflow/floats-in-block-layout-expected.txt:
     42        * platform/mac/fast/borders/bidi-012-expected.txt:
     43        * platform/mac/fast/box-shadow/basic-shadows-expected.txt:
     44        * platform/mac/fast/css/color-correction-on-background-image-expected.txt:
     45        * platform/mac/fast/css/h1-in-section-elements-expected.txt:
     46        * platform/mac/fast/forms/basic-textareas-quirks-expected.txt:
     47        * platform/mac/fast/inline/inline-box-background-expected.txt:
     48        * platform/mac/fast/inline/inline-box-background-long-image-expected.txt:
     49        * platform/mac/fast/inline/inline-box-background-repeat-x-expected.txt:
     50        * platform/mac/fast/inline/inline-box-background-repeat-y-expected.txt:
     51        * platform/mac/fast/lists/003-expected.txt:
     52        * platform/mac/fast/lists/003-vertical-expected.txt:
     53        * platform/mac/fast/media/mq-relative-constraints-08-expected.txt:
     54        * platform/mac/fast/repaint/box-shadow-h-expected.txt:
     55        * platform/mac/fast/repaint/box-shadow-v-expected.txt:
     56        * platform/mac/fast/repaint/subtree-root-clip-expected.txt:
     57        * platform/mac/fast/text/emphasis-expected.txt:
     58        * platform/mac/fast/text/emphasis-vertical-expected.txt:
     59        * platform/mac/fast/text/whitespace/012-expected.txt:
     60        * platform/mac/tables/mozilla/bugs/bug120364-expected.txt:
     61        * platform/mac/tables/mozilla/bugs/bug45055-2-expected.txt:
     62        * platform/mac/tables/mozilla/bugs/bug72359-expected.txt:
     63        * platform/mac/tables/mozilla/marvin/x_table_align_left-expected.txt:
     64        * platform/mac/tables/mozilla/marvin/x_table_align_right-expected.txt:
     65
    1662011-04-26  Dawit Alemayehu  <adawit@kde.org>
    267
  • trunk/LayoutTests/fast/backgrounds/size/contain-and-cover-expected.txt

    r73385 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x0
    4   RenderBlock {HTML} at (0,0) size 800x0
     3layer at (0,0) size 800x600
     4  RenderBlock {HTML} at (0,0) size 800x600
    55    RenderBody {BODY} at (0,0) size 800x0
    66      RenderBlock (floating) {DIV} at (2,2) size 396x146 [bgcolor=#ADD8E6] [border: (3px solid #000000)]
  • trunk/LayoutTests/platform/mac/compositing/direct-image-compositing-expected.txt

    r73385 r85011  
    11layer at (0,0) size 785x749
    22  RenderView at (0,0) size 785x600
    3 layer at (0,0) size 785x149
    4   RenderBlock {HTML} at (0,0) size 785x149
     3layer at (0,0) size 785x749
     4  RenderBlock {HTML} at (0,0) size 785x749
    55    RenderBody {BODY} at (8,21) size 769x112
    66      RenderBlock {H1} at (0,0) size 769x37
  • trunk/LayoutTests/platform/mac/css2.1/t0905-c414-flt-00-d-expected.txt

    r73385 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x134
    4   RenderBlock {HTML} at (0,0) size 800x134
     3layer at (0,0) size 800x170
     4  RenderBlock {HTML} at (0,0) size 800x170
    55    RenderBody {BODY} at (8,16) size 784x102
    66      RenderBlock {P} at (0,0) size 784x18 [color=#000080]
  • trunk/LayoutTests/platform/mac/css2.1/t0905-c414-flt-01-d-g-expected.txt

    r73385 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x130
    4   RenderBlock {HTML} at (0,0) size 800x130
     3layer at (0,0) size 800x162
     4  RenderBlock {HTML} at (0,0) size 800x162
    55    RenderBody {BODY} at (8,16) size 784x98
    66      RenderBlock {P} at (0,0) size 784x18 [color=#000080]
  • trunk/LayoutTests/platform/mac/css2.1/t0905-c414-flt-02-c-expected.txt

    r73993 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x68
    4   RenderBlock {HTML} at (0,0) size 800x68
     3layer at (0,0) size 800x298
     4  RenderBlock {HTML} at (0,0) size 800x298
    55    RenderBody {BODY} at (8,16) size 784x36
    66      RenderBlock {P} at (0,0) size 784x36 [color=#000080]
  • trunk/LayoutTests/platform/mac/css2.1/t0905-c414-flt-03-c-expected.txt

    r73993 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x68
    4   RenderBlock {HTML} at (0,0) size 800x68
     3layer at (0,0) size 800x298
     4  RenderBlock {HTML} at (0,0) size 800x298
    55    RenderBody {BODY} at (8,16) size 784x36
    66      RenderBlock {P} at (0,0) size 784x36 [color=#000080]
  • trunk/LayoutTests/platform/mac/css2.1/t0905-c414-flt-04-c-expected.txt

    r73993 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x68
    4   RenderBlock {HTML} at (0,0) size 800x68
     3layer at (0,0) size 800x390
     4  RenderBlock {HTML} at (0,0) size 800x390
    55    RenderBody {BODY} at (8,16) size 784x36
    66      RenderBlock {P} at (0,0) size 784x36 [color=#000080]
  • trunk/LayoutTests/platform/mac/css2.1/t0905-c414-flt-wrap-01-d-g-expected.txt

    r73385 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x156
    4   RenderBlock {HTML} at (0,0) size 800x156
     3layer at (0,0) size 800x163
     4  RenderBlock {HTML} at (0,0) size 800x163
    55    RenderBody {BODY} at (8,16) size 784x124
    66      RenderBlock {P} at (0,0) size 784x18 [color=#000080]
  • trunk/LayoutTests/platform/mac/css2.1/t0905-c5525-fltcont-00-d-g-expected.txt

    r78910 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x8
    4   RenderBlock {HTML} at (0,0) size 800x8
     3layer at (0,0) size 800x266
     4  RenderBlock {HTML} at (0,0) size 800x266
    55    RenderBody {BODY} at (8,8) size 784x0
    66      RenderBlock (floating) {DIV} at (0,0) size 588x258 [color=#FFFFFF] [bgcolor=#000080]
  • trunk/LayoutTests/platform/mac/css2.1/t0905-c5525-fltwidth-02-c-g-expected.txt

    r73993 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x34
    4   RenderBlock {HTML} at (0,0) size 800x34
     3layer at (0,0) size 800x61
     4  RenderBlock {HTML} at (0,0) size 800x61
    55    RenderBody {BODY} at (8,8) size 784x18
    66      RenderBlock {DIV} at (0,0) size 784x18
  • trunk/LayoutTests/platform/mac/css2.1/t0905-c5525-fltwidth-03-c-g-expected.txt

    r73993 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x34
    4   RenderBlock {HTML} at (0,0) size 800x34
     3layer at (0,0) size 800x50
     4  RenderBlock {HTML} at (0,0) size 800x50
    55    RenderBody {BODY} at (8,8) size 784x18
    66      RenderBlock {DIV} at (0,0) size 784x18
  • trunk/LayoutTests/platform/mac/css2.1/t090501-c414-flt-02-d-g-expected.txt

    r73385 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x154
    4   RenderBlock {HTML} at (0,0) size 800x154
     3layer at (0,0) size 800x218
     4  RenderBlock {HTML} at (0,0) size 800x218
    55    RenderBody {BODY} at (8,16) size 784x122
    66      RenderBlock {P} at (0,0) size 784x18 [color=#000080]
  • trunk/LayoutTests/platform/mac/css2.1/t090501-c414-flt-03-b-g-expected.txt

    r73993 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x160
    4   RenderBlock {HTML} at (0,0) size 800x160
     3layer at (0,0) size 800x242
     4  RenderBlock {HTML} at (0,0) size 800x242
    55    RenderBody {BODY} at (8,16) size 784x128
    66      RenderBlock {P} at (0,0) size 784x42 [color=#000080]
  • trunk/LayoutTests/platform/mac/fast/backgrounds/background-position-parsing-expected.txt

    r80868 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x50
    4   RenderBlock {HTML} at (0,0) size 800x50
     3layer at (0,0) size 800x398
     4  RenderBlock {HTML} at (0,0) size 800x398
    55    RenderBody {BODY} at (8,16) size 784x18
    66      RenderBlock {P} at (0,0) size 784x18
  • trunk/LayoutTests/platform/mac/fast/backgrounds/repeat/mask-negative-offset-repeat-expected.txt

    r32414 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x502
    4   RenderBlock {HTML} at (0,0) size 800x502
     3layer at (0,0) size 800x548
     4  RenderBlock {HTML} at (0,0) size 800x548
    55    RenderBody {BODY} at (8,16) size 784x470
    66      RenderBlock {P} at (0,0) size 784x36
  • trunk/LayoutTests/platform/mac/fast/backgrounds/repeat/negative-offset-repeat-expected.txt

    r73385 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x484
    4   RenderBlock {HTML} at (0,0) size 800x484
     3layer at (0,0) size 800x530
     4  RenderBlock {HTML} at (0,0) size 800x530
    55    RenderBody {BODY} at (8,16) size 784x452
    66      RenderBlock {P} at (0,0) size 784x18
  • trunk/LayoutTests/platform/mac/fast/block/float/008-expected.txt

    r73385 r85011  
    11layer at (0,0) size 785x608
    22  RenderView at (0,0) size 785x600
    3 layer at (0,0) size 785x600
    4   RenderBlock {HTML} at (0,0) size 785x600
     3layer at (0,0) size 785x608
     4  RenderBlock {HTML} at (0,0) size 785x608
    55    RenderBody {BODY} at (8,8) size 769x300
    66      RenderBlock (floating) {DIV} at (0,0) size 769x100 [bgcolor=#008000]
  • trunk/LayoutTests/platform/mac/fast/block/float/029-expected.txt

    r73385 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x54
    4   RenderBlock {HTML} at (0,0) size 800x54
     3layer at (0,0) size 800x166
     4  RenderBlock {HTML} at (0,0) size 800x166
    55    RenderBody {BODY} at (8,8) size 784x38
    66      RenderBlock (floating) {DIV} at (532,0) size 252x102 [border: (1px solid #FF0000)]
  • trunk/LayoutTests/platform/mac/fast/block/float/031-expected.txt

    r73385 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x300
    4   RenderBlock {HTML} at (0,0) size 800x300
     3layer at (0,0) size 800x332
     4  RenderBlock {HTML} at (0,0) size 800x332
    55    RenderBody {BODY} at (8,8) size 784x284
    66      RenderBlock {P} at (0,0) size 784x50
  • trunk/LayoutTests/platform/mac/fast/block/float/033-expected.txt

    r73385 r85011  
    11layer at (0,0) size 785x2008
    22  RenderView at (0,0) size 785x600
    3 layer at (0,0) size 785x600
    4   RenderBlock {HTML} at (0,0) size 785x600
     3layer at (0,0) size 785x2008
     4  RenderBlock {HTML} at (0,0) size 785x2008
    55    RenderBody {BODY} at (8,8) size 769x584
    66layer at (477,8) size 300x2000
  • trunk/LayoutTests/platform/mac/fast/block/float/035-expected.txt

    r73385 r85011  
    11layer at (0,0) size 785x828
    22  RenderView at (0,0) size 785x600
    3 layer at (0,0) size 785x600
    4   RenderBlock {HTML} at (0,0) size 785x600
     3layer at (0,0) size 785x828
     4  RenderBlock {HTML} at (0,0) size 785x828
    55    RenderBody {BODY} at (8,8) size 769x584
    66      RenderBlock (floating) {DIV} at (0,0) size 673x820 [border: (10px solid #0000FF)]
  • trunk/LayoutTests/platform/mac/fast/block/float/clamped-right-float-expected.txt

    r73385 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x8
    4   RenderBlock {HTML} at (0,0) size 800x8
     3layer at (0,0) size 800x108
     4  RenderBlock {HTML} at (0,0) size 800x108
    55    RenderBody {BODY} at (8,8) size 784x0
    66      RenderBlock (floating) {DIV} at (-4216,0) size 5000x100 [bgcolor=#66EEAA]
  • trunk/LayoutTests/platform/mac/fast/block/float/float-forced-below-other-floats-expected.txt

    r82333 r85011  
    11layer at (0,0) size 943x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x8
    4   RenderBlock {HTML} at (0,0) size 800x8
     3layer at (0,0) size 800x528
     4  RenderBlock {HTML} at (0,0) size 800x528
    55    RenderBody {BODY} at (8,8) size 784x0
    66      RenderBlock {DIV} at (0,0) size 935x0
  • trunk/LayoutTests/platform/mac/fast/block/float/nested-clearance-expected.txt

    r73385 r85011  
    11layer at (0,0) size 785x1504
    22  RenderView at (0,0) size 785x600
    3 layer at (0,0) size 785x1444
    4   RenderBlock {HTML} at (0,0) size 785x1444
     3layer at (0,0) size 785x1504
     4  RenderBlock {HTML} at (0,0) size 785x1504
    55    RenderBody {BODY} at (8,8) size 769x1428
    66      RenderBlock (floating) {DIV} at (0,0) size 64x68
  • trunk/LayoutTests/platform/mac/fast/block/margin-collapse/062-expected.txt

    r73385 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x46 layerType: background only
     3layer at (0,0) size 800x110 layerType: background only
    44layer at (10,46) size 320x64
    55  RenderBlock (positioned) zI: -1 {DIV} at (10,46) size 320x64 [color=#FFFF00] [bgcolor=#FF0000]
    66    RenderText zI: -1 {#text} at (0,0) size 36x18
    77      text run at (0,0) width 36: "FAIL"
    8 layer at (0,0) size 800x46 layerType: foreground only
    9   RenderBlock {HTML} at (0,0) size 800x46
     8layer at (0,0) size 800x110 layerType: foreground only
     9  RenderBlock {HTML} at (0,0) size 800x110
    1010    RenderBody {BODY} at (10,46) size 780x0
    1111      RenderBlock {DIV} at (2,0) size 776x0
  • trunk/LayoutTests/platform/mac/fast/block/margin-collapse/063-expected.txt

    r73385 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x49 layerType: background only
     3layer at (0,0) size 800x77 layerType: background only
    44layer at (10,13) size 320x64
    55  RenderBlock (positioned) zI: -1 {DIV} at (10,13) size 320x64 [color=#FFFF00] [bgcolor=#FF0000]
    66    RenderText zI: -1 {#text} at (0,0) size 36x18
    77      text run at (0,0) width 36: "FAIL"
    8 layer at (0,0) size 800x49 layerType: foreground only
    9   RenderBlock {HTML} at (0,0) size 800x49
     8layer at (0,0) size 800x77 layerType: foreground only
     9  RenderBlock {HTML} at (0,0) size 800x77
    1010    RenderBody {BODY} at (10,2) size 780x1
    1111      RenderBlock {DIV} at (2,0) size 776x1
  • trunk/LayoutTests/platform/mac/fast/blockflow/block-level-images-expected.txt

    r73385 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x8
    4   RenderBlock {HTML} at (0,0) size 800x8
     3layer at (0,0) size 800x316
     4  RenderBlock {HTML} at (0,0) size 800x316
    55    RenderBody {BODY} at (8,8) size 784x0
    66      RenderBlock (floating) {DIV} at (2,2) size 264x304 [border: (2px solid #000000)]
  • trunk/LayoutTests/platform/mac/fast/blockflow/floats-in-block-layout-expected.txt

    r73385 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 116x600
    4   RenderBlock {HTML} at (0,0) size 116x600
     3layer at (0,0) size 308x600
     4  RenderBlock {HTML} at (0,0) size 308x600
    55    RenderBody {BODY} at (8,8) size 100x584
    66      RenderBlock {DIV} at (0,0) size 100x584 [bgcolor=#FFFF00]
  • trunk/LayoutTests/platform/mac/fast/borders/bidi-012-expected.txt

    r84398 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x51
    4   RenderBlock {HTML} at (0,0) size 800x51
     3layer at (0,0) size 800x447
     4  RenderBlock {HTML} at (0,0) size 800x447
    55    RenderBody {BODY} at (8,16) size 784x19
    66      RenderBlock {P} at (0,0) size 784x19
  • trunk/LayoutTests/platform/mac/fast/box-shadow/basic-shadows-expected.txt

    r73385 r85011  
    11layer at (0,0) size 785x671
    22  RenderView at (0,0) size 785x600
    3 layer at (0,0) size 785x658
    4   RenderBlock {HTML} at (0,0) size 785x658
     3layer at (0,0) size 785x671
     4  RenderBlock {HTML} at (0,0) size 785x671
    55    RenderBody {BODY} at (8,8) size 769x634
    66      RenderBlock (anonymous) at (0,0) size 769x150
  • trunk/LayoutTests/platform/mac/fast/css/color-correction-on-background-image-expected.txt

    r73385 r85011  
    11layer at (0,0) size 785x860
    22  RenderView at (0,0) size 785x600
    3 layer at (0,0) size 785x600
    4   RenderBlock {HTML} at (0,0) size 785x600
     3layer at (0,0) size 785x860
     4  RenderBlock {HTML} at (0,0) size 785x860
    55    RenderBody {BODY} at (8,8) size 769x576
    66      RenderBlock {P} at (0,0) size 769x36
  • trunk/LayoutTests/platform/mac/fast/css/h1-in-section-elements-expected.txt

    r82400 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x210
    4   RenderBlock {HTML} at (0,0) size 800x210
     3layer at (0,0) size 800x406
     4  RenderBlock {HTML} at (0,0) size 800x406
    55    RenderBody {BODY} at (8,16) size 784x186
    66      RenderBlock {P} at (0,0) size 784x18
  • trunk/LayoutTests/platform/mac/fast/forms/basic-textareas-quirks-expected.txt

    r78884 r85011  
    11layer at (0,0) size 785x1050
    22  RenderView at (0,0) size 785x600
    3 layer at (0,0) size 785x600
    4   RenderBlock {HTML} at (0,0) size 785x600
     3layer at (0,0) size 785x1050
     4  RenderBlock {HTML} at (0,0) size 785x1050
    55    RenderBody {BODY} at (8,8) size 769x584
    66      RenderBlock (floating) {DIV} at (0,0) size 352x817 [border: (1px solid #FF0000)]
  • trunk/LayoutTests/platform/mac/fast/inline/inline-box-background-expected.txt

    r78898 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x400
    4   RenderBlock {HTML} at (0,0) size 800x400
     3layer at (0,0) size 800x556
     4  RenderBlock {HTML} at (0,0) size 800x556
    55    RenderBody {BODY} at (8,21) size 784x360
    66      RenderBlock {H1} at (0,0) size 784x37 [color=#990000]
  • trunk/LayoutTests/platform/mac/fast/inline/inline-box-background-long-image-expected.txt

    r78898 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x400
    4   RenderBlock {HTML} at (0,0) size 800x400
     3layer at (0,0) size 800x556
     4  RenderBlock {HTML} at (0,0) size 800x556
    55    RenderBody {BODY} at (8,21) size 784x360
    66      RenderBlock {H1} at (0,0) size 784x37 [color=#990000]
  • trunk/LayoutTests/platform/mac/fast/inline/inline-box-background-repeat-x-expected.txt

    r78898 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x400
    4   RenderBlock {HTML} at (0,0) size 800x400
     3layer at (0,0) size 800x556
     4  RenderBlock {HTML} at (0,0) size 800x556
    55    RenderBody {BODY} at (8,21) size 784x360
    66      RenderBlock {H1} at (0,0) size 784x37 [color=#990000]
  • trunk/LayoutTests/platform/mac/fast/inline/inline-box-background-repeat-y-expected.txt

    r78898 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x400
    4   RenderBlock {HTML} at (0,0) size 800x400
     3layer at (0,0) size 800x556
     4  RenderBlock {HTML} at (0,0) size 800x556
    55    RenderBody {BODY} at (8,21) size 784x360
    66      RenderBlock {H1} at (0,0) size 784x37 [color=#990000]
  • trunk/LayoutTests/platform/mac/fast/lists/003-expected.txt

    r73385 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x334
    4   RenderBlock {HTML} at (0,0) size 800x334
     3layer at (0,0) size 800x350
     4  RenderBlock {HTML} at (0,0) size 800x350
    55    RenderBody {BODY} at (8,16) size 784x302
    66      RenderBlock (floating) {DIV} at (0,0) size 470x334
  • trunk/LayoutTests/platform/mac/fast/lists/003-vertical-expected.txt

    r80648 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 334x600
    4   RenderBlock {HTML} at (0,0) size 334x600
     3layer at (0,0) size 458x600
     4  RenderBlock {HTML} at (0,0) size 458x600
    55    RenderBody {BODY} at (16,8) size 302x584
    66      RenderBlock (floating) {DIV} at (0,0) size 442x350
  • trunk/LayoutTests/platform/mac/fast/media/mq-relative-constraints-08-expected.txt

    r80755 r85011  
    11layer at (0,0) size 785x642
    22  RenderView at (0,0) size 785x600
    3 layer at (0,0) size 785x600
    4   RenderBlock {HTML} at (0,0) size 785x600
     3layer at (0,0) size 785x642
     4  RenderBlock {HTML} at (0,0) size 785x642
    55    RenderBody {BODY} at (8,8) size 769x576
    66      RenderBlock {P} at (0,0) size 769x18 [color=#008000]
  • trunk/LayoutTests/platform/mac/fast/repaint/box-shadow-h-expected.txt

    r73385 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x8
    4   RenderBlock {HTML} at (0,0) size 800x8
     3layer at (0,0) size 800x514
     4  RenderBlock {HTML} at (0,0) size 800x514
    55    RenderBody {BODY} at (8,8) size 784x0
    66      RenderBlock (floating) {DIV} at (0,0) size 121x506
  • trunk/LayoutTests/platform/mac/fast/repaint/box-shadow-v-expected.txt

    r73385 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x8
    4   RenderBlock {HTML} at (0,0) size 800x8
     3layer at (0,0) size 800x514
     4  RenderBlock {HTML} at (0,0) size 800x514
    55    RenderBody {BODY} at (8,8) size 784x0
    66      RenderBlock (floating) {DIV} at (0,0) size 121x506
  • trunk/LayoutTests/platform/mac/fast/repaint/subtree-root-clip-expected.txt

    r73385 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x8
    4   RenderBlock {HTML} at (0,0) size 800x8
     3layer at (0,0) size 800x108
     4  RenderBlock {HTML} at (0,0) size 800x108
    55    RenderBody {BODY} at (8,8) size 784x0
    66layer at (8,8) size 100x100
  • trunk/LayoutTests/platform/mac/fast/text/emphasis-expected.txt

    r74281 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x8
    4   RenderBlock {HTML} at (0,0) size 800x8
     3layer at (0,0) size 800x562
     4  RenderBlock {HTML} at (0,0) size 800x562
    55    RenderBody {BODY} at (8,8) size 784x0
    66      RenderBlock (floating) {DIV} at (8,8) size 366x146 [border: (3px solid #000000)]
  • trunk/LayoutTests/platform/mac/fast/text/emphasis-vertical-expected.txt

    r78868 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (792,0) size 8x600
    4   RenderBlock {HTML} at (0,0) size 8x600
     3layer at (75,0) size 725x600
     4  RenderBlock {HTML} at (0,0) size 725x600
    55    RenderBody {BODY} at (8,8) size 0x584
    66      RenderBlock (floating) {DIV} at (8,8) size 154x366 [border: (3px solid #000000)]
  • trunk/LayoutTests/platform/mac/fast/text/whitespace/012-expected.txt

    r73385 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x76
    4   RenderBlock {HTML} at (0,0) size 800x76
     3layer at (0,0) size 800x172
     4  RenderBlock {HTML} at (0,0) size 800x172
    55    RenderBody {BODY} at (8,8) size 784x52
    66      RenderBlock (anonymous) at (0,0) size 784x18
  • trunk/LayoutTests/platform/mac/tables/mozilla/bugs/bug120364-expected.txt

    r73385 r85011  
    11layer at (0,0) size 785x1813
    22  RenderView at (0,0) size 785x600
    3 layer at (0,0) size 785x600
    4   RenderBlock {HTML} at (0,0) size 785x600
     3layer at (0,0) size 785x1813
     4  RenderBlock {HTML} at (0,0) size 785x1813
    55    RenderBody {BODY} at (8,8) size 769x584
    66      RenderText {#text} at (0,0) size 21x18
  • trunk/LayoutTests/platform/mac/tables/mozilla/bugs/bug45055-2-expected.txt

    r73385 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x8
    4   RenderBlock {HTML} at (0,0) size 800x8
     3layer at (0,0) size 800x136
     4  RenderBlock {HTML} at (0,0) size 800x136
    55    RenderBody {BODY} at (8,8) size 784x0 [bgcolor=#FFFFFF]
    66      RenderTable {TABLE} at (0,0) size 86x123
  • trunk/LayoutTests/platform/mac/tables/mozilla/bugs/bug72359-expected.txt

    r78910 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x8
    4   RenderBlock {html} at (0,0) size 800x8
     3layer at (0,0) size 800x62
     4  RenderBlock {html} at (0,0) size 800x62
    55    RenderBody {body} at (8,8) size 784x0
    66      RenderBlock (floating) {float} at (0,0) size 157x54 [bgcolor=#FF0000]
  • trunk/LayoutTests/platform/mac/tables/mozilla/marvin/x_table_align_left-expected.txt

    r73385 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x8
    4   RenderBlock {html} at (0,0) size 800x8
     3layer at (0,0) size 800x36
     4  RenderBlock {html} at (0,0) size 800x36
    55    RenderBody {body} at (8,8) size 784x0
    66      RenderTable {table} at (0,0) size 288x28 [border: (1px outset #808080)]
  • trunk/LayoutTests/platform/mac/tables/mozilla/marvin/x_table_align_right-expected.txt

    r73385 r85011  
    11layer at (0,0) size 800x600
    22  RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x8
    4   RenderBlock {html} at (0,0) size 800x8
     3layer at (0,0) size 800x36
     4  RenderBlock {html} at (0,0) size 800x36
    55    RenderBody {body} at (8,8) size 784x0
    66      RenderTable {table} at (487,0) size 297x28 [border: (1px outset #808080)]
  • trunk/Source/WebCore/ChangeLog

    r85009 r85011  
     12011-04-26  Levi Weintraub  <leviw@chromium.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        Root element should establish a new block formatting context
     6        https://bugs.webkit.org/show_bug.cgi?id=54573
     7
     8        Always expanding the root renderer to include overhanging floats.
     9
     10        Test: fast/block/float/float-overhangs-root.html
     11
     12        * rendering/RenderBlock.cpp:
     13        (WebCore::RenderBlock::expandsToEncloseOverhangingFloats):
     14
    1152011-04-26  Dawit Alemayehu  <adawit@kde.org>
    216
  • trunk/Source/WebCore/rendering/RenderBlock.cpp

    r84815 r85011  
    14151415{
    14161416    return isInlineBlockOrInlineTable() || isFloatingOrPositioned() || hasOverflowClip() || (parent() && parent()->isFlexibleBox())
    1417            || hasColumns() || isTableCell() || isFieldset() || isWritingModeRoot();
     1417           || hasColumns() || isTableCell() || isFieldset() || isWritingModeRoot() || isRoot();
    14181418}
    14191419
Note: See TracChangeset for help on using the changeset viewer.