[Webkit-unassigned] [Bug 201356] New: Rewrite mathml/presentation/stretchy-depth-height-symmetric.html

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 30 14:25:09 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=201356

            Bug ID: 201356
           Summary: Rewrite
                    mathml/presentation/stretchy-depth-height-symmetric.ht
                    ml
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: MathML
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: fred.wang at free.fr

This test checks symmetric stretching. For that purpose, it uses fractions with empty numerator denominator in order to determine the math axis (as the vertical center of the mfrac). The test does not use any math web font.

This used to work well with the old implementation and without math font when the num/denum are shifted symmetrically with respect to the math axis. After bug 201242, the reference is the baseline so that no longer works.

An alternative would be to use the middle of a <mo>−</mo> instead but unfortunately it is not necessarily the same as the fallback for AxisHeight used when math fonts are absent, since WebKit just does xheight/2 rather than the measuring the glyph. An when a math font is present, AxisHeight is not necessarily xheight/2.

So I guess the test should be rewritten with a web font instead. It seems it is very similar to https://w3c-test.org/mathml/presentation-markup/operators/mo-axis-height-1.html, maybe we just need to export more cases to WPT.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190830/89fae46b/attachment.html>


More information about the webkit-unassigned mailing list