Changeset 63413 in webkit


Ignore:
Timestamp:
Jul 15, 2010 12:34:13 AM (14 years ago)
Author:
Nikolas Zimmermann
Message:

2010-07-15 Nikolas Zimmermann <nzimmermann@rim.com>

Reviewed by Adam Barth.

Pixel test failure in moving-shadow-on-path.html and moving-shadow-on-container.html
https://bugs.webkit.org/show_bug.cgi?id=42249

Partly revert <http://trac.webkit.org/changeset/63307>. The RenderSVGRoot change caused a pixel test regression in two fast/repaint tests.

  • rendering/RenderSVGRoot.cpp: (WebCore::RenderSVGRoot::layout): Include selfNeedsLayout() check in LayoutStateRepainter argument.

2010-07-15 Nikolas Zimmermann <nzimmermann@rim.com>

Reviewed by Adam Barth.

Pixel test failure in moving-shadow-on-path.html and moving-shadow-on-container.html
https://bugs.webkit.org/show_bug.cgi?id=42249

Update fast/repaint/moving-shadow-on-path.html result, which shows a slightly smaller repaint rect.

  • platform/mac/fast/repaint/moving-shadow-on-path-expected.checksum:
  • platform/mac/fast/repaint/moving-shadow-on-path-expected.png:
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r63412 r63413  
     12010-07-15  Nikolas Zimmermann  <nzimmermann@rim.com>
     2
     3        Reviewed by Adam Barth.
     4
     5        Pixel test failure in moving-shadow-on-path.html and moving-shadow-on-container.html
     6        https://bugs.webkit.org/show_bug.cgi?id=42249
     7
     8        Update fast/repaint/moving-shadow-on-path.html result, which shows a slightly smaller repaint rect.
     9
     10        * platform/mac/fast/repaint/moving-shadow-on-path-expected.checksum:
     11        * platform/mac/fast/repaint/moving-shadow-on-path-expected.png:
     12
    1132010-07-15  Maciej Stachowiak  <mjs@apple.com>
    214
  • trunk/LayoutTests/platform/mac/fast/repaint/moving-shadow-on-path-expected.checksum

    r54483 r63413  
    1 c1d3ba33405df28796a36d5b1b225097
     13d148ca8ecc0067a2307da77ac8bf690
  • trunk/WebCore/ChangeLog

    r63409 r63413  
     12010-07-15  Nikolas Zimmermann  <nzimmermann@rim.com>
     2
     3        Reviewed by Adam Barth.
     4
     5        Pixel test failure in moving-shadow-on-path.html and moving-shadow-on-container.html
     6        https://bugs.webkit.org/show_bug.cgi?id=42249
     7
     8        Partly revert <http://trac.webkit.org/changeset/63307>. The RenderSVGRoot change caused a pixel test regression in two fast/repaint tests.
     9
     10        * rendering/RenderSVGRoot.cpp:
     11        (WebCore::RenderSVGRoot::layout): Include selfNeedsLayout() check in LayoutStateRepainter argument.
     12
    1132010-07-14  Sheriff Bot  <webkit.review.bot@gmail.com>
    214
  • trunk/WebCore/rendering/RenderSVGRoot.cpp

    r63307 r63413  
    109109    view()->disableLayoutState();
    110110
    111     LayoutRepainter repainter(*this, m_everHadLayout && checkForRepaintDuringLayout());
     111    bool needsLayout = selfNeedsLayout();
     112    LayoutRepainter repainter(*this, needsLayout && m_everHadLayout && checkForRepaintDuringLayout());
    112113
    113114    IntSize oldSize(width(), height());
     
    119120    m_isLayoutSizeChanged = svg->hasRelativeLengths() && oldSize != size();
    120121
    121     SVGRenderSupport::layoutChildren(this, selfNeedsLayout());
     122    SVGRenderSupport::layoutChildren(this, needsLayout);
    122123    m_isLayoutSizeChanged = false;
    123124
Note: See TracChangeset for help on using the changeset viewer.