[Webkit-unassigned] [Bug 133845] Implement an internal -webkit-math-display property or similar

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 11 04:35:29 PDT 2014


--- Comment #12 from Alejandro G. Castro <alex at igalia.com>  2014-09-11 04:35:30 PST ---
Created an attachment (id=237951)
 --> (https://bugs.webkit.org/attachment.cgi?id=237951&action=review)
Proposed patch, work in progress version

This is a different solution trying to avoid using a new CSS attribute, and encapsulating all the displaystyle logic in one class RenderMathMLStyle. In that class we could add the support to the scriptlevel more easily. The patch adds displaystyle attribute support to the mathml elements and uses the value when the renderers are already attached to resolve the displaystyle value in the math renderers tree. I had to add also some interfaces to other mathml renderers to implement the required logic, but they are simple: like checking if a node is the base of a root, or the base of a munder mover. Still needs to add tests or check if the relayout works as expected, other than that feedback is more than welcome :).

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list