[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
Wed Oct 1 20:16:45 PDT 2014


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





--- Comment #3 from Said Abou-Hallawa <sabouhallawa at apple.com>  2014-10-01 20:16:43 PST ---
The bug happens because in RenderMathMLUnderOver::layout() we get the maximum width of all the children.  This step includes running the layout for any dirty child.  After this step we stretch the operator of the math object to the maximum width.  The last thing we do is to run the layout of the base class which adds spacing to the object and its children.  When calling RenderMathMLUnderOver::layout() because of resizing, we do not run the layout for the children because they are not dirty.  But when we get the width of the children, we get the width after adding the spacing.  And when running the layout of the base class, a new spacing will be added to the math object.  Because the alignment of the display math is centered, increasing the width of the math operator causes the starting position to be moved to the left.

-- 
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