Bug 134021 - Size of stretchy horizontal braces is not updated properly
Summary: Size of stretchy horizontal braces is not updated properly
Alias: None
Product: WebKit
Classification: Unclassified
Component: MathML (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
Depends on: 72828 155018
  Show dependency treegraph
Reported: 2014-06-18 00:39 PDT by Frédéric Wang (:fredw)
Modified: 2016-06-25 00:02 PDT (History)
1 user (show)

See Also:

Screenshot (4.89 KB, image/png)
2014-06-18 00:39 PDT, Frédéric Wang (:fredw)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.