diff --git a/mathml/relations/html5-tree/tabindex-001.html b/mathml/relations/html5-tree/tabindex-001.html index 8f853688141658..9c7c9c2e2ce356 100644 --- a/mathml/relations/html5-tree/tabindex-001.html +++ b/mathml/relations/html5-tree/tabindex-001.html @@ -12,13 +12,13 @@ window.addEventListener("load", function() { test(() => { const mrow = document.getElementById('mrow'); - assert_equals(mrow.tabIndex, -1, "no attribute"); + assert_equals(mrow.tabIndex, 0, "no attribute"); mrow.setAttribute("tabindex", "invalid"); assert_equals(mrow.getAttribute("tabindex"), "invalid"); - assert_equals(mrow.tabIndex, -1, "invalid"); + assert_equals(mrow.tabIndex, 0, "invalid"); mrow.setAttribute("tabindex", "9999999999"); assert_equals(mrow.getAttribute("tabindex"), "9999999999"); - assert_equals(mrow.tabIndex, -1, "too large integer"); + assert_equals(mrow.tabIndex, 0, "too large integer"); }, "default and invalid values on mrow"); test(() => { const mrowLink = document.getElementById('mrow-link');