Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mathml] Adjust padding for invalid fractions reftests
The invalid fraction reftests compare an <mfrac> with an invalid number of children against an <mrow> with the same children, in order to test this statement from [1]: "If the <mfrac> element has less or more than two in-flow children, its layout algorithm is the same as the <mrow> element." However, the same section indicates just above a default padding for mfrac elements, so the reftests can't match. This CL fixes that by making the reference set these padding values to 1px. [1] https://w3c.github.io/mathml-core/#fractions-mfrac Bug: 6606 Change-Id: I598e2cdd743c440774ac3b3ecb43cb8c84c59b3e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3015322 Reviewed-by: Manuel Rego <[email protected]> Commit-Queue: Frédéric Wang <[email protected]> Cr-Commit-Position: refs/heads/master@{#899960}
- Loading branch information