Changeset 139223 in webkit


Ignore:
Timestamp:
Jan 9, 2013 12:30:40 PM (11 years ago)
Author:
robert@webkit.org
Message:

REGRESSION(r111439): Focus ring is rendered incorrectly in fast/inline/continuation-outlines-with-layers.html
https://bugs.webkit.org/show_bug.cgi?id=106064

Reviewed by David Hyatt.

Source/WebCore:

  • rendering/RenderBlock.cpp:

(WebCore::RenderBlock::paintObject):

LayoutTests:

  • platform/chromium-linux/fast/inline/continuation-outlines-with-layers-expected.png:
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r139221 r139223  
     12013-01-09  Robert Hogan  <robert@webkit.org>
     2
     3        REGRESSION(r111439): Focus ring is rendered incorrectly in fast/inline/continuation-outlines-with-layers.html
     4        https://bugs.webkit.org/show_bug.cgi?id=106064
     5
     6        Reviewed by David Hyatt.
     7
     8        * platform/chromium-linux/fast/inline/continuation-outlines-with-layers-expected.png:
     9
    1102013-01-09  Ojan Vafai  <ojan@chromium.org>
    211
  • trunk/LayoutTests/platform/mac/TestExpectations

    r139221 r139223  
    12551255webkit.org/b/105999 [ Lion ] fast/canvas/canvas-composite-image.html [ Failure ]
    12561256
    1257 webkit.org/b/106064 fast/inline/continuation-outlines-with-layers.html [ Failure ]
    1258 
    12591257webkit.org/b/106075 [ Debug ] fast/regions/full-screen-video-from-region.html [ Crash ]
    12601258
  • trunk/Source/WebCore/ChangeLog

    r139220 r139223  
     12013-01-09  Robert Hogan  <robert@webkit.org>
     2
     3        REGRESSION(r111439): Focus ring is rendered incorrectly in fast/inline/continuation-outlines-with-layers.html
     4        https://bugs.webkit.org/show_bug.cgi?id=106064
     5
     6        Reviewed by David Hyatt.
     7
     8        * rendering/RenderBlock.cpp:
     9        (WebCore::RenderBlock::paintObject):
     10
    1112013-01-09  Gregg Tavares  <gman@google.com>
    212
  • trunk/Source/WebCore/rendering/RenderBlock.cpp

    r139203 r139223  
    30303030    if ((paintPhase == PaintPhaseOutline || paintPhase == PaintPhaseChildOutlines)) {
    30313031        RenderInline* inlineCont = inlineElementContinuation();
    3032         // FIXME: For now, do not add continuations for outline painting by our containing block if we are a relative positioned
    3033         // anonymous block (i.e. have our own layer). This is because a block depends on renderers in its continuation table being
    3034         // in the same layer.
    3035         if (inlineCont && inlineCont->hasOutline() && inlineCont->style()->visibility() == VISIBLE && !hasLayer()) {
     3032        if (inlineCont && inlineCont->hasOutline() && inlineCont->style()->visibility() == VISIBLE) {
    30363033            RenderInline* inlineRenderer = toRenderInline(inlineCont->node()->renderer());
    30373034            RenderBlock* cb = containingBlock();
     
    30453042            }
    30463043
    3047             if (!inlineEnclosedInSelfPaintingLayer)
     3044            // Do not add continuations for outline painting by our containing block if we are a relative positioned
     3045            // anonymous block (i.e. have our own layer), paint them straightaway instead. This is because a block depends on renderers in its continuation table being
     3046            // in the same layer.
     3047            if (!inlineEnclosedInSelfPaintingLayer && !hasLayer())
    30483048                cb->addContinuationWithOutline(inlineRenderer);
    3049             else if (!inlineRenderer->firstLineBox())
     3049            else if (!inlineRenderer->firstLineBox() || (!inlineEnclosedInSelfPaintingLayer && hasLayer()))
    30503050                inlineRenderer->paintOutline(paintInfo.context, paintOffset - locationOffset() + inlineRenderer->containingBlock()->location());
    30513051        }
Note: See TracChangeset for help on using the changeset viewer.