Closed Bug 1673373 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 26134 - [mathml] Support scriptlevel attribute

Categories

(Core :: MathML, task, P4)

task

Tracking

()

RESOLVED FIXED
84 Branch
Tracking Status
firefox84 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Rob Buis <rbuis@igalia.com>' wrote:

[mathml] Support scriptlevel attribute

Implement scriptlevel attribute mapping to the math-depth CSS property
as described here [1].
Adapt attribute-mapping-002.html to expect strings rather than numbers.

[1] https://mathml-refresh.github.io/mathml-core/#dfn-scriptlevel

Bug: 6606
Change-Id: I9bd59bcca840762ee1278ec064e5b81d96dda91c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2474780
Commit-Queue: Rob Buis \<rbuis@igalia.com>
Reviewed-by: Rune Lillesveen \<futhark@chromium.org>
Reviewed-by: Frédéric Wang \<fwang@igalia.com>
Cr-Commit-Position: refs/heads/master@{#820720}

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

CI Results

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

Total 1 tests and 128 subtests

Status Summary

Firefox

OK : 1
PASS: 32
FAIL: 96

Chrome

OK : 1
PASS: 62
FAIL: 66

Safari

OK : 1
PASS: 32
FAIL: 96

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/mathml/relations/css-styling/attribute-mapping-002.html
mathvariant on the math element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the math element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the math element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)
mathvariant on the annotation element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the annotation element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the annotation element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)
mathvariant on the annotation-xml element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the annotation-xml element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the annotation-xml element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)
mathvariant on the maction element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the maction element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the maction element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)
mathvariant on the menclose element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the menclose element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the menclose element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)
mathvariant on the merror element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the merror element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the merror element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)
mathvariant on the mfrac element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the mfrac element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the mfrac element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)
mathvariant on the mi element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the mi element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the mi element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)
mathvariant on the mmultiscripts element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the mmultiscripts element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the mmultiscripts element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)
mathvariant on the mn element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the mn element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the mn element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)
mathvariant on the mo element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the mo element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the mo element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)
mathvariant on the mover element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the mover element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the mover element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)
mathvariant on the mpadded element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the mpadded element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the mpadded element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)
mathvariant on the mphantom element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the mphantom element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the mphantom element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)
mathvariant on the mprescripts element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the mprescripts element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the mprescripts element are not mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
mathvariant on the mroot element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the mroot element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the mroot element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)
mathvariant on the mrow element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the mrow element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the mrow element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)
mathvariant on the ms element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the ms element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the ms element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)
mathvariant on the mspace element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the mspace element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the mspace element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)
mathvariant on the msqrt element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the msqrt element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the msqrt element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)
mathvariant on the mstyle element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the mstyle element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the mstyle element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)
mathvariant on the msub element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the msub element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the msub element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)
mathvariant on the msubsup element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the msubsup element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the msubsup element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)
mathvariant on the msup element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the msup element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the msup element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)
mathvariant on the mtable element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the mtable element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the mtable element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)
mathvariant on the mtd element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the mtd element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the mtd element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)
mathvariant on the mtext element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the mtext element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the mtext element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)
mathvariant on the mtr element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the mtr element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the mtr element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)
mathvariant on the munder element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the munder element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the munder element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)
mathvariant on the munderover element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the munderover element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the munderover element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)
mathvariant on the none element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the none element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the none element are not mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
mathvariant on the semantics element is mapped to CSS text-transform: FAIL (Chrome: FAIL, Safari: FAIL)
scriptlevel on the semantics element is mapped to math-depth(...): FAIL (Chrome: FAIL, Safari: FAIL)
invalid scriptlevel values on the semantics element are not mapped to math-depth(...): FAIL (Chrome: PASS, Safari: FAIL)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6894adb9f04d
[wpt PR 26134] - [mathml] Support scriptlevel attribute, a=testonly
https://hg.mozilla.org/integration/autoland/rev/05df501822fa
[wpt PR 26134] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
You need to log in before you can comment on or make changes to this bug.