Skip to content
This repository was archived by the owner on Mar 19, 2021. It is now read-only.

Commit daac9dc

Browse files
fred-wangmoz-wptsync-bot
authored andcommitted
Implement MathML DOM
See https://groups.google.com/forum/#!topic/mozilla.dev.platform/ssTytf-pT7k Differential Revision: https://phabricator.services.mozilla.com/D45034 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1571487 gecko-commit: 30154d163acaa92552ed3c2d601fb0c658be44eb gecko-integration-branch: autoland gecko-reviewers: bzbarsky
1 parent 6c1b9ea commit daac9dc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mathml/relations/html5-tree/tabindex-001.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,20 @@
1414
const mrow = document.getElementById('mrow');
1515
assert_equals(mrow.tabIndex, -1, "no attribute");
1616
mrow.setAttribute("tabindex", "invalid");
17+
assert_equals(mrow.getAttribute("tabindex"), "invalid");
1718
assert_equals(mrow.tabIndex, -1, "invalid");
1819
mrow.setAttribute("tabindex", "9999999999");
20+
assert_equals(mrow.getAttribute("tabindex"), "9999999999");
1921
assert_equals(mrow.tabIndex, -1, "too large integer");
2022
}, "default and invalid values on mrow");
2123
test(() => {
2224
const mrowLink = document.getElementById('mrow-link');
2325
assert_equals(mrow.tabIndex, 0, "no attribute");
2426
mrow.setAttribute("tabindex", "invalid");
27+
assert_equals(mrow.getAttribute("tabindex"), "invalid");
2528
assert_equals(mrow.tabIndex, 0, "invalid");
2629
mrow.setAttribute("tabindex", "9999999999");
30+
assert_equals(mrow.getAttribute("tabindex"), "9999999999");
2731
assert_equals(mrow.tabIndex, 0, "too large integer");
2832
}, "default and invalid values on MathML link");
2933
});

0 commit comments

Comments
 (0)