Changeset 117413 in webkit


Ignore:
Timestamp:
May 17, 2012 1:18:59 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

REGRESSION (r116331): RSS Headlines/links are missing (-webkit-box-flex broken?)
https://bugs.webkit.org/show_bug.cgi?id=85991

Source/WebCore:

Fix for regression failures on deprecated flex box test cases.

Patch by Pravin D <pravind.2k4@gmail.com> on 2012-05-17
Reviewed by Eric Seidel.

Test: fast/css/deprecated-flex-box-zero-width-intrinsic-max-width.html

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::computePreferredLogicalWidths):
Fix to use intrinsic width when the fixed width:0 , for deprecated flex boxes.

LayoutTests:

Patch by Pravin D <pravind.2k4@gmail.com> on 2012-05-17
Reviewed by Eric Seidel.

  • fast/css/deprecated-flex-box-zero-width-intrinsic-max-width-expected.txt: Added.
  • fast/css/deprecated-flex-box-zero-width-intrinsic-max-width.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r117412 r117413  
     12012-05-17  Pravin D  <pravind.2k4@gmail.com>
     2
     3        REGRESSION (r116331): RSS Headlines/links are missing (-webkit-box-flex broken?)
     4        https://bugs.webkit.org/show_bug.cgi?id=85991
     5
     6        Reviewed by Eric Seidel.
     7
     8        * fast/css/deprecated-flex-box-zero-width-intrinsic-max-width-expected.txt: Added.
     9        * fast/css/deprecated-flex-box-zero-width-intrinsic-max-width.html: Added.
     10
    1112012-05-17  Uday Kiran  <udaykiran@motorola.com>
    212
  • trunk/Source/WebCore/ChangeLog

    r117412 r117413  
     12012-05-17  Pravin D  <pravind.2k4@gmail.com>
     2
     3        REGRESSION (r116331): RSS Headlines/links are missing (-webkit-box-flex broken?)
     4        https://bugs.webkit.org/show_bug.cgi?id=85991
     5
     6        Fix for regression failures on deprecated flex box test cases.
     7
     8        Reviewed by Eric Seidel.
     9
     10        Test: fast/css/deprecated-flex-box-zero-width-intrinsic-max-width.html
     11
     12        * rendering/RenderBlock.cpp:
     13        (WebCore::RenderBlock::computePreferredLogicalWidths):
     14        Fix to use intrinsic width when the fixed width:0 , for deprecated flex boxes.
     15
    1162012-05-17  Uday Kiran  <udaykiran@motorola.com>
    217
  • trunk/Source/WebCore/rendering/RenderBlock.cpp

    r117412 r117413  
    51755175
    51765176    RenderStyle* styleToUse = style();
    5177     if (!isTableCell() && styleToUse->logicalWidth().isFixed() && styleToUse->logicalWidth().value() >= 0 && style()->marqueeBehavior() != MALTERNATE)
     5177    if (!isTableCell() && styleToUse->logicalWidth().isFixed() && styleToUse->logicalWidth().value() >= 0
     5178       && style()->marqueeBehavior() != MALTERNATE && !(isDeprecatedFlexItem() && !styleToUse->logicalWidth().intValue()))
    51785179        m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = computeContentBoxLogicalWidth(styleToUse->logicalWidth().value());
    51795180    else {
Note: See TracChangeset for help on using the changeset viewer.