Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Finish migration to MathML WPT tests
https://bugs.webkit.org/show_bug.cgi?id=183628 Patch by Frederic Wang <fwang@igalia.com> on 2018-03-14 Reviewed by Manuel Rego Casasnovas. In r225162, the MathML tests from the WPT repository were imported. They were intended to replace the ones in imported/mathml-in-html5 but the migration was not fully possible. The main issue was that many MathML tests use Web fonts to test the use of OpenType parameters but document.fonts.ready is unreliable in WebKit (bug 174030). A workaround was implemented in WPT ( web-platform-tests/wpt#10025 ) so this commit finishes the migration. We update the WPT MathML tests and now run them all, we remove imported/mathml-in-html5 and the associated TestExpectations failures. Two cases unrelated to font loading are still failing: One for the SuperscriptShiftUpCramped parameter (bug 156401) and one for the RadicalDegreeBottomRaisePercent parameter (bug 183631). LayoutTests/imported/w3c: Reviewed by Manuel Rego Casasnovas. * web-platform-tests/mathml/presentation-markup/fractions/frac-parameters-1-expected.txt: Renamed from LayoutTests/imported/mathml-in-html5/mathml/presentation-markup/fractions/frac-parameters-1-expected.txt. * web-platform-tests/mathml/presentation-markup/fractions/frac-parameters-1.html: Import font loading workaround. * web-platform-tests/mathml/presentation-markup/fractions/frac-parameters-2-expected.txt: Renamed from LayoutTests/imported/mathml-in-html5/mathml/presentation-markup/fractions/frac-parameters-2-expected.txt. * web-platform-tests/mathml/presentation-markup/fractions/frac-parameters-2.html: Import font loading workaround. * web-platform-tests/mathml/presentation-markup/operators/mo-axis-height-1.html: Import font loading workaround. * web-platform-tests/mathml/presentation-markup/radicals/root-parameters-1-expected.txt: Renamed from LayoutTests/imported/mathml-in-html5/mathml/presentation-markup/radicals/root-parameters-1-expected.txt. Also add the failure with RadicalDegreeBottomRaisePercent. * web-platform-tests/mathml/presentation-markup/radicals/root-parameters-1.html: Import font loading workaround. * web-platform-tests/mathml/presentation-markup/scripts/subsup-parameters-1-expected.txt: Renamed from LayoutTests/imported/mathml-in-html5/mathml/presentation-markup/scripts/subsup-parameters-1-expected.txt. Also add the failure for SuperscriptShiftUpCramped. * web-platform-tests/mathml/presentation-markup/scripts/subsup-parameters-1.html: Import font loading workaround. * web-platform-tests/mathml/presentation-markup/scripts/underover-parameters-1-expected.txt: Renamed from LayoutTests/imported/mathml-in-html5/mathml/presentation-markup/scripts/underover-parameters-1-expected.txt. * web-platform-tests/mathml/presentation-markup/scripts/underover-parameters-1.html: Import font loading workaround. * web-platform-tests/mathml/presentation-markup/scripts/underover-parameters-2-expected.txt: Renamed from LayoutTests/imported/mathml-in-html5/mathml/presentation-markup/scripts/underover-parameters-2-expected.txt. * web-platform-tests/mathml/presentation-markup/scripts/underover-parameters-2.html: Import font loading workaround. * web-platform-tests/mathml/presentation-markup/scripts/underover-parameters-3-expected.txt: Renamed from LayoutTests/imported/mathml-in-html5/mathml/presentation-markup/scripts/underover-parameters-3-expected.txt. * web-platform-tests/mathml/presentation-markup/scripts/underover-parameters-3.html: Import font loading workaround. * web-platform-tests/mathml/presentation-markup/scripts/underover-parameters-4-expected.txt: Renamed from LayoutTests/imported/mathml-in-html5/mathml/presentation-markup/scripts/underover-parameters-4-expected.txt. * web-platform-tests/mathml/presentation-markup/scripts/underover-parameters-4.html: Import font loading workaround. * web-platform-tests/mathml/presentation-markup/tables/table-axis-height.html: Import font loading workaround. * web-platform-tests/mathml/relations/css-styling/displaystyle-1.html: Import font loading workaround. * web-platform-tests/mathml/relations/css-styling/lengths-3.html: Import font loading workaround. * web-platform-tests/mathml/tools/utils/misc.py: Import update to Python 3. (downloadWithProgressBar): LayoutTests: * TestExpectations: Unskip MathML WPT tests. * imported/mathml-in-html5/LICENSE: Removed. * imported/mathml-in-html5/README.md: Removed. * imported/mathml-in-html5/mathml/presentation-markup/fractions/frac-parameters-1.html: Removed. * imported/mathml-in-html5/mathml/presentation-markup/fractions/frac-parameters-2.html: Removed. * imported/mathml-in-html5/mathml/presentation-markup/radicals/root-parameters-1.html: Removed. * imported/mathml-in-html5/mathml/presentation-markup/scripts/subsup-parameters-1.html: Removed. * imported/mathml-in-html5/mathml/presentation-markup/scripts/underover-parameters-1.html: Removed. * imported/mathml-in-html5/mathml/presentation-markup/scripts/underover-parameters-2.html: Removed. * imported/mathml-in-html5/mathml/presentation-markup/scripts/underover-parameters-3.html: Removed. * imported/mathml-in-html5/mathml/presentation-markup/scripts/underover-parameters-4.html: Removed. * platform/mac-wk2/TestExpectations: Remove the expectation. * platform/win/TestExpectations: Remove the expectation. Canonical link: https://commits.webkit.org/199283@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@229601 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
107 additions
and 1,986 deletions.
- +31 −0 LayoutTests/ChangeLog
- +0 −11 LayoutTests/TestExpectations
- +0 −3 LayoutTests/imported/mathml-in-html5/LICENSE
- +0 −47 LayoutTests/imported/mathml-in-html5/README.md
- +0 −243 LayoutTests/imported/mathml-in-html5/mathml/presentation-markup/fractions/frac-parameters-1.html
- +0 −175 LayoutTests/imported/mathml-in-html5/mathml/presentation-markup/fractions/frac-parameters-2.html
- +0 −212 LayoutTests/imported/mathml-in-html5/mathml/presentation-markup/radicals/root-parameters-1.html
- +0 −338 LayoutTests/imported/mathml-in-html5/mathml/presentation-markup/scripts/subsup-parameters-1.html
- +0 −145 LayoutTests/imported/mathml-in-html5/mathml/presentation-markup/scripts/underover-parameters-1.html
- +0 −145 LayoutTests/imported/mathml-in-html5/mathml/presentation-markup/scripts/underover-parameters-2.html
- +0 −324 LayoutTests/imported/mathml-in-html5/mathml/presentation-markup/scripts/underover-parameters-3.html
- +0 −324 LayoutTests/imported/mathml-in-html5/mathml/presentation-markup/scripts/underover-parameters-4.html
- +44 −0 LayoutTests/imported/w3c/ChangeLog
- 0 ...ml5 → w3c/web-platform-tests}/mathml/presentation-markup/fractions/frac-parameters-1-expected.txt
- +2 −1 ...Tests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-parameters-1.html
- 0 ...ml5 → w3c/web-platform-tests}/mathml/presentation-markup/fractions/frac-parameters-2-expected.txt
- +2 −1 ...Tests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-parameters-2.html
- +2 −1 ...tTests/imported/w3c/web-platform-tests/mathml/presentation-markup/operators/mo-axis-height-1.html
- +1 −1 ...tml5 → w3c/web-platform-tests}/mathml/presentation-markup/radicals/root-parameters-1-expected.txt
- +2 −1 ...tTests/imported/w3c/web-platform-tests/mathml/presentation-markup/radicals/root-parameters-1.html
- +1 −0 ...ml5 → w3c/web-platform-tests}/mathml/presentation-markup/scripts/subsup-parameters-1-expected.txt
- +2 −1 ...Tests/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/subsup-parameters-1.html
- 0 ... → w3c/web-platform-tests}/mathml/presentation-markup/scripts/underover-parameters-1-expected.txt
- +2 −1 ...ts/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/underover-parameters-1.html
- 0 ... → w3c/web-platform-tests}/mathml/presentation-markup/scripts/underover-parameters-2-expected.txt
- +2 −1 ...ts/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/underover-parameters-2.html
- 0 ... → w3c/web-platform-tests}/mathml/presentation-markup/scripts/underover-parameters-3-expected.txt
- +2 −1 ...ts/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/underover-parameters-3.html
- 0 ... → w3c/web-platform-tests}/mathml/presentation-markup/scripts/underover-parameters-4-expected.txt
- +2 −1 ...ts/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/underover-parameters-4.html
- +2 −1 LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/tables/table-axis-height.html
- +2 −1 LayoutTests/imported/w3c/web-platform-tests/mathml/relations/css-styling/displaystyle-1.html
- +2 −1 LayoutTests/imported/w3c/web-platform-tests/mathml/relations/css-styling/lengths-3.html
- +6 −3 LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/misc.py
- +0 −2 LayoutTests/platform/mac-wk2/TestExpectations
- +0 −1 LayoutTests/platform/win/TestExpectations
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
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.