Bug 134021

Summary: Size of stretchy horizontal braces is not updated properly
Product: WebKit Reporter: Frédéric Wang (:fredw) <fred.wang>
Component: MathMLAssignee: Nobody <webkit-unassigned>
Severity: Normal CC: alex
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 72828, 155018    
Bug Blocks:    
Description Flags
Screenshot none

Description Frédéric Wang (:fredw) 2014-06-18 00:39:18 PDT
Created attachment 233293 [details]

Use Linux with (for example) Latin Modern Math fonts installed.
Go to the MathML torture test and check test 22 with "Latin Modern Math" item selected. If you zoom in and then out, the size of the horizontal braces is not updated.

If wonder if the problem is due to the fact that the stretchSize() is included in the preferred width computation and the m_stretchWidth is cached on the renderer object. Perhaps the stretch width should instead only be taken in consideration in RenderMathMLSpace::updateLogicalWidth(), like what is done for mspace.
Comment 1 Frédéric Wang (:fredw) 2016-02-05 06:01:42 PST
This issue is fixed on Alex's MathMLLayout branch.
Comment 2 Frédéric Wang (:fredw) 2016-03-08 05:16:20 PST
Not sure which patch fixes the problem, but let's make it depend on bug 155018
Comment 3 Frédéric Wang (:fredw) 2016-06-25 00:02:38 PDT
Fixed by r202420.