summaryrefslogtreecommitdiffstats
path: root/toolkit/content/tests/mochitest/file_mousecapture2.html
blob: e746cf7807e6f59a3503c3a174781fbcc8263fc0 (plain)
1
2
3
4
5
6
7
8
<html><p>One</p>
<p id="myStyle">Two</p>
<p style='margin-top: 4000px'>This is some text</p>
</html>

<script type="application/javascript">
document.getElementById("myStyle").style.marginTop = new URL(location.href).searchParams.get("topPos");
</script>