WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
201356
Rewrite mathml/presentation/stretchy-depth-height-symmetric.html
https://bugs.webkit.org/show_bug.cgi?id=201356
Summary
Rewrite mathml/presentation/stretchy-depth-height-symmetric.html
Frédéric Wang (:fredw)
Reported
2019-08-30 14:25:09 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug