Closed Bug 1719860 Opened 10 months ago Closed 10 months ago

[wpt-sync] Sync PR 29620 - [mathml] Fix layout of <mprescripts>

Categories

(Core :: MathML, task, P4)

task

Tracking

()

RESOLVED FIXED
92 Branch
Tracking Status
firefox92 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

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

[mathml] Fix layout of <mprescripts>

Currently, NGMathScriptsLayoutAlgorithm::Layout perform the layout of
the \<mprescripts> but does not do anything with the result. This CL
fixes that by implementing what is described in the MathML Core spec [1]:

"Place the base and \<mprescripts> boxes at inline offsets inline-offset
and with their alphabetic baselines aligned with the alphabetic baseline."

[1] https://w3c.github.io/mathml-core/#base-with-prescripts-and-postscripts

Bug: 1222411, 6606
Change-Id: I24c27e30783a35fbc227753365861c240934bae0
Reviewed-on: https://chromium-review.googlesource.com/3015504
WPT-Export-Revision: 6bce3f15cbc19ebc19e4df239ea7c50e82b8126c

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

CI Results

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

Total 1 tests and 5 subtests

Status Summary

Firefox

OK : 1
FAIL: 5

Chrome

OK : 1
FAIL: 5

Safari

OK : 1
FAIL: 5

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/mathml/presentation-markup/scripts/subsup-6.html
mprescripts coordinates and sizes (2 postscripts): FAIL (Chrome: FAIL, Safari: FAIL)
mprescripts coordinates and sizes (2 prescripts): FAIL (Chrome: FAIL, Safari: FAIL)
mprescripts coordinates and sizes (2 prescripts, 4 postscripts): FAIL (Chrome: FAIL, Safari: FAIL)
mprescripts coordinates and sizes (4 prescripts, 2 postscripts): FAIL (Chrome: FAIL, Safari: FAIL)
mprescripts coordinates and sizes (prescripts with padding/border/margin): FAIL (Chrome: FAIL, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/14e040ae2974
[wpt PR 29620] - [mathml] Fix layout of <mprescripts>, a=testonly
https://hg.mozilla.org/integration/autoland/rev/d934a9812b19
[wpt PR 29620] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b7322210553f
[wpt PR 29620] - [mathml] Fix layout of <mprescripts>, a=testonly
https://hg.mozilla.org/integration/autoland/rev/3353a612f9d3
[wpt PR 29620] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
You need to log in before you can comment on or make changes to this bug.