Export MathML fraction tests to WPT
authorfred.wang@free.fr <fred.wang@free.fr@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 26 Feb 2019 15:29:40 +0000 (15:29 +0000)
committerfred.wang@free.fr <fred.wang@free.fr@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 26 Feb 2019 15:29:40 +0000 (15:29 +0000)
commit52125f67466e8267e25a0840013c42487ccf2c1c
treecf0526be47b0c6cf8c5db6cc26698f4be1d0e059
parent2b0ca54840bcf68224066019619ea416c02ff9f2
Export MathML fraction tests to WPT
https://bugs.webkit.org/show_bug.cgi?id=194436

LayoutTests/imported/w3c:

This is just an import of the current MathML WPT tests. It includes fraction tests from
WebKit that were exported in [1]. Some test results have whitespace change, due to [2].

[1] https://github.com/web-platform-tests/wpt/pull/15301
[2] https://github.com/web-platform-tests/wpt/commit/e2dd57c3f273468b3c6a087978c531dcd00933de

Patch by Frederic Wang <fwang@igalia.com> on 2019-02-26
Reviewed by Manuel Rego Casasnovas.

* resources/resource-files.json:
* web-platform-tests/mathml/META.yml: Added.
* web-platform-tests/mathml/OWNERS: Removed.
* web-platform-tests/mathml/README.md:
* web-platform-tests/mathml/presentation-markup/fractions/frac-1-expected.txt:
* web-platform-tests/mathml/presentation-markup/fractions/frac-1.html:
* web-platform-tests/mathml/presentation-markup/fractions/frac-bar-001-expected.html: Added.
* web-platform-tests/mathml/presentation-markup/fractions/frac-bar-001.html: Added.
* web-platform-tests/mathml/presentation-markup/fractions/frac-color-001-expected.html: Added.
* web-platform-tests/mathml/presentation-markup/fractions/frac-color-001-notref.html: Added.
* web-platform-tests/mathml/presentation-markup/fractions/frac-color-001.html: Added.
* web-platform-tests/mathml/presentation-markup/fractions/frac-color-002-expected.html: Added.
* web-platform-tests/mathml/presentation-markup/fractions/frac-color-002.html: Added.
* web-platform-tests/mathml/presentation-markup/fractions/frac-linethickness-001-expected.html: Added.
* web-platform-tests/mathml/presentation-markup/fractions/frac-linethickness-001.html: Added.
* web-platform-tests/mathml/presentation-markup/fractions/frac-linethickness-002-expected.html: Added.
* web-platform-tests/mathml/presentation-markup/fractions/frac-linethickness-002.html: Added.
* web-platform-tests/mathml/presentation-markup/fractions/frac-linethickness-003-expected.html: Added.
* web-platform-tests/mathml/presentation-markup/fractions/frac-linethickness-003-notref.html: Added.
* web-platform-tests/mathml/presentation-markup/fractions/frac-linethickness-003.html: Added.
* web-platform-tests/mathml/presentation-markup/fractions/frac-mrow-001-expected.html: Added.
* web-platform-tests/mathml/presentation-markup/fractions/frac-mrow-001.html: Added.
* web-platform-tests/mathml/presentation-markup/fractions/frac-numalign-denomalign-001-expected.html: Added.
* web-platform-tests/mathml/presentation-markup/fractions/frac-numalign-denomalign-001.html: Added.
* web-platform-tests/mathml/presentation-markup/fractions/frac-parameters-1-expected.txt:
* web-platform-tests/mathml/presentation-markup/fractions/frac-parameters-1.html:
* web-platform-tests/mathml/presentation-markup/fractions/frac-parameters-2-expected.txt:
* web-platform-tests/mathml/presentation-markup/fractions/frac-parameters-2.html:
* web-platform-tests/mathml/presentation-markup/fractions/frac-visibility-001-expected.html: Added.
* web-platform-tests/mathml/presentation-markup/fractions/frac-visibility-001.html: Added.
* web-platform-tests/mathml/presentation-markup/fractions/w3c-import.log:
* web-platform-tests/mathml/presentation-markup/operators/mo-axis-height-1-expected.txt:
* web-platform-tests/mathml/presentation-markup/operators/mo-axis-height-1.html:
* web-platform-tests/mathml/presentation-markup/operators/w3c-import.log:
* web-platform-tests/mathml/presentation-markup/radicals/root-parameters-1-expected.txt:
* web-platform-tests/mathml/presentation-markup/radicals/root-parameters-1.html:
* web-platform-tests/mathml/presentation-markup/radicals/w3c-import.log:
* web-platform-tests/mathml/presentation-markup/scripts/subsup-1.html:
* web-platform-tests/mathml/presentation-markup/scripts/subsup-2.html:
* web-platform-tests/mathml/presentation-markup/scripts/subsup-3.html:
* web-platform-tests/mathml/presentation-markup/scripts/subsup-4.html:
* web-platform-tests/mathml/presentation-markup/scripts/subsup-5.html:
* web-platform-tests/mathml/presentation-markup/scripts/subsup-parameters-1-expected.txt:
* web-platform-tests/mathml/presentation-markup/scripts/subsup-parameters-1.html:
* web-platform-tests/mathml/presentation-markup/scripts/subsup-parameters-2.html:
* web-platform-tests/mathml/presentation-markup/scripts/underover-1.html:
* web-platform-tests/mathml/presentation-markup/scripts/underover-parameters-1-expected.txt:
* web-platform-tests/mathml/presentation-markup/scripts/underover-parameters-1.html:
* web-platform-tests/mathml/presentation-markup/scripts/underover-parameters-2-expected.txt:
* web-platform-tests/mathml/presentation-markup/scripts/underover-parameters-2.html:
* web-platform-tests/mathml/presentation-markup/scripts/underover-parameters-3-expected.txt:
* web-platform-tests/mathml/presentation-markup/scripts/underover-parameters-3.html:
* web-platform-tests/mathml/presentation-markup/scripts/underover-parameters-4-expected.txt:
* web-platform-tests/mathml/presentation-markup/scripts/underover-parameters-4.html:
* web-platform-tests/mathml/presentation-markup/scripts/w3c-import.log:
* web-platform-tests/mathml/presentation-markup/spaces/space-1-expected.txt:
* web-platform-tests/mathml/presentation-markup/spaces/space-1.html:
* web-platform-tests/mathml/presentation-markup/spaces/space-2.html:
* web-platform-tests/mathml/presentation-markup/spaces/w3c-import.log:
* web-platform-tests/mathml/presentation-markup/tables/table-axis-height-expected.txt:
* web-platform-tests/mathml/presentation-markup/tables/table-axis-height.html:
* web-platform-tests/mathml/presentation-markup/tables/w3c-import.log:
* web-platform-tests/mathml/relations/css-styling/display-1.html:
* web-platform-tests/mathml/relations/css-styling/displaystyle-1-expected.txt:
* web-platform-tests/mathml/relations/css-styling/displaystyle-1.html:
* web-platform-tests/mathml/relations/css-styling/lengths-3-expected.txt:
* web-platform-tests/mathml/relations/css-styling/lengths-3.html:
* web-platform-tests/mathml/relations/css-styling/w3c-import.log:
* web-platform-tests/mathml/relations/html5-tree/class-2.html:
* web-platform-tests/mathml/relations/html5-tree/display-1-expected.txt:
* web-platform-tests/mathml/relations/html5-tree/display-1.html:
* web-platform-tests/mathml/relations/html5-tree/href-click-1.html:
* web-platform-tests/mathml/relations/html5-tree/href-click-2.html:
* web-platform-tests/mathml/relations/html5-tree/unique-identifier-2.html:
* web-platform-tests/mathml/relations/html5-tree/w3c-import.log:
* web-platform-tests/mathml/relations/text-and-math/w3c-import.log:
* web-platform-tests/mathml/tools/utils/w3c-import.log:
* web-platform-tests/mathml/tools/w3c-import.log:
* web-platform-tests/mathml/w3c-import.log:

LayoutTests:

We removed some fraction tests that have equivalent WPT tests.
Some of them were actually exported from WebKit to WPT in [1]
We also move tests for crashes/asserts/hangs to the top mathml/ directory.

[1] https://github.com/web-platform-tests/wpt/pull/15301

Patch by Frederic Wang <fwang@igalia.com> on 2019-02-26
Reviewed by Manuel Rego Casasnovas.

* mathml/fractions-invalid-expected.html: Moved to parent directory.
* mathml/fractions-invalid.html: Ditto.
* mathml/mfrac-nested-expected.txt: Ditto.
* mathml/mfrac-nested.html:  Ditto.
* mathml/presentation/fractions-box-expected.html: Removed. This is better tested by WPT
tests frac-parameters-1.html, frac-parameters-2.html, frac-1.html.
* mathml/presentation/fractions-box.html: Removed. Ditto.
* mathml/presentation/fractions-color-expected-mismatch.html: Removed. This is exported as
frac-color-001.html.
* mathml/presentation/fractions-color.html: Removed. Ditto.
* mathml/presentation/fractions-linethickness-expected.html: Removed. Covered by WPT tests
frac-linethickness-*.html.
* mathml/presentation/fractions-linethickness.html: Removed. Ditto.
* mathml/presentation/mfrac-linethickness1-expected-mismatch.html: Removed. Ditto.
* mathml/presentation/mfrac-linethickness1.html: Removed. Ditto.
* mathml/presentation/mfrac-linethickness2-expected.html: Removed. Ditto.
* mathml/presentation/mfrac-linethickness2.html: Removed. Ditto.
* mathml/presentation/mfrac-linethickness3-expected-mismatch.html: Removed. Ditto.
* mathml/presentation/mfrac-linethickness3.html: Removed. Ditto.
* mathml/presentation/fractions-mrow-expected.html: Removed. Exported as frac-mrow-001.html.
* mathml/presentation/fractions-mrow.html: Removed. Ditto.
* mathml/presentation/fractions-numalign-denomalign-expected.html: Removed. Exported as
frac-numalign-denomalign-001.html.
* mathml/presentation/fractions-numalign-denomalign.html: Removed. Ditto.
* mathml/presentation/fractions-vertical-alignment-expected.html: Removed. This is better
tests by WPT tests frac-parameters-1.html, frac-parameters-2.html, frac-1.html.
* mathml/presentation/fractions-vertical-alignment.html: Removed. Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@242085 268f45cc-cd09-0410-ab3c-d52691b4dbfc
104 files changed:
LayoutTests/ChangeLog
LayoutTests/TestExpectations
LayoutTests/imported/w3c/ChangeLog
LayoutTests/imported/w3c/resources/resource-files.json
LayoutTests/imported/w3c/web-platform-tests/mathml/META.yml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/mathml/OWNERS [deleted file]
LayoutTests/imported/w3c/web-platform-tests/mathml/README.md
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-1-expected.txt
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-1.html
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-bar-001-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-bar-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-color-001-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-color-001-notref.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-color-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-color-002-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-color-002.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-linethickness-001-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-linethickness-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-linethickness-002-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-linethickness-002.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-linethickness-003-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-linethickness-003-notref.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-linethickness-003.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-mrow-001-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-mrow-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-numalign-denomalign-001-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-numalign-denomalign-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-parameters-1-expected.txt
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-parameters-1.html
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-parameters-2-expected.txt
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-parameters-2.html
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-visibility-001-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/frac-visibility-001.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/fractions/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/operators/mo-axis-height-1-expected.txt
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/operators/mo-axis-height-1.html
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/operators/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/radicals/root-parameters-1-expected.txt
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/radicals/root-parameters-1.html
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/radicals/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/subsup-1.html
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/subsup-2.html
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/subsup-3.html
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/subsup-4.html
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/subsup-5.html
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/subsup-parameters-1-expected.txt
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/subsup-parameters-1.html
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/subsup-parameters-2.html
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/underover-1.html
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/underover-parameters-1-expected.txt
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/underover-parameters-1.html
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/underover-parameters-2-expected.txt
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/underover-parameters-2.html
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/underover-parameters-3-expected.txt
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/underover-parameters-3.html
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/underover-parameters-4-expected.txt
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/underover-parameters-4.html
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/scripts/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/spaces/space-1-expected.txt
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/spaces/space-1.html
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/spaces/space-2.html
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/spaces/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/tables/table-axis-height-expected.txt
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/tables/table-axis-height.html
LayoutTests/imported/w3c/web-platform-tests/mathml/presentation-markup/tables/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/mathml/relations/css-styling/display-1.html
LayoutTests/imported/w3c/web-platform-tests/mathml/relations/css-styling/displaystyle-1-expected.txt
LayoutTests/imported/w3c/web-platform-tests/mathml/relations/css-styling/displaystyle-1.html
LayoutTests/imported/w3c/web-platform-tests/mathml/relations/css-styling/lengths-3-expected.txt
LayoutTests/imported/w3c/web-platform-tests/mathml/relations/css-styling/lengths-3.html
LayoutTests/imported/w3c/web-platform-tests/mathml/relations/css-styling/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/mathml/relations/html5-tree/class-2.html
LayoutTests/imported/w3c/web-platform-tests/mathml/relations/html5-tree/display-1-expected.txt
LayoutTests/imported/w3c/web-platform-tests/mathml/relations/html5-tree/display-1.html
LayoutTests/imported/w3c/web-platform-tests/mathml/relations/html5-tree/href-click-1.html
LayoutTests/imported/w3c/web-platform-tests/mathml/relations/html5-tree/href-click-2.html
LayoutTests/imported/w3c/web-platform-tests/mathml/relations/html5-tree/unique-identifier-2.html
LayoutTests/imported/w3c/web-platform-tests/mathml/relations/html5-tree/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/mathml/relations/text-and-math/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/mathml/tools/utils/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/mathml/tools/w3c-import.log
LayoutTests/imported/w3c/web-platform-tests/mathml/w3c-import.log
LayoutTests/mathml/fractions-invalid-expected.html [moved from LayoutTests/mathml/presentation/fractions-invalid-expected.html with 100% similarity]
LayoutTests/mathml/fractions-invalid.html [moved from LayoutTests/mathml/presentation/fractions-invalid.html with 100% similarity]
LayoutTests/mathml/mfrac-nested-expected.txt [moved from LayoutTests/mathml/presentation/mfrac-nested-expected.txt with 100% similarity]
LayoutTests/mathml/mfrac-nested.html [moved from LayoutTests/mathml/presentation/mfrac-nested.html with 100% similarity]
LayoutTests/mathml/presentation/fractions-box-expected.html [deleted file]
LayoutTests/mathml/presentation/fractions-box.html [deleted file]
LayoutTests/mathml/presentation/fractions-color-expected-mismatch.html [deleted file]
LayoutTests/mathml/presentation/fractions-color.html [deleted file]
LayoutTests/mathml/presentation/fractions-linethickness-expected.html [deleted file]
LayoutTests/mathml/presentation/fractions-linethickness.html [deleted file]
LayoutTests/mathml/presentation/fractions-mrow-expected.html [deleted file]
LayoutTests/mathml/presentation/fractions-mrow.html [deleted file]
LayoutTests/mathml/presentation/fractions-numalign-denomalign-expected.html [deleted file]
LayoutTests/mathml/presentation/fractions-numalign-denomalign.html [deleted file]
LayoutTests/mathml/presentation/fractions-vertical-alignment-expected.html [deleted file]
LayoutTests/mathml/presentation/fractions-vertical-alignment.html [deleted file]
LayoutTests/mathml/presentation/mfrac-linethickness1-expected-mismatch.html [deleted file]
LayoutTests/mathml/presentation/mfrac-linethickness1.html [deleted file]
LayoutTests/mathml/presentation/mfrac-linethickness2-expected.html [deleted file]
LayoutTests/mathml/presentation/mfrac-linethickness2.html [deleted file]
LayoutTests/mathml/presentation/mfrac-linethickness3-expected-mismatch.html [deleted file]
LayoutTests/mathml/presentation/mfrac-linethickness3.html [deleted file]