[wpt-sync] Sync PR 25376 - [mathml] Use accent/accentunder and AccentBaseHeight for underover layout
Categories
(Core :: MathML, task, P4)
Tracking
()
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 25376 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/25376
Details from upstream follow.
b'Fr\xc3\xa9d\xc3\xa9ric Wang <fwang@igalia.com>' wrote:
[mathml] Use accent/accentunder and AccentBaseHeight for underover layout
Partial support for the accent/accentunder attributes on the munder,
mover and munderover elements have been added in the UA stylesheet [1].This CL modifies the munderover layout algorithm to take these boolean
attributes into account when determining gaps and shifts parameters as
specified in [2] and [3]. Additionally, for overscript we also take
rely on the OpenType MATH.MathConstants.AccentBaseHeight parameter as
specified in [3].This makes the remaining underover-parameters-3.html test pass. Note
that underover-parameters-4.html no longer corresponds to what is in
the MathML Core specification [4] and we will ignore it in our
implementation.Finally, this CL extends underover-parameters-3.html to also test
dynamic changes of accent/accentunder attributes, using various
syntaxes for true/false.[1] https://chromium-review.googlesource.com/c/chromium/src/+/2184131
[2] https://mathml-refresh.github.io/mathml-core/#base-with-underscript
[3] https://mathml-refresh.github.io/mathml-core/#base-with-overscript
[4] https://github.com/web-platform-tests/wpt/commit/aab53f17c0f688da550311ddc919c1702fb8681bBug: 6606, 1124285, 1124289
Change-Id: Ie589a2f2a00e6f49b15376bd83762d34c914fd65
Reviewed-on: https://chromium-review.googlesource.com/2391083
WPT-Export-Revision: 6ab049ac456c88793d4ec30e761a6c949b025efa
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 1•6 years ago
|
||
| Assignee | ||
Comment 2•6 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 8 subtests
Status Summary
Firefox
OK : 1
PASS: 2
FAIL: 6
Chrome
OK : 1
PASS: 2
FAIL: 6
Safari
OK : 1
PASS: 6
FAIL: 2
Links
Details
New Tests That Don't Pass
/mathml/presentation-markup/scripts/underover-parameters-3.html
AccentBaseHeight, UnderbarExtraDescender: FAIL (Chrome: FAIL, Safari: PASS)
AccentBaseHeight, UnderbarVerticalGap: FAIL (Chrome: FAIL, Safari: PASS)
AccentBaseHeight, OverbarExtraAscender: FAIL (Chrome: FAIL, Safari: PASS)
AccentBaseHeight, OverbarVerticalGap: FAIL (Chrome: FAIL, Safari: PASS)
Dynamic change of accentunder attribute: FAIL (Chrome: FAIL, Safari: FAIL)
Dynamic change of accent attribute: FAIL (Chrome: FAIL, Safari: FAIL)
Updated•1 year ago
|
Description
•