haikuwebkit/LayoutTests/mathml/tabindex-order-expected.txt

62 lines
2.0 KiB
Plaintext
Raw Permalink Normal View History

LayoutTests/imported/w3c: Implement MathMLIDL / HTMLOrForeignElement https://bugs.webkit.org/show_bug.cgi?id=200470 Patch by Rob Buis <rbuis@igalia.com> on 2019-09-06 Reviewed by Ryosuke Niwa. Add tests for functionality exposed by HTMLOrForeignElement. Import WPT tests as of 6e83b23bb962c97687b6573c378963208219ad1b (origin/master). * resources/import-expectations.json: * web-platform-tests/mathml/relations/html5-tree/class-1.html: * web-platform-tests/mathml/relations/html5-tree/class-2.html: * web-platform-tests/mathml/relations/html5-tree/clipboard-event-handlers.tentative-expected.txt: Added. * web-platform-tests/mathml/relations/html5-tree/clipboard-event-handlers.tentative.html: Added. * web-platform-tests/mathml/relations/html5-tree/color-attributes-1.html: * web-platform-tests/mathml/relations/html5-tree/css-inline-style-dynamic.tentative-expected.html: Added. * web-platform-tests/mathml/relations/html5-tree/css-inline-style-dynamic.tentative.html: Added. * web-platform-tests/mathml/relations/html5-tree/css-inline-style-interface.tentative-expected.txt: Added. * web-platform-tests/mathml/relations/html5-tree/css-inline-style-interface.tentative.html: Added. * 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/dynamic-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/href-click-3.html: * web-platform-tests/mathml/relations/html5-tree/html-or-foreign-element-interfaces.tentative-expected.txt: Added. * web-platform-tests/mathml/relations/html5-tree/html-or-foreign-element-interfaces.tentative.html: Added. * web-platform-tests/mathml/relations/html5-tree/integration-point-1.html: * web-platform-tests/mathml/relations/html5-tree/integration-point-2.html: * web-platform-tests/mathml/relations/html5-tree/integration-point-3.html: * web-platform-tests/mathml/relations/html5-tree/integration-point-4-expected.txt: Added. * web-platform-tests/mathml/relations/html5-tree/integration-point-4.html: Added. * web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative-expected.txt: Added. * web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative.html: Added. * web-platform-tests/mathml/relations/html5-tree/required-extensions-1-expected.txt: Removed. * web-platform-tests/mathml/relations/html5-tree/required-extensions-1.html: Removed. * web-platform-tests/mathml/relations/html5-tree/required-extensions-2.html: * web-platform-tests/mathml/relations/html5-tree/unique-identifier-1.html: * web-platform-tests/mathml/relations/html5-tree/unique-identifier-2.html: * web-platform-tests/mathml/relations/html5-tree/unique-identifier-3.html: * web-platform-tests/mathml/relations/html5-tree/w3c-import.log: * web-platform-tests/mathml/support/attribute-values.js: Added. (AttributeValueTransforms.lowercase): (AttributeValueTransforms.uppercase): (AttributeValueTransforms.alternate_case): (TransformAttributeValues): * web-platform-tests/mathml/support/box-comparison.js: Added. (spaceBetween): (measureSpaceAround): (compareSpaceWithAndWithoutStyle): (compareSizeWithAndWithoutStyle): * web-platform-tests/mathml/support/layout-comparison.js: Added. (getWritingMode): (compareSize): (participateToParentLayout): (childrenParticipatingToLayout): (compareLayout): * web-platform-tests/mathml/support/mathml-fragments.js: Added. (FragmentHelper.createElement): (FragmentHelper.isValidChildOfMrow): (FragmentHelper.isEmpty): (FragmentHelper.element): (FragmentHelper.appendChild): (FragmentHelper.forceNonEmptyElement): * web-platform-tests/mathml/support/w3c-import.log: Added. Source/WebCore: Implement MathML DOM https://bugs.webkit.org/show_bug.cgi?id=200470 Patch by Rob Buis <rbuis@igalia.com> on 2019-09-06 Reviewed by Ryosuke Niwa. Expose MathML DOM as specified here [1]. [1] https://mathml-refresh.github.io/mathml-core/#dom-mathmlelement Tests: imported/w3c/web-platform-tests/mathml/relations/html5-tree/clipboard-event-handlers.tentative.html imported/w3c/web-platform-tests/mathml/relations/html5-tree/css-inline-style-dynamic.tentative.html imported/w3c/web-platform-tests/mathml/relations/html5-tree/css-inline-style-interface.tentative.html imported/w3c/web-platform-tests/mathml/relations/html5-tree/html-or-foreign-element-interfaces.tentative.html imported/w3c/web-platform-tests/mathml/relations/html5-tree/integration-point-4.html imported/w3c/web-platform-tests/mathml/relations/html5-tree/math-global-event-handlers.tentative.html mathml/focus-event-handling.html mathml/tabindex-order.html * CMakeLists.txt: * DerivedSources-input.xcfilelist: * DerivedSources-output.xcfilelist: * DerivedSources.make: * Sources.txt: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSElementCustom.cpp: (WebCore::createNewElementWrapper): * bindings/js/JSNodeCustom.cpp: (WebCore::createWrapperInline): * mathml/MathMLElement.cpp: (WebCore::MathMLElement::parseAttribute): * mathml/MathMLElement.idl: Copied from Source/WebCore/html/HTMLOrForeignElement.idl. * mathml/MathMLMathElement.idl: Copied from Source/WebCore/html/HTMLOrForeignElement.idl. * mathml/mathtags.in: LayoutTests: Implement MathML DOM https://bugs.webkit.org/show_bug.cgi?id=200470 Patch by Rob Buis <rbuis@igalia.com> on 2019-09-06 Reviewed by Ryosuke Niwa. Extend existing tests to also test focus for MathML. Add a standalone test for MathML based on svg/custom/tabindex-order.html. Add a test for mouse clicks and focus handling based on svg/custom/focus-event-handling.xhtml. * fast/dom/tabindex-defaults-expected.txt: * fast/dom/tabindex-defaults.html: * mathml/focus-event-handling-expected.txt: Added. * mathml/focus-event-handling.html: Added. * mathml/tabindex-order-expected.txt: Added. * mathml/tabindex-order.html: Added. * platform/ios-wk2/TestExpectations: Canonical link: https://commits.webkit.org/215172@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249572 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-09-06 12:27:54 +00:00
This page tests that the MathML tabbing order is respected properly.
To test, put focus in "a". Pressing Tab should focus "a" through "y" in order, and pressing Shift-Tab should reverse the order.
Tabbing forward....
id: a tabindex: 1 mfrac is focused.
id: b tabindex: 1 mrow is focused.
id: c tabindex: 1 mpadded is focused.
id: d tabindex: 1 msqrt is focused.
id: e tabindex: 1 mroot is focused.
id: g tabindex: 6 mspace is focused.
id: h tabindex: 6 mtext is focused.
id: i tabindex: 0 math is focused.
id: j tabindex: 0 mover is focused.
id: k tabindex: 0 munder is focused.
id: l tabindex: 0 munderover is focused.
id: m tabindex: 0 msub is focused.
id: n tabindex: 0 msup is focused.
id: o tabindex: 0 msubsup is focused.
id: p tabindex: 0 mmultiscripts is focused.
id: q tabindex: 0 menclose is focused.
id: s tabindex: 0 mstyle is focused.
id: t tabindex: 0 merror is focused.
id: u tabindex: 0 mtable is focused.
id: v tabindex: 0 ms is focused.
id: w tabindex: 0 mi is focused.
id: x tabindex: 0 mo is focused.
id: y tabindex: 0 mn is focused.
id: a tabindex: 1 mfrac is focused.
Tabbing backward....
id: y tabindex: 0 mn is focused.
id: x tabindex: 0 mo is focused.
id: w tabindex: 0 mi is focused.
id: v tabindex: 0 ms is focused.
id: u tabindex: 0 mtable is focused.
id: t tabindex: 0 merror is focused.
id: s tabindex: 0 mstyle is focused.
id: q tabindex: 0 menclose is focused.
id: p tabindex: 0 mmultiscripts is focused.
id: o tabindex: 0 msubsup is focused.
id: n tabindex: 0 msup is focused.
id: m tabindex: 0 msub is focused.
id: l tabindex: 0 munderover is focused.
id: k tabindex: 0 munder is focused.
id: j tabindex: 0 mover is focused.
id: i tabindex: 0 math is focused.
id: h tabindex: 6 mtext is focused.
id: g tabindex: 6 mspace is focused.
id: e tabindex: 1 mroot is focused.
id: d tabindex: 1 msqrt is focused.
id: c tabindex: 1 mpadded is focused.
id: b tabindex: 1 mrow is focused.
id: a tabindex: 1 mfrac is focused.
id: y tabindex: 0 mn is focused.
Test finished