[Webkit-unassigned] [Bug 137330] RenderMathMLUnderOver adds spacing to the child operator indefinitely when resizing the window

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 9 09:26:52 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=137330


Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #239512|review?                     |review+
               Flag|                            |




--- Comment #21 from Darin Adler <darin at apple.com>  2014-10-09 09:26:47 PST ---
(From update of attachment 239512)
View in context: https://bugs.webkit.org/attachment.cgi?id=239512&action=review

> Source/WebCore/rendering/mathml/RenderMathMLOperator.cpp:1316
> +    if (m_isVertical)
> +        m_stretchHeightAboveBaseline = m_stretchDepthBelowBaseline = 0;
> +    else
> +        m_stretchWidth = 0;

Without judging the readability of the different styles, in standard WebKit coding style this would be:

    if (m_isVertical) {
        m_stretchHeightAboveBaseline = 0;
        m_stretchDepthBelowBaseline = 0;
    } else
        m_stretchWidth = 0;

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list