Closed Bug 1719865 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 29623 - [mathml] Adjust padding for invalid fractions reftests

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

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

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

[mathml] Adjust padding for invalid fractions reftests

The invalid fraction reftests compare an \<mfrac> with an invalid number
of children against an \<mrow> with the same children, in order to test
this statement from [1]:

"If the \<mfrac> element has less or more than two in-flow children, its
layout algorithm is the same as the \<mrow> element."

However, the same section indicates just above a default padding for
mfrac elements, so the reftests can't match. This CL fixes that by
making the reference set these padding values to 1px.

[1] https://w3c.github.io/mathml-core/#fractions-mfrac

Bug: 6606
Change-Id: I598e2cdd743c440774ac3b3ecb43cb8c84c59b3e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3015322
Reviewed-by: Manuel Rego \<rego@igalia.com>
Commit-Queue: Frédéric Wang \<fwang@igalia.com>
Cr-Commit-Position: refs/heads/master@{#899960}

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 3 tests

Status Summary

Firefox

FAIL: 3

Chrome

PASS: 3

Safari

PASS: 1
FAIL: 2

Links

GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/mathml/presentation-markup/fractions/frac-invalid.html: FAIL

New Tests That Don't Pass

/mathml/presentation-markup/fractions/frac-invalid-2.html: FAIL (Chrome: PASS, Safari: FAIL)
/mathml/presentation-markup/fractions/frac-invalid-3.html: FAIL (Chrome: PASS, Safari: FAIL)
/mathml/presentation-markup/fractions/frac-invalid.html: FAIL (Chrome: PASS, Safari: PASS)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/86279398edc7
[wpt PR 29623] - [mathml] Adjust padding for invalid fractions reftests, a=testonly
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6c9af813bc90
[wpt PR 29623] - [mathml] Adjust padding for invalid fractions reftests, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
You need to log in before you can comment on or make changes to this bug.