-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1847007 - Convert font-related MathML tests to WPT. r=emilio
* opentype-axis-height.html: This is verifying Gecko's special behavior to calculate fallback for AxisHeight fallback (see nsMathMLFrame::GetAxisHeight) but that's not part of MathML Core so keep it as an internal testharness test. * opentype-limits.html: This is verifying the Gecko's interpretation of AccentBaseHeight / accent property, which is different from MathML Core so keep it as an internal testharness test. Remove failure for Win XP, which we no longer support. * opentype-fraction-dynamic-linethickness: Remove since that's covered by mathml/presentation-markup/fractions/frac-parameters-2.html * dtls-*: Tests for the dtls OpenType feature, which are not part of MathML Core. * ssty-*, mathscript-*: Tests for the ssty OpenType feature, which are not part of MathML Core. * default-font.html: This is testing Gecko's x-math preferences, so keep it as internal test. * font-inflation-1.html: This is testing Gecko's font inflation feature, so keep it as internal test. * opentype-stretchy.html: There are similar testharness tests in the official WPT but this reftest additionally checks the painting of stretchy/largeop. It's also possible that the DisplayOperatorMinHeight test specifically checks Gecko's handling of integrals which is not part of MathML Core (see w3c/mathml-core#126). For now, just keep this as internal WPT test. Mark it as random on all Windows platform as there does not seem to be an equivalent for 2d2. Differential Revision: https://phabricator.services.mozilla.com/D185291
- Loading branch information
Showing
42 changed files
with
66 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
29 changes: 0 additions & 29 deletions
29
layout/reftests/mathml/opentype-fraction-dynamic-linethickness-ref.html
This file was deleted.
Oops, something went wrong.
38 changes: 0 additions & 38 deletions
38
layout/reftests/mathml/opentype-fraction-dynamic-linethickness.html
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
testing/web-platform/mozilla/meta/mathml/fonts/default-font.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[default-font.html] | ||
prefs: [font.minimum-size.x-math: 40] |
2 changes: 2 additions & 0 deletions
2
testing/web-platform/mozilla/meta/mathml/fonts/dtls-3.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[dtls-3.html] | ||
prefs: [mathml.legacy_mathvariant_attribute.disabled: false] |
5 changes: 5 additions & 0 deletions
5
testing/web-platform/mozilla/meta/mathml/fonts/font-inflation-1.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[font-inflation-1.html] | ||
prefs: [ui.useOverlayScrollbars: 1, dom.meta-viewport.enabled: true, font.size.inflation.emPerLine: 25] | ||
fuzzy: | ||
if not (os == "linux"): maxDifference=0-255;totalPixels=0-324 | ||
if (os == "linux"): maxDifference=0-255;totalPixels=0-66 # Bug 1607294 |
3 changes: 3 additions & 0 deletions
3
testing/web-platform/mozilla/meta/mathml/fonts/opentype-stretchy.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[opentype-strechy.html] | ||
expected: | ||
if os == "win": [PASS, FAIL] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
layout/reftests/mathml/dtls-1.html → ...rm/mozilla/tests/mathml/fonts/dtls-1.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.