Many of the tests from the MathML in HTML5 suite pass in WebKit, so we can import them. Removing old and unexplained CSS rules from the MathML user agent stylesheet will help here (bug 157989 and bug 139403).
Created attachment 283633 [details] Patch
Comment on attachment 283633 [details] Patch Attachment 283633 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/1680018 New failing tests: imported/mathml-in-html5/mathml/relations/text-and-math/use-typo-metrics-1.html imported/mathml-in-html5/mathml/relations/css-styling/color-1.html
Created attachment 283635 [details] Archive of layout-test-results from ews102 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews102 Port: mac-yosemite Platform: Mac OS X 10.10.5
Comment on attachment 283633 [details] Patch Attachment 283633 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/1680023 New failing tests: imported/mathml-in-html5/mathml/relations/text-and-math/use-typo-metrics-1.html imported/mathml-in-html5/mathml/relations/css-styling/color-1.html
Created attachment 283636 [details] Archive of layout-test-results from ews104 for mac-yosemite-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews104 Port: mac-yosemite-wk2 Platform: Mac OS X 10.10.5
Comment on attachment 283633 [details] Patch Attachment 283633 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/1680032 New failing tests: imported/mathml-in-html5/mathml/relations/text-and-math/use-typo-metrics-1.html imported/mathml-in-html5/mathml/relations/css-styling/color-1.html
Created attachment 283638 [details] Archive of layout-test-results from ews116 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews116 Port: mac-yosemite Platform: Mac OS X 10.10.5
Comment on attachment 283633 [details] Patch Attachment 283633 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/1680051 New failing tests: imported/mathml-in-html5/mathml/relations/text-and-math/use-typo-metrics-1.html
Created attachment 283639 [details] Archive of layout-test-results from ews122 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews122 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.5
The failure of the typo test on mac / ios is expected as the USE_TYPO_METRICS is ignored for non-math fonts on these platforms (bug 150394 comment 12). The other failure just seems a 1-pixel diff due to antialiasing. I'll try uploading a new patch tomorrow.
Created attachment 283744 [details] Patch
Comment on attachment 283744 [details] Patch Attachment 283744 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/1684395 New failing tests: imported/mathml-in-html5/mathml/relations/text-and-math/use-typo-metrics-1.html imported/mathml-in-html5/mathml/relations/css-styling/color-1.html
Created attachment 283745 [details] Archive of layout-test-results from ews105 for mac-yosemite-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews105 Port: mac-yosemite-wk2 Platform: Mac OS X 10.10.5
Comment on attachment 283744 [details] Patch Attachment 283744 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/1684405 New failing tests: imported/mathml-in-html5/mathml/relations/text-and-math/use-typo-metrics-1.html imported/mathml-in-html5/mathml/relations/css-styling/color-1.html
Created attachment 283746 [details] Archive of layout-test-results from ews101 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews101 Port: mac-yosemite Platform: Mac OS X 10.10.5
Created attachment 283747 [details] Patch Oops, I uploaded the wrong patch. Here is the correct one.
Comment on attachment 283747 [details] Patch Yay! More tests! :-) r=me.
Comment on attachment 283747 [details] Patch Clearing flags on attachment: 283747 Committed r203278: <http://trac.webkit.org/changeset/203278>
All reviewed patches have been landed. Closing bug.