diff --git a/testing/web-platform/tests/mathml/relations/html5-tree/clipboard-event-handlers.tentative.html b/testing/web-platform/tests/mathml/relations/html5-tree/clipboard-event-handlers.tentative.html index 687fadcf34c5e..f0a39bfb47bc0 100644 --- a/testing/web-platform/tests/mathml/relations/html5-tree/clipboard-event-handlers.tentative.html +++ b/testing/web-platform/tests/mathml/relations/html5-tree/clipboard-event-handlers.tentative.html @@ -354,37 +354,17 @@ " ) ; -async_test -( -test -= -> -{ test -. -step ( -function ( ) += +> { -assert_true -( -MathMLElement -. -prototype -. -hasOwnProperty -( -on -{ -name -} -) -) -; -} -) +let +target += +undefined ; mathEl [ @@ -394,38 +374,19 @@ } ] = -test -. -step_func_done ( e +) = > { -assert_equals -( +target += e . currentTarget -mathEl -" -The -event -must -be -fired -at -the -< -math -> -element -" -) ; } -) -; const event = @@ -450,6 +411,25 @@ event ) ; +assert_equals +( +target +mathEl +" +The +event +must +be +fired +at +the +< +math +> +element +" +) +; } { name diff --git a/testing/web-platform/tests/mathml/relations/html5-tree/math-global-event-handlers.tentative.html b/testing/web-platform/tests/mathml/relations/html5-tree/math-global-event-handlers.tentative.html index 356789484e2e0..40eca2de377d9 100644 --- a/testing/web-platform/tests/mathml/relations/html5-tree/math-global-event-handlers.tentative.html +++ b/testing/web-platform/tests/mathml/relations/html5-tree/math-global-event-handlers.tentative.html @@ -947,35 +947,13 @@ attribute ) ; -async_test -( -t -= -> -{ -t -. -step +test ( -function ( ) += +> { -assert_true -( -MathMLElement -. -prototype -. -hasOwnProperty -( -name -) -) -; -} -) -; const element = @@ -1005,24 +983,43 @@ " ) ; +let +target += +undefined +; element [ name ] = -t -. -step_func_done ( e +) = > { -assert_equals -( +target += e . currentTarget +; +} +element +. +dispatchEvent +( +new +Event +( +withoutOn +) +) +; +assert_equals +( +target element " The @@ -1040,20 +1037,6 @@ ) ; } -) -; -element -. -dispatchEvent -( -new -Event -( -withoutOn -) -) -; -} { name } diff --git a/testing/web-platform/tests/mathml/relations/html5-tree/tabindex-002.html b/testing/web-platform/tests/mathml/relations/html5-tree/tabindex-002.html index 14aa397124497..7cc2595cb4e03 100644 --- a/testing/web-platform/tests/mathml/relations/html5-tree/tabindex-002.html +++ b/testing/web-platform/tests/mathml/relations/html5-tree/tabindex-002.html @@ -195,6 +195,24 @@ div > < +a +href += +" +# +link +" +> +tabindex +( +html +href +) +< +/ +a +> +< math > < @@ -457,9 +475,6 @@ " text5 " -" -text6 -" ] results = @@ -509,6 +524,70 @@ querySelector ( " +a +" +) +. +addEventListener +( +" +focus +" +function +( +evt +) +{ +/ +/ +Links +are +tab +- +navigable +on +that +platform +. +expectation +. +push +( +" +text6 +" +) +; +/ +/ +TAB += +' +\ +ue004 +' +test_driver +. +send_keys +( +document +. +body +" +\ +ue004 +" +) +; +} +true +) +; +document +. +querySelector +( +" math " )