Closed Bug 1723668 Opened 4 months ago Closed 3 months ago

[wpt-sync] Sync PR 29876 - [mathml] Refine definition of space-like elements

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 29876 into mozilla-central (this bug is closed when the sync is complete).

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

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

[mathml] Refine definition of space-like elements

In [1], a basic definition for space-like elements [2] was used in the
implementation of embellished operators [3]. This CL refines the
definition of "space-like" to match the one of MathML Core, thus
implementing the full definition of "embellished operators".

The typical use case for this is when authors use space-like elements
to tweak the spacing of their formulas. Adding such elements should
not affect the rendering of operators.

Since the \<menclose> element is not part of MathML Core Level 1, it
should really be treated as an unknown element. This CL thus fixes WPT
tests space-like-001.html/space-like-003.html accordingly.

[1] https://chromium-review.googlesource.com/c/chromium/src/+/3059456
[2] https://w3c.github.io/mathml-core/#definition-of-space-like-elements
[3] https://w3c.github.io/mathml-core/#embellished-operators

Bug: 6606, 1124298
Change-Id: I3a29528a735d4706ca868dc7adc48adf1e539eaf

Reviewed-on: https://chromium-review.googlesource.com/3059588
WPT-Export-Revision: 5363215f5cabd0de90f06f0e1a8708cc350c2b30

Component: web-platform-tests → MathML
Product: Testing → Core
PR 29876 applied with additional changes from upstream: b26a84e991c88ed62030f9bc247cb10c65c77440

CI Results

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

Total 4 tests

Status Summary

Firefox

OK : 3
PASS: 32
FAIL: 6

Chrome

OK : 3
PASS: 26
FAIL: 12

Safari

OK : 3
PASS: 26
FAIL: 12

Links

GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/mathml/presentation-markup/spaces/space-like-003.html
mi is not space-like: FAIL

New Tests That Don't Pass

/mathml/presentation-markup/operators/embellished-operator-dynamic-002.html
container1: Initially an embellished operator: FAIL (Chrome: FAIL, Safari: FAIL)
container2: Became an embellished operator: FAIL (Chrome: FAIL, Safari: FAIL)
container3: Initially an embellished operator (testing space-like): FAIL (Chrome: FAIL, Safari: FAIL)
container4: Became an embellished operator (testing space-like): FAIL (Chrome: FAIL, Safari: FAIL)
/mathml/presentation-markup/spaces/space-like-001.html
space-like menclose: FAIL (Chrome: FAIL, Safari: FAIL)
/mathml/presentation-markup/spaces/space-like-003.html
mi is not space-like: FAIL (Chrome: PASS, Safari: PASS)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5b378a987626
[wpt PR 29876] - [mathml] Refine definition of space-like elements, a=testonly
https://hg.mozilla.org/integration/autoland/rev/31c24585de75
[wpt PR 29876] - Update wpt metadata, 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.