Bug 161132 - Do not store layout parameters on the RenderMathMLRoot class
Summary: Do not store layout parameters on the RenderMathMLRoot class
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: MathML (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Frédéric Wang (:fredw)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-24 02:22 PDT by Frédéric Wang (:fredw)
Modified: 2016-08-24 23:33 PDT (History)
5 users (show)

See Also:


Attachments
Patch (15.74 KB, patch)
2016-08-24 02:37 PDT, Frédéric Wang (:fredw)
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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]
Patch
Comment 2 Frédéric Wang (:fredw) 2016-08-24 23:33:49 PDT
Committed r204956: <http://trac.webkit.org/changeset/204956>