Closed Bug 1906809 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 47052 - Add a MathML test for italic mi with border, padding and margin

Categories

(Core :: MathML, task, P4)

task

Tracking

()

RESOLVED FIXED
130 Branch
Tracking Status
firefox130 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Frédéric Wang <fwang@igalia.com> wrote:

Add a MathML test for italic mi with border, padding and margin

padding-border-margin-002.html and padding-border-margin-003.html verify handling of border, padding and margin on a stretchy or largeop <mo> elements, since browsers implement special layout/painting for them. This patch verifies handling of border, padding and margin on a single-char <mi> (i.e. that picks italic mathvariant [1]) comparing it to the an <mtext> element with the transformed character. That covers WebKit's special layout/painting for this case [2].

[1] https://w3c.github.io/mathml-core/#the-mi-element
[2] https://bugs.webkit.org/show_bug.cgi?id=276317

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

CI Results

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

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

PASS: 1

Safari

FAIL: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e26ad7c5e380 [wpt PR 47052] - Add a MathML test for italic mi with border, padding and margin, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
You need to log in before you can comment on or make changes to this bug.