Changeset 166745 in webkit


Ignore:
Timestamp:
Apr 3, 2014 2:40:49 PM (10 years ago)
Author:
hyatt@apple.com
Message:

REGRESSION: fast/css/relative-positioned-block-nested-with-inline-parent-multiple-descendant-blocks-dynamic.html broken
https://bugs.webkit.org/show_bug.cgi?id=131183

Reviewed by Simon Fraser.

Revert the loop to continue rather than breaking when an invalid block is encountered.
This is what it used to do if it encountered a non-continuation block.

  • rendering/RenderInline.cpp:

(WebCore::updateStyleOfAnonymousBlockContinuations):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r166741 r166745  
     12014-04-03  David Hyatt  <hyatt@apple.com>
     2
     3        REGRESSION: fast/css/relative-positioned-block-nested-with-inline-parent-multiple-descendant-blocks-dynamic.html broken
     4        https://bugs.webkit.org/show_bug.cgi?id=131183
     5
     6        Reviewed by Simon Fraser.
     7
     8        Revert the loop to continue rather than breaking when an invalid block is encountered.
     9        This is what it used to do if it encountered a non-continuation block.
     10
     11        * rendering/RenderInline.cpp:
     12        (WebCore::updateStyleOfAnonymousBlockContinuations):
     13
    1142014-04-02  Simon Fraser  <simon.fraser@apple.com>
    215
  • trunk/Source/WebCore/rendering/RenderInline.cpp

    r166736 r166745  
    151151       
    152152        if (!box->isRenderBlock())
    153             break; // We're done if we ever encounter something other than a RenderBlock.
     153            continue;
    154154
    155155        RenderBlock* block = toRenderBlock(box);
    156156        if (!block->isAnonymousBlockContinuation())
    157             break; // We're done if we ever encounter something other than a continuation RenderBlock.
     157            continue;
    158158       
    159159        // If we are no longer in-flow positioned but our descendant block(s) still have an in-flow positioned ancestor then
Note: See TracChangeset for help on using the changeset viewer.