Bug 161132

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

Description Frédéric Wang (:fredw) 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.
Comment 1 Frédéric Wang (:fredw) 2016-08-24 02:37:40 PDT
Created attachment 286846 [details]
Comment 2 Frédéric Wang (:fredw) 2016-08-24 23:33:49 PDT
Committed r204956: <http://trac.webkit.org/changeset/204956>