Changeset 109286 in webkit


Ignore:
Timestamp:
Feb 29, 2012 5:17:33 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

<msubsup> setNeedsLayout() correction
https://bugs.webkit.org/show_bug.cgi?id=79856

Patch by David Barton <Dave Barton> on 2012-02-29
Reviewed by Julien Chaffraix.

m_scripts->setNeedsLayout(true, false); needs to be added to the fix for bug 79274.

No new tests. It's actually difficult to test the need for this with the current code,
because there are a lot of extra setNeedsLayout() calls right now. I caught this after
removing some of those calls that should be redundant, for a future patch. Actually
removing those calls now changes other behavior, due to other bugs, so I'll save all
that for future patches. We should land this fix now though I think, as it could
possibly matter in some cases.

  • rendering/mathml/RenderMathMLSubSup.cpp:

(WebCore::RenderMathMLSubSup::layout):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r109285 r109286  
     12012-02-29  David Barton  <dbarton@mathscribe.com>
     2
     3        <msubsup> setNeedsLayout() correction
     4        https://bugs.webkit.org/show_bug.cgi?id=79856
     5
     6        Reviewed by Julien Chaffraix.
     7
     8        m_scripts->setNeedsLayout(true, false); needs to be added to the fix for bug 79274.
     9
     10        No new tests. It's actually difficult to test the need for this with the current code,
     11        because there are a lot of extra setNeedsLayout() calls right now. I caught this after
     12        removing some of those calls that should be redundant, for a future patch. Actually
     13        removing those calls now changes other behavior, due to other bugs, so I'll save all
     14        that for future patches. We should land this fix now though I think, as it could
     15        possibly matter in some cases.
     16
     17        * rendering/mathml/RenderMathMLSubSup.cpp:
     18        (WebCore::RenderMathMLSubSup::layout):
     19
    1202012-02-29  Andreas Kling  <awesomekling@apple.com>
    221
  • trunk/Source/WebCore/rendering/mathml/RenderMathMLSubSup.cpp

    r109081 r109286  
    184184    superscriptWrapper->style()->setPaddingBottom(Length(superPaddingBottom, Fixed));
    185185    superscriptWrapper->setNeedsLayout(true, false);
     186    m_scripts->setNeedsLayout(true, false);
    186187   
    187188    RenderBlock::layout();
Note: See TracChangeset for help on using the changeset viewer.