Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Do not rely on Latin Modern Math to test fraction/radical bars
https://bugs.webkit.org/show_bug.cgi?id=183446 Patch by Frederic Wang <fwang@igalia.com> on 2018-03-12 Reviewed by Manuel Rego Casasnovas. mathml/opentype/fraction-line.html was added in bug 155639 to test OpenType MATH parameters for fraction but relies on the presence of the Latin Modern Math font, which is not available on several platforms. Since these features are now already covered by the Web Platform tests in Layout/imported/mathml-in-html5/mathml/presentation-markup/fractions/ we just remove the test. Similarly, mathml/presentation/fractions-linethickness.html relies on Latin Modern Math to ensure correct linethickness and we rewrite that test to use the web font fraction-rulethickness10000.woff instead. We perform similar rewriting for radical-bar-visibility.html, using a WOFF font with a specified radical line thickness. Finally, we update the test expectations accordingly on iOS, macOS and Windows platform. * mathml/opentype/fraction-line.html: Removed. Already tested by other tests. * mathml/opentype/fraction-line-expected.html: Ditto. * mathml/presentation/fractions-linethickness.html: Use fraction-rulethickness10000.woff * mathml/presentation/fractions-linethickness-expected.html: Ditto. * mathml/presentation/radical-bar-visibility.html: Use radical-degreebottomraisepercent25-rulethickness1000.woff * platform/ios/TestExpectations: Update expectations. * platform/mac/TestExpectations: Ditto. * platform/win/TestExpectations: Ditto. Canonical link: https://commits.webkit.org/199227@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@229533 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
58 additions
and 86 deletions.
- +26 −0 LayoutTests/ChangeLog
- +0 −23 LayoutTests/mathml/opentype/fraction-line-expected.html
- +0 −39 LayoutTests/mathml/opentype/fraction-line.html
- +13 −8 LayoutTests/mathml/presentation/fractions-linethickness-expected.html
- +10 −5 LayoutTests/mathml/presentation/fractions-linethickness.html
- +9 −5 LayoutTests/mathml/presentation/radical-bar-visibility.html
- +0 −2 LayoutTests/platform/ios/TestExpectations
- +0 −2 LayoutTests/platform/mac/TestExpectations
- +0 −2 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
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