Bug 161132

Summary: Do not store layout parameters on the RenderMathMLRoot class
Product: WebKit Reporter: Frédéric Wang Nélar <fred.wang>
Component: MathMLAssignee: Frédéric Wang Nélar <fred.wang>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, dbarton, esprehn+autocc, glenn, kondapallykalyan
Priority: P2    
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch darin: review+

Frédéric Wang Nélar
Reported 2016-08-24 02:22:29 PDT
Storing layout parameters on the RenderMathMLRoot class may cause update issues (e.g. when zooming in/out). This is actually not really needed since reading the parameters from the MATH table is not too expensive and most of them are only used during layoutBlock. We separate horizontal and vertical parameters since the latter are not need for preferred width calculations.
Attachments
Patch (15.74 KB, patch)
2016-08-24 02:37 PDT, Frédéric Wang Nélar
darin: review+
Frédéric Wang Nélar
Comment 1 2016-08-24 02:37:40 PDT
Frédéric Wang Nélar
Comment 2 2016-08-24 23:33:49 PDT
Note You need to log in before you can comment on or make changes to this bug.