Closed Bug 1726580 Opened 4 months ago Closed 3 months ago

[wpt-sync] Sync PR 30087 - [mathml] Implement font-family: math and use it for <math> tags.

Categories

(Core :: MathML, task, P4)

task

Tracking

()

RESOLVED FIXED
93 Branch
Tracking Status
firefox93 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 30087 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/30087
Details from upstream follow.

b'Fr\xc3\xa9d\xc3\xa9ric Wang <fwang@igalia.com>' wrote:

[mathml] Implement font-family: math and use it for <math> tags.

This CL implements the generic font family name "math" [1] and use
it as the default family for MathML \<math> tags in the UA stylesheet
[2]. This is done under a new CSSFontFamilyMath experimental feature
implied by the MathMLCore one. This CL only introduces core logic,
with the expectation that it will be refined later:

  • font-family: math is not used to pick a math font on Android since
    no font with an OpenType table are pre-installed [3].

  • font-family: math just use the harcoded "Latin Modern Math" font
    on other platforms. They should be configurable by the users.

Intent to ship is [4].

[1] https://www.w3.org/TR/css-fonts-4/#valdef-font-family-math
[2] https://w3c.github.io/mathml-core/#the-top-level-math-element
[3] https://github.com/googlefonts/noto-fonts/issues/330
[4] https://groups.google.com/a/chromium.org/g/blink-dev/c/CnQuMzqabqE/m/WlZfKOSpAAAJ

Bugs: 6606, 1228189
Change-Id: I546de83520c74df593260f35f670c076ba774872
Reviewed-on: https://chromium-review.googlesource.com/2119534
WPT-Export-Revision: b644d8796c956ef1131c05a69a8c554c94b08825

Component: web-platform-tests → MathML
Product: Testing → Core

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 17 subtests

Status Summary

Firefox

OK : 1
FAIL: 17

Chrome

OK : 1
PASS: 13
FAIL: 4

Safari

OK : 1
FAIL: 17

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/mathml/relations/css-styling/display-2.html
block display: FAIL (Chrome: PASS, Safari: FAIL)
block display with contrained width: FAIL (Chrome: PASS, Safari: FAIL)
list display inside display block: FAIL (Chrome: PASS, Safari: FAIL)
inline display: FAIL (Chrome: PASS, Safari: FAIL)
inline-block display: FAIL (Chrome: PASS, Safari: FAIL)
table display (math): FAIL (Chrome: PASS, Safari: FAIL)
table display (mrow): FAIL (Chrome: PASS, Safari: FAIL)
inline-table display (math): FAIL (Chrome: PASS, Safari: FAIL)
inline-table display (mrow): FAIL (Chrome: PASS, Safari: FAIL)
flexbox display (math): FAIL (Chrome: PASS, Safari: FAIL)
flexbox display (mrow): FAIL (Chrome: PASS, Safari: FAIL)
grid display (math): FAIL (Chrome: PASS, Safari: FAIL)
grid display (mrow): FAIL (Chrome: PASS, Safari: FAIL)
ruby display (math): FAIL (Chrome: FAIL, Safari: FAIL)
ruby display (mrow): FAIL (Chrome: FAIL, Safari: FAIL)
block display with column width (math): FAIL (Chrome: FAIL, Safari: FAIL)
block display with column width (mrow): FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5714160c9852
[wpt PR 30087] - [mathml] Implement font-family: math and use it for <math> tags., a=testonly
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 93 Branch
You need to log in before you can comment on or make changes to this bug.