Changeset 124697 in webkit


Ignore:
Timestamp:
Aug 4, 2012 2:59:30 AM (12 years ago)
Author:
robert@webkit.org
Message:

CSS 2.1 failure: overflow-applies-to-001 fails
https://bugs.webkit.org/show_bug.cgi?id=93148

Reviewed by Eric Seidel.

Source/WebCore:

Overflow no longer applies to table-rows or table-row-groups, it only applies
to block containers: http://www.w3.org/TR/CSS21/visufx.html#overflow

Tests: css2.1/20110323/overflow-applies-to-001.htm

css2.1/20110323/overflow-applies-to-002.htm
css2.1/20110323/overflow-applies-to-003.htm
css2.1/20110323/overflow-applies-to-004.htm
css2.1/20110323/overflow-applies-to-005.htm
css2.1/20110323/overflow-applies-to-006.htm
css2.1/20110323/overflow-applies-to-007.htm
css2.1/20110323/overflow-applies-to-008.htm
css2.1/20110323/overflow-applies-to-009.htm
css2.1/20110323/overflow-applies-to-010.htm
css2.1/20110323/overflow-applies-to-012.htm
css2.1/20110323/overflow-applies-to-013.htm
css2.1/20110323/overflow-applies-to-014.htm
css2.1/20110323/overflow-applies-to-015.htm

  • rendering/RenderBox.cpp:

(WebCore::RenderBox::updateBoxModelInfoFromStyle):

LayoutTests:

  • css2.1/20110323/overflow-applies-to-001-expected.html: Added.
  • css2.1/20110323/overflow-applies-to-001.htm: Added.
  • css2.1/20110323/overflow-applies-to-002-expected.html: Added.
  • css2.1/20110323/overflow-applies-to-002.htm: Added.
  • css2.1/20110323/overflow-applies-to-003-expected.html: Added.
  • css2.1/20110323/overflow-applies-to-003.htm: Added.
  • css2.1/20110323/overflow-applies-to-004-expected.html: Added.
  • css2.1/20110323/overflow-applies-to-004.htm: Added.
  • css2.1/20110323/overflow-applies-to-005-expected.html: Added.
  • css2.1/20110323/overflow-applies-to-005.htm: Added.
  • css2.1/20110323/overflow-applies-to-006-expected.html: Added.
  • css2.1/20110323/overflow-applies-to-006.htm: Added.
  • css2.1/20110323/overflow-applies-to-007-expected.html: Added.
  • css2.1/20110323/overflow-applies-to-007.htm: Added.
  • css2.1/20110323/overflow-applies-to-008-expected.html: Added.
  • css2.1/20110323/overflow-applies-to-008.htm: Added.
  • css2.1/20110323/overflow-applies-to-009-expected.html: Added.
  • css2.1/20110323/overflow-applies-to-009.htm: Added.
  • css2.1/20110323/overflow-applies-to-010-expected.html: Added.
  • css2.1/20110323/overflow-applies-to-010.htm: Added.
  • css2.1/20110323/overflow-applies-to-012-expected.html: Added.
  • css2.1/20110323/overflow-applies-to-012.htm: Added.
  • css2.1/20110323/overflow-applies-to-013-expected.html: Added.
  • css2.1/20110323/overflow-applies-to-013.htm: Added.
  • css2.1/20110323/overflow-applies-to-014-expected.html: Added.
  • css2.1/20110323/overflow-applies-to-014.htm: Added.
  • css2.1/20110323/overflow-applies-to-015-expected.html: Added.
  • css2.1/20110323/overflow-applies-to-015.htm: Added.

Tests from the CSS test suite.

  • fast/css/nested-layers-with-hover.html: Made this dumpAsText/waitUntilDone - the test relies on a simulated hover so

wasn't meaningful as a rendertree.

  • platform/chromium-linux/tables/mozilla_expected_failures/bugs/bug106966-expected.png:
  • platform/chromium-linux/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tbody-expected.png:
  • platform/chromium-linux/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr-expected.png:
  • platform/chromium-win/fast/css/nested-layers-with-hover-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/bugs/bug106966-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tbody-expected.txt:
  • platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr-expected.txt:

These are all progressions and now render the same as FF and Opera.

  • platform/chromium/TestExpectations:
  • platform/efl/TestExpectations:
  • platform/gtk/TestExpectations:
  • platform/mac/TestExpectations:
  • platform/qt/TestExpectations:
Location:
trunk
Files:
28 added
16 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r124696 r124697  
     12012-08-03  Robert Hogan  <robert@webkit.org>
     2
     3        CSS 2.1 failure: overflow-applies-to-001 fails
     4        https://bugs.webkit.org/show_bug.cgi?id=93148
     5
     6        Reviewed by Eric Seidel.
     7
     8        * css2.1/20110323/overflow-applies-to-001-expected.html: Added.
     9        * css2.1/20110323/overflow-applies-to-001.htm: Added.
     10        * css2.1/20110323/overflow-applies-to-002-expected.html: Added.
     11        * css2.1/20110323/overflow-applies-to-002.htm: Added.
     12        * css2.1/20110323/overflow-applies-to-003-expected.html: Added.
     13        * css2.1/20110323/overflow-applies-to-003.htm: Added.
     14        * css2.1/20110323/overflow-applies-to-004-expected.html: Added.
     15        * css2.1/20110323/overflow-applies-to-004.htm: Added.
     16        * css2.1/20110323/overflow-applies-to-005-expected.html: Added.
     17        * css2.1/20110323/overflow-applies-to-005.htm: Added.
     18        * css2.1/20110323/overflow-applies-to-006-expected.html: Added.
     19        * css2.1/20110323/overflow-applies-to-006.htm: Added.
     20        * css2.1/20110323/overflow-applies-to-007-expected.html: Added.
     21        * css2.1/20110323/overflow-applies-to-007.htm: Added.
     22        * css2.1/20110323/overflow-applies-to-008-expected.html: Added.
     23        * css2.1/20110323/overflow-applies-to-008.htm: Added.
     24        * css2.1/20110323/overflow-applies-to-009-expected.html: Added.
     25        * css2.1/20110323/overflow-applies-to-009.htm: Added.
     26        * css2.1/20110323/overflow-applies-to-010-expected.html: Added.
     27        * css2.1/20110323/overflow-applies-to-010.htm: Added.
     28        * css2.1/20110323/overflow-applies-to-012-expected.html: Added.
     29        * css2.1/20110323/overflow-applies-to-012.htm: Added.
     30        * css2.1/20110323/overflow-applies-to-013-expected.html: Added.
     31        * css2.1/20110323/overflow-applies-to-013.htm: Added.
     32        * css2.1/20110323/overflow-applies-to-014-expected.html: Added.
     33        * css2.1/20110323/overflow-applies-to-014.htm: Added.
     34        * css2.1/20110323/overflow-applies-to-015-expected.html: Added.
     35        * css2.1/20110323/overflow-applies-to-015.htm: Added.
     36            Tests from the CSS test suite.
     37
     38        * fast/css/nested-layers-with-hover.html: Made this dumpAsText/waitUntilDone - the test relies on a simulated hover so
     39            wasn't meaningful as a rendertree.
     40
     41        * platform/chromium-linux/tables/mozilla_expected_failures/bugs/bug106966-expected.png:
     42        * platform/chromium-linux/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tbody-expected.png:
     43        * platform/chromium-linux/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr-expected.png:
     44        * platform/chromium-win/fast/css/nested-layers-with-hover-expected.txt:
     45        * platform/chromium-win/tables/mozilla_expected_failures/bugs/bug106966-expected.txt:
     46        * platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tbody-expected.txt:
     47        * platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr-expected.txt:
     48            These are all progressions and now render the same as FF and Opera.
     49
     50        * platform/chromium/TestExpectations:
     51        * platform/efl/TestExpectations:
     52        * platform/gtk/TestExpectations:
     53        * platform/mac/TestExpectations:
     54        * platform/qt/TestExpectations:
     55
    1562012-08-04  Mike West  <mkwst@chromium.org>
    257
  • trunk/LayoutTests/fast/css/nested-layers-with-hover.html

    r120683 r124697  
    77</style>
    88        <script>
     9            if (window.testRunner) {
     10                testRunner.waitUntilDone();
     11                testRunner.dumpAsText();
     12            }
    913            function log(msg) {
    1014                var console = document.getElementById('console');
     
    2327                else
    2428                    log("FAILED: The hover effect did not correctly propagate down the layer chain.");
     29                if (window.testRunner)
     30                    testRunner.notifyDone();
    2531            }
    2632       
  • trunk/LayoutTests/platform/chromium-win/fast/css/nested-layers-with-hover-expected.txt

    r116841 r124697  
    1 layer at (0,0) size 800x600
    2   RenderView at (0,0) size 800x600
    3 layer at (0,0) size 800x600
    4   RenderBlock {HTML} at (0,0) size 800x600
    5     RenderBody {BODY} at (8,8) size 784x584
    6       RenderBlock {DIV} at (0,20) size 784x20
    7         RenderText {#text} at (0,0) size 210x19
    8           text run at (0,0) width 210: "PASSED: The hover effect works!"
    9 layer at (8,8) size 784x20
    10   RenderBlock {DIV} at (0,0) size 784x20
    11     RenderTable at (0,0) size 770x20
    12       RenderTableSection (anonymous) at (0,0) size 770x20
    13 layer at (8,8) size 770x20
    14   RenderTableRow {DIV} at (0,0) size 770x20 [bgcolor=#0000FF]
    15     RenderTableCell (anonymous) at (0,0) size 770x20 [r=0 c=0 rs=1 cs=1]
    16       RenderText {#text} at (0,0) size 770x19
    17         text run at (0,0) width 770: "To test this manually, first make sure you can see this text at all, and then hover over it and make sure the background turns blue."
     1To test this manually, first make sure you can see this text at all, and then hover over it and make sure the background turns blue.
     2PASSED: The hover effect works!
  • trunk/LayoutTests/platform/chromium-win/tables/mozilla_expected_failures/bugs/bug106966-expected.txt

    r116841 r124697  
    2323            text run at (75,0) width 50: "clip at tr"
    2424        RenderTableSection {TBODY} at (25,45) size 150x89
     25          RenderTableRow {TR} at (0,15) size 150x22
     26            RenderTableCell {TD} at (15,15) size 52x22 [bgcolor=#FFFF00] [r=0 c=0 rs=1 cs=1]
     27              RenderText {#text} at (1,1) size 28x19
     28                text run at (1,1) width 28: "cell1"
     29            RenderTableCell {TD} at (82,15) size 53x22 [bgcolor=#FFFF00] [r=0 c=1 rs=1 cs=1]
     30              RenderText {#text} at (1,1) size 123x19
     31                text run at (1,1) width 123: "contentwithoutspace"
    2532          RenderTableRow {TR} at (0,52) size 150x22
    2633            RenderTableCell {TD} at (15,52) size 52x22 [bgcolor=#FFFF00] [r=1 c=0 rs=1 cs=1]
     
    7986          RenderText {#text} at (71,0) size 58x19
    8087            text run at (71,0) width 58: "clip thead"
     88        RenderTableSection {THEAD} at (25,45) size 150x52
     89          RenderTableRow {TR} at (0,15) size 150x22
     90            RenderTableCell {TD} at (15,15) size 52x22 [bgcolor=#FFFF00] [r=0 c=0 rs=1 cs=1]
     91              RenderText {#text} at (1,1) size 28x19
     92                text run at (1,1) width 28: "cell1"
     93            RenderTableCell {TD} at (82,15) size 53x22 [bgcolor=#FFFF00] [r=0 c=1 rs=1 cs=1]
     94              RenderText {#text} at (1,1) size 123x19
     95                text run at (1,1) width 123: "contentwithoutspace"
    8196        RenderTableSection {TBODY} at (25,97) size 150x52
    8297          RenderTableRow {TR} at (0,15) size 150x22
     
    99114              RenderText {#text} at (1,1) size 123x19
    100115                text run at (1,1) width 123: "contentwithoutspace"
     116        RenderTableSection {TBODY} at (25,97) size 150x52
     117          RenderTableRow {TR} at (0,15) size 150x22
     118            RenderTableCell {TD} at (15,15) size 52x22 [bgcolor=#FFFF00] [r=0 c=0 rs=1 cs=1]
     119              RenderText {#text} at (1,1) size 28x19
     120                text run at (1,1) width 28: "cell1"
     121            RenderTableCell {TD} at (82,15) size 53x22 [bgcolor=#FFFF00] [r=0 c=1 rs=1 cs=1]
     122              RenderText {#text} at (1,1) size 123x19
     123                text run at (1,1) width 123: "contentwithoutspace"
    101124      RenderTable {TABLE} at (0,1089) size 200x174 [bgcolor=#FFA500] [border: (10px solid #0000FF)]
    102125        RenderBlock {CAPTION} at (0,0) size 200x20
     
    104127            text run at (73,0) width 54: "clip tfoot"
    105128        RenderTableSection {TBODY} at (25,45) size 150x52
     129          RenderTableRow {TR} at (0,15) size 150x22
     130            RenderTableCell {TD} at (15,15) size 52x22 [bgcolor=#FFFF00] [r=0 c=0 rs=1 cs=1]
     131              RenderText {#text} at (1,1) size 28x19
     132                text run at (1,1) width 28: "cell1"
     133            RenderTableCell {TD} at (82,15) size 53x22 [bgcolor=#FFFF00] [r=0 c=1 rs=1 cs=1]
     134              RenderText {#text} at (1,1) size 123x19
     135                text run at (1,1) width 123: "contentwithoutspace"
     136        RenderTableSection {TFOOT} at (25,97) size 150x52
    106137          RenderTableRow {TR} at (0,15) size 150x22
    107138            RenderTableCell {TD} at (15,15) size 52x22 [bgcolor=#FFFF00] [r=0 c=0 rs=1 cs=1]
     
    123154              RenderText {#text} at (1,1) size 123x19
    124155                text run at (1,1) width 123: "contentwithoutspace"
     156        RenderTableSection {TFOOT} at (25,97) size 150x52
     157          RenderTableRow {TR} at (0,15) size 150x22
     158            RenderTableCell {TD} at (15,15) size 52x22 [bgcolor=#FFFF00] [r=0 c=0 rs=1 cs=1]
     159              RenderText {#text} at (1,1) size 28x19
     160                text run at (1,1) width 28: "cell1"
    125161layer at (8,150) size 200x122 clip at (18,150) size 180x122 scrollWidth 221
    126162  RenderTable {TABLE} at (0,142) size 200x122 [bgcolor=#FFA500] [border: (10px solid #0000FF)]
     
    136172          RenderText {#text} at (1,1) size 123x19
    137173            text run at (1,1) width 123: "contentwithoutspace"
    138 layer at (33,332) size 150x22
    139   RenderTableRow {TR} at (0,15) size 150x22
    140     RenderTableCell {TD} at (15,15) size 52x22 [bgcolor=#FFFF00] [r=0 c=0 rs=1 cs=1]
    141       RenderText {#text} at (1,1) size 28x19
    142         text run at (1,1) width 28: "cell1"
    143     RenderTableCell {TD} at (82,15) size 53x22 [bgcolor=#FFFF00] [r=0 c=1 rs=1 cs=1]
    144       RenderText {#text} at (1,1) size 123x19
    145         text run at (1,1) width 123: "contentwithoutspace"
    146 layer at (33,794) size 150x52 scrollWidth 206
    147   RenderTableSection {THEAD} at (25,45) size 150x52
    148     RenderTableRow {TR} at (0,15) size 150x22
    149       RenderTableCell {TD} at (15,15) size 52x22 [bgcolor=#FFFF00] [r=0 c=0 rs=1 cs=1]
    150         RenderText {#text} at (1,1) size 28x19
    151           text run at (1,1) width 28: "cell1"
    152       RenderTableCell {TD} at (82,15) size 53x22 [bgcolor=#FFFF00] [r=0 c=1 rs=1 cs=1]
    153         RenderText {#text} at (1,1) size 123x19
    154           text run at (1,1) width 123: "contentwithoutspace"
    155 layer at (33,1020) size 150x52 scrollWidth 206
    156   RenderTableSection {TBODY} at (25,97) size 150x52
    157     RenderTableRow {TR} at (0,15) size 150x22
    158       RenderTableCell {TD} at (15,15) size 52x22 [bgcolor=#FFFF00] [r=0 c=0 rs=1 cs=1]
    159         RenderText {#text} at (1,1) size 28x19
    160           text run at (1,1) width 28: "cell1"
    161       RenderTableCell {TD} at (82,15) size 53x22 [bgcolor=#FFFF00] [r=0 c=1 rs=1 cs=1]
    162         RenderText {#text} at (1,1) size 123x19
    163           text run at (1,1) width 123: "contentwithoutspace"
    164 layer at (33,1194) size 150x52 scrollWidth 206
    165   RenderTableSection {TFOOT} at (25,97) size 150x52
    166     RenderTableRow {TR} at (0,15) size 150x22
    167       RenderTableCell {TD} at (15,15) size 52x22 [bgcolor=#FFFF00] [r=0 c=0 rs=1 cs=1]
    168         RenderText {#text} at (1,1) size 28x19
    169           text run at (1,1) width 28: "cell1"
    170       RenderTableCell {TD} at (82,15) size 53x22 [bgcolor=#FFFF00] [r=0 c=1 rs=1 cs=1]
    171         RenderText {#text} at (1,1) size 123x19
    172           text run at (1,1) width 123: "contentwithoutspace"
    173 layer at (33,1368) size 150x52
    174   RenderTableSection {TFOOT} at (25,97) size 150x52
    175     RenderTableRow {TR} at (0,15) size 150x22
    176       RenderTableCell {TD} at (15,15) size 52x22 [bgcolor=#FFFF00] [r=0 c=0 rs=1 cs=1]
    177         RenderText {#text} at (1,1) size 28x19
    178           text run at (1,1) width 28: "cell1"
    179174layer at (115,1383) size 53x22 scrollWidth 125
    180175  RenderTableCell {TD} at (82,15) size 53x22 [bgcolor=#FFFF00] [r=0 c=1 rs=1 cs=1]
  • trunk/LayoutTests/platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tbody-expected.txt

    r56259 r124697  
    55    RenderBody {BODY} at (8,8) size 784x22
    66      RenderTable {TABLE} at (0,0) size 22x22 [border: (1px outset #808080)]
    7 layer at (9,9) size 20x20 scrollWidth 707 scrollHeight 507
    8   RenderTableSection {TBODY} at (1,1) size 20x20
    9     RenderTableRow {TR} at (0,2) size 20x16
    10       RenderTableCell {TD} at (2,2) size 16x16 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
    11         RenderBlock {DIV} at (2,2) size 12x12 [border: (1px solid #008000)]
    12           RenderBlock {DIV} at (1,1) size 702x502 [border: (1px solid #FF0000)]
    13             RenderText {#text} at (1,1) size 58x19
    14               text run at (1,1) width 58: "scrollbars"
     7        RenderTableSection {TBODY} at (1,1) size 20x20
     8          RenderTableRow {TR} at (0,2) size 20x16
     9            RenderTableCell {TD} at (2,2) size 16x16 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
     10              RenderBlock {DIV} at (2,2) size 12x12 [border: (1px solid #008000)]
     11                RenderBlock {DIV} at (1,1) size 702x502 [border: (1px solid #FF0000)]
     12                  RenderText {#text} at (1,1) size 58x19
     13                    text run at (1,1) width 58: "scrollbars"
  • trunk/LayoutTests/platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr-expected.txt

    r73401 r124697  
    66      RenderTable {TABLE} at (0,0) size 22x22 [border: (1px outset #808080)]
    77        RenderTableSection {TBODY} at (1,1) size 20x20
    8 layer at (9,11) size 20x16
    9   RenderTableRow {TR} at (0,2) size 20x16
    10     RenderTableCell {TD} at (2,2) size 16x16 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
    11       RenderBlock {DIV} at (2,2) size 12x12 [border: (1px solid #008000)]
    12         RenderBlock {DIV} at (1,1) size 702x502 [border: (1px solid #FF0000)]
    13           RenderText {#text} at (1,1) size 58x19
    14             text run at (1,1) width 58: "scrollbars"
     8          RenderTableRow {TR} at (0,2) size 20x16
     9            RenderTableCell {TD} at (2,2) size 16x16 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
     10              RenderBlock {DIV} at (2,2) size 12x12 [border: (1px solid #008000)]
     11                RenderBlock {DIV} at (1,1) size 702x502 [border: (1px solid #FF0000)]
     12                  RenderText {#text} at (1,1) size 58x19
     13                    text run at (1,1) width 58: "scrollbars"
  • trunk/LayoutTests/platform/chromium/TestExpectations

    r124692 r124697  
    34843484BUGWK92968 SKIP : http/tests/appcache/abort-cache-ondownloading.html = PASS
    34853485BUGWK92968 SKIP : http/tests/appcache/abort-cache-onprogress.html = PASS
     3486
     3487// Require rebaseline after bug 93148
     3488BUGWK93148 MAC WIN : tables/mozilla_expected_failures/bugs/bug106966.html = IMAGE+TEXT
     3489BUGWK93148 MAC WIN : tables/mozilla_expected_failures/marvin/table_overflow_hidden_tbody.html  = IMAGE+TEXT
     3490BUGWK93148 MAC WIN : tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr.html  = IMAGE+TEXT
     3491BUGWK93148 MAC WIN : fast/css/nested-layers-with-hover.html = TEXT
  • trunk/LayoutTests/platform/efl/TestExpectations

    r124696 r124697  
    848848BUGWK93073 : mathml/presentation/under.xhtml = TEXT
    849849BUGWK93073 : mathml/presentation/underover.xhtml = TEXT
     850
     851// Require rebaseline after bug 93148
     852BUGWK93148 : tables/mozilla_expected_failures/bugs/bug106966.html = TEXT
     853BUGWK93148 : tables/mozilla_expected_failures/marvin/table_overflow_hidden_tbody.html  = TEXT
     854BUGWK93148 : tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr.html  = TEXT
     855BUGWK93148 : fast/css/nested-layers-with-hover.html = TEXT
  • trunk/LayoutTests/platform/gtk/TestExpectations

    r124692 r124697  
    3737//////////////////////////////////////////////////////////////////////////////////////////
    3838
     39// Require rebaseline after bug 93148
     40BUGWK93148 : tables/mozilla_expected_failures/bugs/bug106966.html = TEXT
     41BUGWK93148 : tables/mozilla_expected_failures/marvin/table_overflow_hidden_tbody.html  = TEXT
     42BUGWK93148 : tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr.html  = TEXT
     43BUGWK93148 : fast/css/nested-layers-with-hover.html = TEXT
    3944
    4045//////////////////////////////////////////////////////////////////////////////////////////
  • trunk/LayoutTests/platform/mac/TestExpectations

    r124347 r124697  
    310310BUGWK80219 : fast/box-sizing/box-sizing.html = IMAGE+TEXT
    311311BUGWK80219 : compositing/overflow/clip-descendents.html = TEXT
     312
     313// Require rebaseline after bug 93148
     314BUGWK93148 : tables/mozilla_expected_failures/bugs/bug106966.html = TEXT
     315BUGWK93148 : tables/mozilla_expected_failures/marvin/table_overflow_hidden_tbody.html  = TEXT
     316BUGWK93148 : tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr.html  = TEXT
     317BUGWK93148 : fast/css/nested-layers-with-hover.html = TEXT
  • trunk/LayoutTests/platform/qt/TestExpectations

    r124347 r124697  
    129129BUGWK80219 : fast/box-sizing/box-sizing.html = IMAGE+TEXT
    130130BUGWK80219 : compositing/overflow/clip-descendents.html = TEXT
     131
     132// Require rebaseline after bug 93148
     133BUGWK93148 : tables/mozilla_expected_failures/bugs/bug106966.html = TEXT
     134BUGWK93148 : tables/mozilla_expected_failures/marvin/table_overflow_hidden_tbody.html  = TEXT
     135BUGWK93148 : tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr.html  = TEXT
     136BUGWK93148 : fast/css/nested-layers-with-hover.html = TEXT
  • trunk/Source/WebCore/ChangeLog

    r124695 r124697  
     12012-08-03  Robert Hogan  <robert@webkit.org>
     2
     3        CSS 2.1 failure: overflow-applies-to-001 fails
     4        https://bugs.webkit.org/show_bug.cgi?id=93148
     5
     6        Reviewed by Eric Seidel.
     7
     8        Overflow no longer applies to table-rows or table-row-groups, it only applies
     9        to block containers: http://www.w3.org/TR/CSS21/visufx.html#overflow
     10
     11        Tests:  css2.1/20110323/overflow-applies-to-001.htm
     12                css2.1/20110323/overflow-applies-to-002.htm
     13                css2.1/20110323/overflow-applies-to-003.htm
     14                css2.1/20110323/overflow-applies-to-004.htm
     15                css2.1/20110323/overflow-applies-to-005.htm
     16                css2.1/20110323/overflow-applies-to-006.htm
     17                css2.1/20110323/overflow-applies-to-007.htm
     18                css2.1/20110323/overflow-applies-to-008.htm
     19                css2.1/20110323/overflow-applies-to-009.htm
     20                css2.1/20110323/overflow-applies-to-010.htm
     21                css2.1/20110323/overflow-applies-to-012.htm
     22                css2.1/20110323/overflow-applies-to-013.htm
     23                css2.1/20110323/overflow-applies-to-014.htm
     24                css2.1/20110323/overflow-applies-to-015.htm
     25
     26        * rendering/RenderBox.cpp:
     27        (WebCore::RenderBox::updateBoxModelInfoFromStyle):
     28
    1292012-08-04  Adam Barth  <abarth@webkit.org>
    230
  • trunk/Source/WebCore/rendering/RenderBox.cpp

    r124662 r124697  
    310310
    311311    // We also handle <body> and <html>, whose overflow applies to the viewport.
    312     if (styleToUse->overflowX() != OVISIBLE && !isRootObject && (isRenderBlock() || isTableRow() || isTableSection())) {
     312    if (styleToUse->overflowX() != OVISIBLE && !isRootObject && isRenderBlock()) {
    313313        bool boxHasOverflowClip = true;
    314314        if (isBody()) {
Note: See TracChangeset for help on using the changeset viewer.