<!DOCTYPE html><htmlclass="reftest-wait"><head><metacharset="utf-8"/><title>href click</title><linkrel="help"href="https://w3c.github.io/mathml-core/#attributes-common-to-html-and-mathml-elements"><linkrel="help"href="https://w3c.github.io/mathml-core/#dom-and-javascript"><linkrel="match"href="href-click-002.tentative-ref.html"/><metaname="assert"content="Verify that a click on an element bubbles to an ancestor link."><scripttype="text/javascript">functiontest(){varevent=newMouseEvent('click',{bubbles:true,cancelable:true});document.getElementById('space').dispatchEvent(event);document.documentElement.className="";}</script></head><bodyonload="test()"><p>This test passes if you see a green square.</p><divstyle="width: 150px; height: 150px; overflow: hidden"><math><mrowhref="#target"><mrow><mrow><mspaceid="space"width="150px"height="150px"style="background: red"/></mrow></mrow></mrow></math><divstyle="height: 500px;"></div><mathid="target"><mspacewidth="150px"height="150px"style="background: green"/></math></div></body></html>