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>
Status: RESOLVED FIXED    
Severity: Normal CC: alex
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 72828, 155018    
Bug Blocks:    
Attachments:
Description Flags
Screenshot none

Frédéric Wang (:fredw)
Reported 2014-06-18 00:39:18 PDT
Created attachment 233293 [details] Screenshot 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.
Attachments
Screenshot (4.89 KB, image/png)
2014-06-18 00:39 PDT, Frédéric Wang (:fredw)
no flags
Frédéric Wang (:fredw)
Comment 1 2016-02-05 06:01:42 PST
This issue is fixed on Alex's MathMLLayout branch.
Frédéric Wang (:fredw)
Comment 2 2016-03-08 05:16:20 PST
Not sure which patch fixes the problem, but let's make it depend on bug 155018
Frédéric Wang (:fredw)
Comment 3 2016-06-25 00:02:38 PDT
Fixed by r202420.
Note You need to log in before you can comment on or make changes to this bug.