[mathml] Refine constants used for <munderover> layout
This CL reorganizes a bit how constants are determined for the layout algorithm of the mover/munder/moverunder elements, trying to match more closely the text in the specification. In particular, the three main cases are now considered [1] [2]: 1. The base is an embellished operator with the largeop property. 2. The base is an embellished operator with the stretchy property and stretch axis inline. 3. Otherwise These are verified by underover-parameters-* WPT tests. Tests 1 and 2 cover the corresponding cases in the spec. The other tests verify the otherwise clause, but will require follow-up work [3] [4]. Finally, this CL updates the TODO comments in the underover algorithm to point to new Chromium bug entries. [1] https://mathml-refresh.github.io/mathml-core/#base-with-underscript [2] https://mathml-refresh.github.io/mathml-core/#base-with-overscript [3] http://crbug.com/1124289 [4] http://crbug.com/1124285 Bug: 6606, 1124285, 1124289 Change-Id: I89f26214ce42b64671490c55bc59835f7afcbbcf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2390760Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:
Rob Buis <rbuis@igalia.com> Commit-Queue: Frédéric Wang <fwang@igalia.com> Cr-Commit-Position: refs/heads/master@{#803906}
Showing
Please register or sign in to comment