[wpt-sync] Sync PR 25694 - Update math-level depth to match the new syntax
Categories
(Core :: Layout: Text and Fonts, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox83 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 25694 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/25694
Details from upstream follow.
b'Fr\xc3\xa9d\xc3\xa9ric Wang <fwang@igalia.com>' wrote:
Update math-level depth to match the new syntax
Discussed with the CSSWG at [1]. Syntax changes are
- Split scriptlevel(...) into math-depth: ... and font-size: math.
- Rename auto to auto-add
The old tests math-script-level-001 and math-script-level-003
are restored and adjusted to check the computed math-level in
various situations and that the math-level does not have any
effect when the specified font-size is not 'math'.
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 1•5 years ago
|
||
| Assignee | ||
Comment 2•5 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 12 tests and 96 subtests
Status Summary
Firefox
OK : 4
PASS: 6
FAIL: 113
Chrome
OK : 4
PASS: 6
FAIL: 113
Safari
OK : 4
PASS: 6
FAIL: 113
Links
Details
New Tests That Don't Pass
/css/css-fonts/math-script-level-and-math-style/math-script-level-auto-and-math-style-002.tentative.html: FAIL (Chrome: FAIL, Safari: FAIL)
/mathml/relations/css-styling/presentational-hints-001.html: FAIL (Chrome: FAIL, Safari: FAIL)
/css/css-fonts/math-script-level-and-math-style/math-script-level-001.tentative.html
Initial value of math-depth: FAIL (Chrome: FAIL, Safari: FAIL)
Inherited values of math-depth: FAIL (Chrome: FAIL, Safari: FAIL)
Specified math-depth: auto-add: FAIL (Chrome: FAIL, Safari: FAIL)
Specified math-depth: <integer>: FAIL (Chrome: FAIL, Safari: FAIL)
Specified math-depth: add(<integer>): FAIL (Chrome: FAIL, Safari: FAIL)
/css/css-fonts/math-script-level-and-math-style/math-script-level-002.tentative.html
auto: FAIL (Chrome: FAIL, Safari: FAIL)
auto ; starting from level 7: FAIL (Chrome: FAIL, Safari: FAIL)
add(<integer>): FAIL (Chrome: FAIL, Safari: FAIL)
add(<integer>) ; starting from level 3: FAIL (Chrome: FAIL, Safari: FAIL)
<integer>: FAIL (Chrome: FAIL, Safari: FAIL)
<integer> ; starting from level 50: FAIL (Chrome: FAIL, Safari: FAIL)
/css/css-fonts/math-script-level-and-math-style/math-script-level-004.tentative.html
scriptPercentScaleDown=80, scriptScriptPercentScaleDown=40: FAIL (Chrome: FAIL, Safari: FAIL)
scriptPercentScaleDown=0, scriptScriptPercentScaleDown=40: FAIL (Chrome: FAIL, Safari: FAIL)
scriptPercentScaleDown=80, scriptScriptPercentScaleDown=0: FAIL (Chrome: FAIL, Safari: FAIL)
No MATH table: FAIL (Chrome: FAIL, Safari: FAIL)
/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)
displaystyle on the math element is mapped to CSS math-style: FAIL (Chrome: FAIL, 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)
displaystyle on the annotation element is mapped to CSS math-style: FAIL (Chrome: FAIL, 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)
displaystyle on the annotation-xml element is mapped to CSS math-style: FAIL (Chrome: FAIL, 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)
displaystyle on the maction element is mapped to CSS math-style: FAIL (Chrome: FAIL, 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)
displaystyle on the menclose element is mapped to CSS math-style: FAIL (Chrome: FAIL, 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)
displaystyle on the merror element is mapped to CSS math-style: FAIL (Chrome: FAIL, 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)
displaystyle on the mfrac element is mapped to CSS math-style: FAIL (Chrome: FAIL, 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)
displaystyle on the mi element is mapped to CSS math-style: FAIL (Chrome: FAIL, 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)
displaystyle on the mmultiscripts element is mapped to CSS math-style: FAIL (Chrome: FAIL, 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)
displaystyle on the mn element is mapped to CSS math-style: FAIL (Chrome: FAIL, 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)
displaystyle on the mo element is mapped to CSS math-style: FAIL (Chrome: FAIL, 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)
displaystyle on the mover element is mapped to CSS math-style: FAIL (Chrome: FAIL, 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)
displaystyle on the mpadded element is mapped to CSS math-style: FAIL (Chrome: FAIL, 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)
displaystyle on the mphantom element is mapped to CSS math-style: FAIL (Chrome: FAIL, 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)
displaystyle on the mprescripts element is mapped to CSS math-style: 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)
displaystyle on the mroot element is mapped to CSS math-style: FAIL (Chrome: FAIL, 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)
displaystyle on the mrow element is mapped to CSS math-style: FAIL (Chrome: FAIL, 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)
displaystyle on the ms element is mapped to CSS math-style: FAIL (Chrome: FAIL, 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)
displaystyle on the mspace element is mapped to CSS math-style: FAIL (Chrome: FAIL, 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)
displaystyle on the msqrt element is mapped to CSS math-style: FAIL (Chrome: FAIL, 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)
displaystyle on the mstyle element is mapped to CSS math-style: FAIL (Chrome: FAIL, 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)
displaystyle on the msub element is mapped to CSS math-style: FAIL (Chrome: FAIL, 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)
displaystyle on the msubsup element is mapped to CSS math-style: FAIL (Chrome: FAIL, 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)
displaystyle on the msup element is mapped to CSS math-style: FAIL (Chrome: FAIL, 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)
displaystyle on the mtable element is mapped to CSS math-style: FAIL (Chrome: FAIL, 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)
displaystyle on the mtd element is mapped to CSS math-style: FAIL (Chrome: FAIL, 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)
displaystyle on the mtext element is mapped to CSS math-style: FAIL (Chrome: FAIL, 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)
displaystyle on the mtr element is mapped to CSS math-style: FAIL (Chrome: FAIL, 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)
displaystyle on the munder element is mapped to CSS math-style: FAIL (Chrome: FAIL, 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)
displaystyle on the munderover element is mapped to CSS math-style: FAIL (Chrome: FAIL, 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)
displaystyle on the none element is mapped to CSS math-style: 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)
displaystyle on the semantics element is mapped to CSS math-style: FAIL (Chrome: FAIL, Safari: FAIL)
Comment 4•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/d32ea8a9512b
https://hg.mozilla.org/mozilla-central/rev/848650d22f30
Description
•