[Webkit-unassigned] [Bug 179681] New: Cleanup code for RenderMathMLUnderOver::layoutBlock
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Nov 14 11:16:41 PST 2017
https://bugs.webkit.org/show_bug.cgi?id=179681
Bug ID: 179681
Summary: Cleanup code for RenderMathMLUnderOver::layoutBlock
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: MathML
Assignee: webkit-unassigned at lists.webkit.org
Reporter: lambda at liu.ms
See the discussion of https://bugs.webkit.org/show_bug.cgi?id=170272.
> Checking the code, it seems that RenderMathMLUnderOver::computeOperatorsHorizontalStretch is actually only called in RenderMathMLUnderOver::layoutBlock, just before some calls to layoutIfNeeded() on the munderover children... but I believe these layoutIfNeeded calls are useless as we already do the layout in computeOperatorsHorizontalStretch. Also, computeOperatorsHorizontalStretch really does operator stretching and child layout, so the name is not good (I guess this was inherited from old implementation). So I propose you open a preliminary cleanup bug to rename "computeOperatorsHorizontalStretch" to "stretchHorizontalOperatorsAndLayoutChildren" and remove the useless layoutIfNeeded calls, so that things are a bit clearer. That won't require new tests and you would be able to experience the contribution process.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171114/ff872aee/attachment-0001.html>
More information about the webkit-unassigned
mailing list