[mathml] Implement movablelimits
If the <munder>, <mover> or <munderover> elements have a computed math-style property equal to compact and their base is an embellished operator with the movablelimits property, then their layout algorithms are respectively the same as the ones described for <msub>, <msup> and <msubsup>. In this CL we delegate to the scripts algorithm which is changed to be able to handle script types over, under and underover. This CL does not handle embellished operators as defined [2] but just the first case, i.e. <mo> elements but not the two other cases, to simplify this CL. To handle dynamic changes to the movablelimits attribute on <mo> UpdateFromElement is implemented on LayoutNGMathMLBlockFlow. To handle dynamic changes to attributes (like displaystyle) on math elements UpdateFromElement is implemented on LayoutNGMathMLBlock. [1] https://mathml-refresh.github.io/mathml-core/#children-of-munder-mover-munderover [2] https://mathml-refresh.github.io/mathml-core/#embellished-operators Bug: 6606 Change-Id: Ib4af58ed88b7d41944f4d4676bba812c3b7a3a2e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2383023Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:
Frédéric Wang <fwang@igalia.com> Commit-Queue: Rob Buis <rbuis@igalia.com> Cr-Commit-Position: refs/heads/master@{#804331}
Showing
Please register or sign in to comment