Created attachment 325556 [details] WIP Patch Currently the tests are in LayoutTests/imported/mathml-in-html5 but a few of them have been tweaked to make them pass in WebKit (this is bad). My main concern is the document.fonts.ready API which is used for testing many OpenType MATH fonts features but that still seems broken in WebKit (hence we have a setTimeout to delay a bit the test). For other cases not due to the the Web fonts loading issue, I think it is fine to mark them failing for now. The attached WIP patch exhibits the tweaks that were made.
Created attachment 327575 [details] Patch
@Youenn: Can you please review this? Note that the patch includes the following changes from web-platform-tests: https://github.com/w3c/web-platform-tests/pull/8435 https://github.com/w3c/web-platform-tests/pull/8436 I left 8 remaining tests in the legacy directory. They don't pass on WebKit without some tweaks/workaround for bug 174030 and I don't want to mark them as failing because they check important OpenType MATH parameters for MathML.
(In reply to Frédéric Wang (:fredw) from comment #2) > @Youenn: Can you please review this? Note that the patch includes the > following changes from web-platform-tests: > > https://github.com/w3c/web-platform-tests/pull/8435 > https://github.com/w3c/web-platform-tests/pull/8436 Patches are r+ed upstream so this patch is ready to land. Maybe the importer should be stricter in the way it detects whether a file is a reference file (test_parser.py line 123).
Committed r225162: <https://trac.webkit.org/changeset/225162>
<rdar://problem/35694026>